Lines Matching refs:num_phys
74 for (i = 0; i < dev->ex_dev.num_phys; i++) { in sas_resume_port()
114 phy->port->num_phys); in sas_form_port()
121 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port()
125 phy_is_wideport_member(port, phy) && port->num_phys > 0) { in sas_form_port()
134 if (i == sas_ha->num_phys) { in sas_form_port()
135 for (i = 0; i < sas_ha->num_phys; i++) { in sas_form_port()
139 && port->num_phys == 0) { in sas_form_port()
148 if (i >= sas_ha->num_phys) { in sas_form_port()
159 port->num_phys++; in sas_form_port()
188 port->port_dev->pathways = port->num_phys; in sas_form_port()
220 if (port->num_phys == 1) { in sas_deform_port()
238 port->num_phys--; in sas_deform_port()
241 if (port->num_phys == 0) { in sas_deform_port()
338 for (i = 0; i < sas_ha->num_phys; i++) { in sas_register_ports()
351 for (i = 0; i < sas_ha->num_phys; i++) in sas_unregister_ports()