Lines Matching refs:h_port

1610 mpi3mr_update_mr_sas_port(struct mpi3mr_ioc *mrioc, struct host_port *h_port,  in mpi3mr_update_mr_sas_port()  argument
1618 h_port->used = 1; in mpi3mr_update_mr_sas_port()
1625 h_port->iounit_port_id, h_port->phy_mask); in mpi3mr_update_mr_sas_port()
1627 mr_sas_port->hba_port->port_id = h_port->iounit_port_id; in mpi3mr_update_mr_sas_port()
1631 phy_mask_xor = mr_sas_port->phy_mask ^ h_port->phy_mask; in mpi3mr_update_mr_sas_port()
1632 phys_to_be_added = h_port->phy_mask & phy_mask_xor; in mpi3mr_update_mr_sas_port()
1674 struct host_port h_port[32]; in mpi3mr_refresh_sas_ports() local
1702 if (h_port[j].handle == attached_handle) { in mpi3mr_refresh_sas_ports()
1703 h_port[j].phy_mask |= (1 << i); in mpi3mr_refresh_sas_ports()
1728 h_port[port_idx].sas_address = le64_to_cpu(sasinf->sas_address); in mpi3mr_refresh_sas_ports()
1729 h_port[port_idx].handle = attached_handle; in mpi3mr_refresh_sas_ports()
1730 h_port[port_idx].phy_mask = (1 << i); in mpi3mr_refresh_sas_ports()
1731 h_port[port_idx].iounit_port_id = sas_io_unit_pg0->phy_data[i].io_unit_port; in mpi3mr_refresh_sas_ports()
1732 h_port[port_idx].lowest_phy = sasinf->phy_num; in mpi3mr_refresh_sas_ports()
1733 h_port[port_idx].used = 0; in mpi3mr_refresh_sas_ports()
1755 h_port[i].iounit_port_id, h_port[i].sas_address, in mpi3mr_refresh_sas_ports()
1756 h_port[i].phy_mask, h_port[i].lowest_phy); in mpi3mr_refresh_sas_ports()
1774 if (h_port[i].sas_address != mr_sas_port->remote_identify.sas_address) in mpi3mr_refresh_sas_ports()
1776 if (h_port[i].lowest_phy == mr_sas_port->lowest_phy) { in mpi3mr_refresh_sas_ports()
1777 mpi3mr_update_mr_sas_port(mrioc, &h_port[i], mr_sas_port); in mpi3mr_refresh_sas_ports()
1785 if (h_port[i].used) in mpi3mr_refresh_sas_ports()
1792 if (h_port[i].sas_address != mr_sas_port->remote_identify.sas_address) in mpi3mr_refresh_sas_ports()
1794 if (h_port[i].phy_mask & mr_sas_port->phy_mask) { in mpi3mr_refresh_sas_ports()
1795 mpi3mr_update_mr_sas_port(mrioc, &h_port[i], mr_sas_port); in mpi3mr_refresh_sas_ports()
1803 if (h_port[i].used) in mpi3mr_refresh_sas_ports()
1810 if (h_port[i].sas_address != mr_sas_port->remote_identify.sas_address) in mpi3mr_refresh_sas_ports()
1812 mpi3mr_update_mr_sas_port(mrioc, &h_port[i], mr_sas_port); in mpi3mr_refresh_sas_ports()