Lines Matching refs:num_phys
607 mr_sas_port->num_phys--; in mpi3mr_delete_sas_phy()
634 mr_sas_port->num_phys++; in mpi3mr_add_sas_phy()
734 if ((mr_sas_port->num_phys == 1) && in mpi3mr_del_phy_from_an_existing_port()
764 for (i = 0; i < mr_sas_node->num_phys; i++) { in mpi3mr_sas_port_sanity_check()
1124 (mrioc->sas_hba.num_phys * in mpi3mr_sas_host_refresh()
1136 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_sas_host_refresh()
1180 u16 sz, num_phys = 1, port_id, ioc_status; in mpi3mr_sas_host_add() local
1188 (num_phys * sizeof(struct mpi3_sas_io_unit0_phy_data)); in mpi3mr_sas_host_add()
1198 num_phys = sas_io_unit_pg0->num_phys; in mpi3mr_sas_host_add()
1204 mrioc->sas_hba.phy = kcalloc(num_phys, in mpi3mr_sas_host_add()
1209 mrioc->sas_hba.num_phys = num_phys; in mpi3mr_sas_host_add()
1212 (num_phys * sizeof(struct mpi3_sas_io_unit0_phy_data)); in mpi3mr_sas_host_add()
1224 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_sas_host_add()
1279 mrioc->sas_hba.num_phys); in mpi3mr_sas_host_add()
1361 for (i = 0; i < mr_sas_node->num_phys; i++) { in mpi3mr_sas_port_add()
1368 mr_sas_port->num_phys++; in mpi3mr_sas_port_add()
1372 if (!mr_sas_port->num_phys) { in mpi3mr_sas_port_add()
1541 for (i = 0; i < mr_sas_node->num_phys; i++) { in mpi3mr_sas_port_remove()
1685 (mrioc->sas_hba.num_phys * in mpi3mr_refresh_sas_ports()
1697 for (i = 0; i < mrioc->sas_hba.num_phys; i++) { in mpi3mr_refresh_sas_ports()
1898 for (i = 0 ; i < sas_expander->num_phys ; i++) in mpi3mr_refresh_expanders()
2018 for (i = 0 ; i < sas_expander->num_phys ; i++) { in mpi3mr_expander_add()
2066 sas_expander->num_phys = expander_pg0.num_phys; in mpi3mr_expander_add()
2074 sas_expander->sas_address, sas_expander->num_phys); in mpi3mr_expander_add()
2076 if (!sas_expander->num_phys) { in mpi3mr_expander_add()
2080 sas_expander->phy = kcalloc(sas_expander->num_phys, in mpi3mr_expander_add()
2099 for (i = 0 ; i < sas_expander->num_phys ; i++) { in mpi3mr_expander_add()
2328 if (!mrioc->sas_hba.num_phys) in mpi3mr_report_tgtdev_to_sas_transport()
2958 (mrioc->sas_hba.num_phys * in mpi3mr_transport_phy_enable()
2973 for (i = 0, discovery_active = 0; i < mrioc->sas_hba.num_phys ; i++) { in mpi3mr_transport_phy_enable()
3000 (mrioc->sas_hba.num_phys * in mpi3mr_transport_phy_enable()
3078 (mrioc->sas_hba.num_phys * in mpi3mr_transport_phy_speed()