Lines Matching refs:num_phys
409 if (handle <= ioc->sas_hba.num_phys) { in _scsih_get_sas_address()
3450 if (expander_handle < ioc->sas_hba.num_phys) { in _scsih_check_topo_delete_events()
4663 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys in _scsih_sas_host_refresh()
4678 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_refresh()
4717 mpt2sas_config_get_number_hba_phys(ioc, &ioc->sas_hba.num_phys); in _scsih_sas_host_add()
4718 if (!ioc->sas_hba.num_phys) { in _scsih_sas_host_add()
4725 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4748 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4782 ioc->sas_hba.phy = kcalloc(ioc->sas_hba.num_phys, in _scsih_sas_host_add()
4789 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_add()
4824 ioc->sas_hba.num_phys) ; in _scsih_sas_host_add()
4925 sas_expander->num_phys = expander_pg0.NumPhys; in _scsih_expander_add()
4932 sas_expander->sas_address, sas_expander->num_phys); in _scsih_expander_add()
4934 if (!sas_expander->num_phys) in _scsih_expander_add()
4936 sas_expander->phy = kcalloc(sas_expander->num_phys, in _scsih_expander_add()
4956 for (i = 0 ; i < sas_expander->num_phys ; i++) { in _scsih_expander_add()
5511 if (!ioc->sas_hba.num_phys) in _scsih_sas_topology_change_event()
5534 max_phys = sas_expander->num_phys; in _scsih_sas_topology_change_event()
5535 } else if (parent_handle < ioc->sas_hba.num_phys) { in _scsih_sas_topology_change_event()
5537 max_phys = ioc->sas_hba.num_phys; in _scsih_sas_topology_change_event()
5987 !ioc->sas_hba.num_phys) { in _scsih_sas_discovery_event()
6952 for (i = 0 ; i < sas_expander->num_phys ; i++) in _scsih_mark_responding_expander()
7079 for (i = 0 ; i < sas_expander->num_phys ; i++) { in _scsih_refresh_expander_links()
7387 !ioc->sas_hba.num_phys)) { in mpt2sas_scsih_reset_handler()
7861 if (ioc->sas_hba.num_phys) { in _scsih_remove()
7864 ioc->sas_hba.num_phys = 0; in _scsih_remove()