Lines Matching refs:port_entry
6222 struct hba_port *port_entry, in _scsih_look_and_get_matched_port_entry() argument
6234 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6235 && (port_table_entry->phy_mask == port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6241 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6242 && (port_table_entry->phy_mask & port_entry->phy_mask) in _scsih_look_and_get_matched_port_entry()
6243 && (port_table_entry->port_id == port_entry->port_id)) { in _scsih_look_and_get_matched_port_entry()
6249 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6250 && (port_table_entry->phy_mask & port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6259 if (port_table_entry->sas_address == port_entry->sas_address) { in _scsih_look_and_get_matched_port_entry()
6417 struct hba_port *port_entry = NULL; in _scsih_sas_port_refresh() local
6472 &port_table[j], &port_entry, &count); in _scsih_sas_port_refresh()
6473 if (!port_entry) { in _scsih_sas_port_refresh()
6485 port_entry, port_table, j, port_count); in _scsih_sas_port_refresh()
6495 port_entry = NULL; in _scsih_sas_port_refresh()
6498 port_entry, port_table, j, port_count); in _scsih_sas_port_refresh()
6501 if (!port_entry) in _scsih_sas_port_refresh()
6504 if (port_entry->port_id != port_table[j].port_id) in _scsih_sas_port_refresh()
6505 port_entry->port_id = port_table[j].port_id; in _scsih_sas_port_refresh()
6506 port_entry->flags &= ~HBA_PORT_FLAG_DIRTY_PORT; in _scsih_sas_port_refresh()
6507 port_entry->phy_mask = port_table[j].phy_mask; in _scsih_sas_port_refresh()