Lines Matching refs:port_table_entry
6213 struct hba_port *port_table_entry, *matched_port = NULL; in _scsih_look_and_get_matched_port_entry() local
6218 list_for_each_entry(port_table_entry, &ioc->port_table_list, list) { in _scsih_look_and_get_matched_port_entry()
6219 if (!(port_table_entry->flags & HBA_PORT_FLAG_DIRTY_PORT)) in _scsih_look_and_get_matched_port_entry()
6222 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6223 && (port_table_entry->phy_mask == port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6225 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6229 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6230 && (port_table_entry->phy_mask & port_entry->phy_mask) in _scsih_look_and_get_matched_port_entry()
6231 && (port_table_entry->port_id == port_entry->port_id)) { in _scsih_look_and_get_matched_port_entry()
6233 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6237 if ((port_table_entry->sas_address == port_entry->sas_address) in _scsih_look_and_get_matched_port_entry()
6238 && (port_table_entry->phy_mask & port_entry->phy_mask)) { in _scsih_look_and_get_matched_port_entry()
6243 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6247 if (port_table_entry->sas_address == port_entry->sas_address) { in _scsih_look_and_get_matched_port_entry()
6254 matched_port = port_table_entry; in _scsih_look_and_get_matched_port_entry()
6404 struct hba_port *port_table_entry; in _scsih_sas_port_refresh() local
6445 list_for_each_entry(port_table_entry, &ioc->port_table_list, list) in _scsih_sas_port_refresh()
6446 port_table_entry->flags |= HBA_PORT_FLAG_DIRTY_PORT; in _scsih_sas_port_refresh()
6449 port_table_entry = NULL; in _scsih_sas_port_refresh()
6450 list_for_each_entry(port_table_entry, &ioc->port_table_list, list) { in _scsih_sas_port_refresh()
6453 port_table_entry->port_id, in _scsih_sas_port_refresh()
6454 port_table_entry->phy_mask, in _scsih_sas_port_refresh()
6455 port_table_entry->sas_address)); in _scsih_sas_port_refresh()
6498 port_table_entry = NULL; in _scsih_sas_port_refresh()