Lines Matching refs:n_phy
152 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) in hisi_sas_stop_phys()
919 sas_phy->enabled = (phy_no < hisi_hba->n_phy) ? 1 : 0; in hisi_sas_phy_init()
1401 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in hisi_sas_rescan_topology()
1498 for (port_no = 0; port_no < hisi_hba->n_phy; port_no++) { in hisi_sas_terminate_stp_reject()
2282 s = sizeof(struct hisi_sas_initial_fis) * hisi_hba->n_phy; in hisi_sas_init_mem()
2306 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_alloc()
2447 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_free()
2528 if (device_property_read_u32(dev, "phy-count", &hisi_hba->n_phy)) { in hisi_sas_get_fw_info()
2622 phy_nr = port_nr = hisi_hba->n_phy; in hisi_sas_probe()
2652 sha->num_phys = hisi_hba->n_phy; in hisi_sas_probe()
2655 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_probe()
2724 for (phy_cnt = 0; phy_cnt < hisi_hba->n_phy; phy_cnt++) { in hisi_sas_debugfs_snapshot_port_reg()
3203 for (p = 0; p < hisi_hba->n_phy; p++) { in hisi_sas_debugfs_create_files()
3505 if (phy_no >= hisi_hba->n_phy) in hisi_sas_debugfs_bist_phy_write()
3704 for (i = 0; i < hisi_hba->n_phy; i++) in hisi_sas_debugfs_release()
3726 for (p = 0; p < hisi_hba->n_phy; p++) { in hisi_sas_debugfs_alloc()