Lines Matching refs:port_id

130 	u64 sas_address, struct sas_expander_device *edev, u8 port_id)  in mpi3mr_report_manufacture()  argument
181 mpi_request.io_unit_port = (u8) port_id; in mpi3mr_report_manufacture()
192 (unsigned long long)sas_address, port_id); in mpi3mr_report_manufacture()
1019 mpi3mr_alloc_hba_port(struct mpi3mr_ioc *mrioc, u16 port_id) in mpi3mr_alloc_hba_port() argument
1027 hba_port->port_id = port_id; in mpi3mr_alloc_hba_port()
1029 hba_port, hba_port->port_id); in mpi3mr_alloc_hba_port()
1046 u8 port_id) in mpi3mr_get_hba_port_by_id() argument
1052 if (port->port_id != port_id) in mpi3mr_get_hba_port_by_id()
1134 u16 sz, port_id, attached_handle; in mpi3mr_sas_host_refresh() local
1164 port_id = sas_io_unit_pg0->phy_data[i].io_unit_port; in mpi3mr_sas_host_refresh()
1165 if (!(mpi3mr_get_hba_port_by_id(mrioc, port_id))) in mpi3mr_sas_host_refresh()
1166 if (!mpi3mr_alloc_hba_port(mrioc, port_id)) in mpi3mr_sas_host_refresh()
1175 mpi3mr_get_hba_port_by_id(mrioc, port_id); in mpi3mr_sas_host_refresh()
1198 u16 sz, num_phys = 1, port_id, ioc_status; in mpi3mr_sas_host_add() local
1263 port_id = sas_io_unit_pg0->phy_data[i].io_unit_port; in mpi3mr_sas_host_add()
1265 if (!(mpi3mr_get_hba_port_by_id(mrioc, port_id))) in mpi3mr_sas_host_add()
1266 if (!mpi3mr_alloc_hba_port(mrioc, port_id)) in mpi3mr_sas_host_add()
1272 mpi3mr_get_hba_port_by_id(mrioc, port_id); in mpi3mr_sas_host_add()
1496 rphy_to_expander_device(rphy), hba_port->port_id); in mpi3mr_sas_port_add()
1565 srch_port, srch_port->port_id); in mpi3mr_sas_port_remove()
1658 mr_sas_port->hba_port->port_id, mr_sas_port->phy_mask, in mpi3mr_update_mr_sas_port()
1661 mr_sas_port->hba_port->port_id = h_port->iounit_port_id; in mpi3mr_update_mr_sas_port()
1784 mr_sas_port->hba_port->port_id, in mpi3mr_refresh_sas_ports()
1998 u8 port_id, link_rate; in mpi3mr_expander_add() local
2031 port_id = expander_pg0.io_unit_port; in mpi3mr_expander_add()
2032 hba_port = mpi3mr_get_hba_port_by_id(mrioc, port_id); in mpi3mr_expander_add()
2208 u8 port_id; in mpi3mr_expander_node_remove() local
2229 port_id = sas_expander->hba_port->port_id; in mpi3mr_expander_node_remove()
2235 sas_expander->sas_address, port_id); in mpi3mr_expander_node_remove()
2358 u8 port_id; in mpi3mr_report_tgtdev_to_sas_transport() local
2379 port_id = tgtdev->io_unit_port; in mpi3mr_report_tgtdev_to_sas_transport()
2381 hba_port = mpi3mr_get_hba_port_by_id(mrioc, port_id); in mpi3mr_report_tgtdev_to_sas_transport()
2446 u8 port_id = 0xFF; in mpi3mr_get_port_id_by_sas_phy() local
2450 port_id = hba_port->port_id; in mpi3mr_get_port_id_by_sas_phy()
2452 return port_id; in mpi3mr_get_port_id_by_sas_phy()
2471 u8 port_id = 0xFF; in mpi3mr_get_port_id_by_rphy() local
2474 return port_id; in mpi3mr_get_port_id_by_rphy()
2482 port_id = sas_expander->hba_port->port_id; in mpi3mr_get_port_id_by_rphy()
2493 port_id = in mpi3mr_get_port_id_by_rphy()
2494 tgtdev->dev_spec.sas_sata_inf.hba_port->port_id; in mpi3mr_get_port_id_by_rphy()
2499 return port_id; in mpi3mr_get_port_id_by_rphy()