Lines Matching refs:num_phys
75 for (i = 0; i < dev->ex_dev.num_phys; i++) { in sas_resume_port()
115 phy->port->num_phys); in sas_form_port()
122 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port()
126 phy_is_wideport_member(port, phy) && port->num_phys > 0) { in sas_form_port()
135 if (i == sas_ha->num_phys) { in sas_form_port()
136 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port()
140 && port->num_phys == 0) { in sas_form_port()
149 if (i >= sas_ha->num_phys) { in sas_form_port()
160 port->num_phys++; in sas_form_port()
189 port->port_dev->pathways = port->num_phys; in sas_form_port()
223 if (port->num_phys == 1) { in sas_deform_port()
242 port->num_phys--; in sas_deform_port()
245 if (port->num_phys == 0) { in sas_deform_port()
336 for (i = 0; i < sas_ha->num_phys; i++) { in sas_register_ports()
349 for (i = 0; i < sas_ha->num_phys; i++) in sas_unregister_ports()