Lines Matching refs:num_phys

399 	if (handle <= ioc->sas_hba.num_phys) {  in _scsih_get_sas_address()
3145 if (expander_handle < ioc->sas_hba.num_phys) { in _scsih_check_topo_delete_events()
4265 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys in _scsih_sas_host_refresh()
4280 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_refresh()
4319 mpt3sas_config_get_number_hba_phys(ioc, &ioc->sas_hba.num_phys); in _scsih_sas_host_add()
4320 if (!ioc->sas_hba.num_phys) { in _scsih_sas_host_add()
4327 sz = offsetof(Mpi2SasIOUnitPage0_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4350 sz = offsetof(Mpi2SasIOUnitPage1_t, PhyData) + (ioc->sas_hba.num_phys * in _scsih_sas_host_add()
4384 ioc->sas_hba.phy = kcalloc(ioc->sas_hba.num_phys, in _scsih_sas_host_add()
4391 for (i = 0; i < ioc->sas_hba.num_phys ; i++) { in _scsih_sas_host_add()
4427 ioc->sas_hba.num_phys) ; in _scsih_sas_host_add()
4527 sas_expander->num_phys = expander_pg0.NumPhys; in _scsih_expander_add()
4534 sas_expander->sas_address, sas_expander->num_phys); in _scsih_expander_add()
4536 if (!sas_expander->num_phys) in _scsih_expander_add()
4538 sas_expander->phy = kcalloc(sas_expander->num_phys, in _scsih_expander_add()
4558 for (i = 0 ; i < sas_expander->num_phys ; i++) { in _scsih_expander_add()
5083 if (!ioc->sas_hba.num_phys) in _scsih_sas_topology_change_event()
5106 max_phys = sas_expander->num_phys; in _scsih_sas_topology_change_event()
5107 } else if (parent_handle < ioc->sas_hba.num_phys) { in _scsih_sas_topology_change_event()
5109 max_phys = ioc->sas_hba.num_phys; in _scsih_sas_topology_change_event()
5563 !ioc->sas_hba.num_phys) { in _scsih_sas_discovery_event()
6610 for (i = 0 ; i < sas_expander->num_phys ; i++) in _scsih_mark_responding_expander()
6740 for (i = 0 ; i < sas_expander->num_phys ; i++) { in _scsih_refresh_expander_links()
7044 !ioc->sas_hba.num_phys)) { in mpt3sas_scsih_reset_handler()
7466 if (ioc->sas_hba.num_phys) { in _scsih_remove()
7469 ioc->sas_hba.num_phys = 0; in _scsih_remove()