Lines Matching refs:port_entry
6223 struct hba_port *port_entry, in _scsih_look_and_get_matched_port_entry() argument
6235 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6236 && (port_table_entry->phy_mask == port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6242 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6243 && (port_table_entry->phy_mask & port_entry->phy_mask) in _scsih_look_and_get_matched_port_entry()
6244 && (port_table_entry->port_id == port_entry->port_id)) { in _scsih_look_and_get_matched_port_entry()
6250 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6251 && (port_table_entry->phy_mask & port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6260 if (port_table_entry->sas_address == port_entry->sas_address) { in _scsih_look_and_get_matched_port_entry()
6418 struct hba_port *port_entry = NULL; in _scsih_sas_port_refresh() local
6473 &port_table[j], &port_entry, &count); in _scsih_sas_port_refresh()
6474 if (!port_entry) { in _scsih_sas_port_refresh()
6486 port_entry, port_table, j, port_count); in _scsih_sas_port_refresh()
6496 port_entry = NULL; in _scsih_sas_port_refresh()
6499 port_entry, port_table, j, port_count); in _scsih_sas_port_refresh()
6502 if (!port_entry) in _scsih_sas_port_refresh()
6505 if (port_entry->port_id != port_table[j].port_id) in _scsih_sas_port_refresh()
6506 port_entry->port_id = port_table[j].port_id; in _scsih_sas_port_refresh()
6507 port_entry->flags &= ~HBA_PORT_FLAG_DIRTY_PORT; in _scsih_sas_port_refresh()
6508 port_entry->phy_mask = port_table[j].phy_mask; in _scsih_sas_port_refresh()