Lines Matching refs:port_table

6126 	struct hba_port *port_table)  in _scsih_get_port_table_after_reset()  argument
6167 if (port_table[j].port_id == port_id && in _scsih_get_port_table_after_reset()
6168 port_table[j].sas_address == attached_sas_addr) { in _scsih_get_port_table_after_reset()
6169 port_table[j].phy_mask |= (1 << i); in _scsih_get_port_table_after_reset()
6179 port_table[port_count].port_id = port_id; in _scsih_get_port_table_after_reset()
6180 port_table[port_count].phy_mask = (1 << i); in _scsih_get_port_table_after_reset()
6181 port_table[port_count].sas_address = attached_sas_addr; in _scsih_get_port_table_after_reset()
6277 struct hba_port *port_table, in _scsih_del_phy_part_of_anther_port() argument
6287 if (port_table[i].phy_mask & (1 << offset)) { in _scsih_del_phy_part_of_anther_port()
6295 port_table[index].phy_mask |= (1 << offset); in _scsih_del_phy_part_of_anther_port()
6310 struct hba_port *hba_port_entry, struct hba_port *port_table, in _scsih_add_or_del_phys_from_existing_port() argument
6316 phy_mask = hba_port_entry->phy_mask ^ port_table[index].phy_mask; in _scsih_add_or_del_phys_from_existing_port()
6320 if (!(port_table[index].phy_mask & (1 << offset))) { in _scsih_add_or_del_phys_from_existing_port()
6322 ioc, port_table, index, port_count, in _scsih_add_or_del_phys_from_existing_port()
6403 struct hba_port *port_table; in _scsih_sas_port_refresh() local
6429 port_table = kcalloc(ioc->sas_hba.num_phys, in _scsih_sas_port_refresh()
6431 if (!port_table) in _scsih_sas_port_refresh()
6434 port_count = _scsih_get_port_table_after_reset(ioc, port_table); in _scsih_sas_port_refresh()
6442 port_table[j].port_id, in _scsih_sas_port_refresh()
6443 port_table[j].phy_mask, port_table[j].sas_address)); in _scsih_sas_port_refresh()
6460 &port_table[j], &port_entry, &count); in _scsih_sas_port_refresh()
6464 port_table[j].sas_address, in _scsih_sas_port_refresh()
6465 port_table[j].port_id)); in _scsih_sas_port_refresh()
6473 port_entry, port_table, j, port_count); in _scsih_sas_port_refresh()
6476 sas_addr = port_table[j].sas_address; in _scsih_sas_port_refresh()
6478 if (port_table[i].sas_address == sas_addr) in _scsih_sas_port_refresh()
6486 port_entry, port_table, j, port_count); in _scsih_sas_port_refresh()
6492 if (port_entry->port_id != port_table[j].port_id) in _scsih_sas_port_refresh()
6493 port_entry->port_id = port_table[j].port_id; in _scsih_sas_port_refresh()
6495 port_entry->phy_mask = port_table[j].phy_mask; in _scsih_sas_port_refresh()