Lines Matching refs:num_phys
59 for (i = 0; i < dev->ex_dev.num_phys; i++) { in sas_resume_port()
100 phy->port->num_phys); in sas_form_port()
107 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port()
111 phy_is_wideport_member(port, phy) && port->num_phys > 0) { in sas_form_port()
120 if (i == sas_ha->num_phys) { in sas_form_port()
121 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port()
125 && port->num_phys == 0) { in sas_form_port()
134 if (i >= sas_ha->num_phys) { in sas_form_port()
145 port->num_phys++; in sas_form_port()
174 port_dev->pathways = port->num_phys; in sas_form_port()
215 if (port->num_phys == 1) { in sas_deform_port()
234 port->num_phys--; in sas_deform_port()
237 if (port->num_phys == 0) { in sas_deform_port()
337 for (i = 0; i < sas_ha->num_phys; i++) { in sas_register_ports()
350 for (i = 0; i < sas_ha->num_phys; i++) in sas_unregister_ports()