Lines Matching defs:port_table
6132 * @port_table: address where port table needs to be constructed
6138 struct hba_port *port_table)
6179 if (port_table[j].port_id == port_id &&
6180 port_table[j].sas_address == attached_sas_addr) {
6181 port_table[j].phy_mask |= (1 << i);
6191 port_table[port_count].port_id = port_id;
6192 port_table[port_count].phy_mask = (1 << i);
6193 port_table[port_count].sas_address = attached_sas_addr;
6281 *@port_table: port table after reset
6289 struct hba_port *port_table,
6299 if (port_table[i].phy_mask & (1 << offset)) {
6307 port_table[index].phy_mask |= (1 << offset);
6315 *@port_table: temporary port table
6322 struct hba_port *hba_port_entry, struct hba_port *port_table,
6328 phy_mask = hba_port_entry->phy_mask ^ port_table[index].phy_mask;
6332 if (!(port_table[index].phy_mask & (1 << offset))) {
6334 ioc, port_table, index, port_count,
6415 struct hba_port *port_table;
6441 port_table = kcalloc(ioc->sas_hba.num_phys,
6443 if (!port_table)
6446 port_count = _scsih_get_port_table_after_reset(ioc, port_table);
6454 port_table[j].port_id,
6455 port_table[j].phy_mask, port_table[j].sas_address));
6472 &port_table[j], &port_entry, &count);
6476 port_table[j].sas_address,
6477 port_table[j].port_id));
6485 port_entry, port_table, j, port_count);
6488 sas_addr = port_table[j].sas_address;
6490 if (port_table[i].sas_address == sas_addr)
6498 port_entry, port_table, j, port_count);
6504 if (port_entry->port_id != port_table[j].port_id)
6505 port_entry->port_id = port_table[j].port_id;
6507 port_entry->phy_mask = port_table[j].phy_mask;