Lines Matching refs:n_phy
152 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) in hisi_sas_stop_phys()
937 sas_phy->enabled = (phy_no < hisi_hba->n_phy) ? 1 : 0; in hisi_sas_phy_init()
1424 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in hisi_sas_rescan_topology()
1520 for (port_no = 0; port_no < hisi_hba->n_phy; port_no++) { in hisi_sas_terminate_stp_reject()
2302 s = sizeof(struct hisi_sas_initial_fis) * hisi_hba->n_phy; in hisi_sas_init_mem()
2326 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_alloc()
2467 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_free()
2548 if (device_property_read_u32(dev, "phy-count", &hisi_hba->n_phy)) { in hisi_sas_get_fw_info()
2642 phy_nr = port_nr = hisi_hba->n_phy; in hisi_sas_probe()
2672 sha->num_phys = hisi_hba->n_phy; in hisi_sas_probe()
2675 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_probe()
2748 for (phy_cnt = 0; phy_cnt < hisi_hba->n_phy; phy_cnt++) { in hisi_sas_debugfs_snapshot_port_reg()
3240 for (p = 0; p < hisi_hba->n_phy; p++) { in hisi_sas_debugfs_create_files()
3535 if (phy_no >= hisi_hba->n_phy) in hisi_sas_debugfs_bist_phy_write()
3842 for (i = 0; i < hisi_hba->n_phy; i++) in hisi_sas_debugfs_release()
3865 for (p = 0; p < hisi_hba->n_phy; p++) { in hisi_sas_debugfs_alloc()
3942 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in hisi_sas_debugfs_phy_down_cnt_init()
3990 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in hisi_sas_debugfs_bist_init()