Lines Matching refs:num_phys
410 if (handle <= ioc->sas_hba.num_phys) { in _scsih_get_sas_address()
3467 if (expander_handle < ioc->sas_hba.num_phys) { in _scsih_check_topo_delete_events()
4655 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys in _scsih_sas_host_refresh()
4670 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_refresh()
4709 mpt3sas_config_get_number_hba_phys(ioc, &ioc->sas_hba.num_phys); in _scsih_sas_host_add()
4710 if (!ioc->sas_hba.num_phys) { in _scsih_sas_host_add()
4717 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4740 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4774 ioc->sas_hba.phy = kcalloc(ioc->sas_hba.num_phys, in _scsih_sas_host_add()
4781 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_add()
4817 ioc->sas_hba.num_phys) ; in _scsih_sas_host_add()
4917 sas_expander->num_phys = expander_pg0.NumPhys; in _scsih_expander_add()
4924 sas_expander->sas_address, sas_expander->num_phys); in _scsih_expander_add()
4926 if (!sas_expander->num_phys) in _scsih_expander_add()
4928 sas_expander->phy = kcalloc(sas_expander->num_phys, in _scsih_expander_add()
4948 for (i = 0 ; i < sas_expander->num_phys ; i++) { in _scsih_expander_add()
5526 if (!ioc->sas_hba.num_phys) in _scsih_sas_topology_change_event()
5549 max_phys = sas_expander->num_phys; in _scsih_sas_topology_change_event()
5550 } else if (parent_handle < ioc->sas_hba.num_phys) { in _scsih_sas_topology_change_event()
5552 max_phys = ioc->sas_hba.num_phys; in _scsih_sas_topology_change_event()
5998 !ioc->sas_hba.num_phys) { in _scsih_sas_discovery_event()
7078 for (i = 0 ; i < sas_expander->num_phys ; i++) in _scsih_mark_responding_expander()
7223 for (i = 0 ; i < sas_expander->num_phys ; i++) { in _scsih_refresh_expander_links()
7527 !ioc->sas_hba.num_phys)) { in mpt3sas_scsih_reset_handler()
7978 if (ioc->sas_hba.num_phys) { in scsih_remove()
7981 ioc->sas_hba.num_phys = 0; in scsih_remove()