Lines Matching refs:num_phys
402 if (handle <= ioc->sas_hba.num_phys) { in _scsih_get_sas_address()
3475 if (expander_handle < ioc->sas_hba.num_phys) { in _scsih_check_topo_delete_events()
4666 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys in _scsih_sas_host_refresh()
4681 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_refresh()
4720 mpt2sas_config_get_number_hba_phys(ioc, &ioc->sas_hba.num_phys); in _scsih_sas_host_add()
4721 if (!ioc->sas_hba.num_phys) { in _scsih_sas_host_add()
4728 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4751 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4785 ioc->sas_hba.phy = kcalloc(ioc->sas_hba.num_phys, in _scsih_sas_host_add()
4792 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_add()
4827 ioc->sas_hba.num_phys) ; in _scsih_sas_host_add()
4928 sas_expander->num_phys = expander_pg0.NumPhys; in _scsih_expander_add()
4935 sas_expander->sas_address, sas_expander->num_phys); in _scsih_expander_add()
4937 if (!sas_expander->num_phys) in _scsih_expander_add()
4939 sas_expander->phy = kcalloc(sas_expander->num_phys, in _scsih_expander_add()
4959 for (i = 0 ; i < sas_expander->num_phys ; i++) { in _scsih_expander_add()
5506 if (!ioc->sas_hba.num_phys) in _scsih_sas_topology_change_event()
5529 max_phys = sas_expander->num_phys; in _scsih_sas_topology_change_event()
5530 } else if (parent_handle < ioc->sas_hba.num_phys) { in _scsih_sas_topology_change_event()
5532 max_phys = ioc->sas_hba.num_phys; in _scsih_sas_topology_change_event()
5975 !ioc->sas_hba.num_phys) { in _scsih_sas_discovery_event()
6932 for (i = 0 ; i < sas_expander->num_phys ; i++) in _scsih_mark_responding_expander()
7059 for (i = 0 ; i < sas_expander->num_phys ; i++) { in _scsih_refresh_expander_links()
7263 !ioc->sas_hba.num_phys)) { in mpt2sas_scsih_reset_handler()
7742 if (ioc->sas_hba.num_phys) { in _scsih_remove()
7745 ioc->sas_hba.num_phys = 0; in _scsih_remove()