n_phy 343 drivers/scsi/hisi_sas/hisi_sas.h int n_phy; n_phy 152 drivers/scsi/hisi_sas/hisi_sas_main.c for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) n_phy 925 drivers/scsi/hisi_sas/hisi_sas_main.c sas_phy->enabled = (phy_no < hisi_hba->n_phy) ? 1 : 0; n_phy 1408 drivers/scsi/hisi_sas/hisi_sas_main.c for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { n_phy 1505 drivers/scsi/hisi_sas/hisi_sas_main.c for (port_no = 0; port_no < hisi_hba->n_phy; port_no++) { n_phy 2289 drivers/scsi/hisi_sas/hisi_sas_main.c s = sizeof(struct hisi_sas_initial_fis) * hisi_hba->n_phy; n_phy 2313 drivers/scsi/hisi_sas/hisi_sas_main.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 2454 drivers/scsi/hisi_sas/hisi_sas_main.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 2535 drivers/scsi/hisi_sas/hisi_sas_main.c if (device_property_read_u32(dev, "phy-count", &hisi_hba->n_phy)) { n_phy 2629 drivers/scsi/hisi_sas/hisi_sas_main.c phy_nr = port_nr = hisi_hba->n_phy; n_phy 2659 drivers/scsi/hisi_sas/hisi_sas_main.c sha->num_phys = hisi_hba->n_phy; n_phy 2662 drivers/scsi/hisi_sas/hisi_sas_main.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 2732 drivers/scsi/hisi_sas/hisi_sas_main.c for (phy_cnt = 0; phy_cnt < hisi_hba->n_phy; phy_cnt++) { n_phy 3211 drivers/scsi/hisi_sas/hisi_sas_main.c for (p = 0; p < hisi_hba->n_phy; p++) { n_phy 3513 drivers/scsi/hisi_sas/hisi_sas_main.c if (phy_no >= hisi_hba->n_phy) n_phy 3712 drivers/scsi/hisi_sas/hisi_sas_main.c for (i = 0; i < hisi_hba->n_phy; i++) n_phy 3731 drivers/scsi/hisi_sas/hisi_sas_main.c for (p = 0; p < hisi_hba->n_phy; p++) { n_phy 563 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 572 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 683 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 799 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 810 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 853 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c for (i = 0; i < hisi_hba->n_phy; i++) n_phy 1642 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 1664 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c idx = hisi_hba->n_phy * HISI_SAS_PHY_INT_NR; n_phy 1682 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c idx = (hisi_hba->n_phy * HISI_SAS_PHY_INT_NR) + hisi_hba->queue_count; n_phy 1710 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 1019 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (hisi_hba->n_phy == 9) n_phy 1027 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 1036 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 1118 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c hisi_hba->reject_stp_links_msk = (1 << hisi_hba->n_phy) - 1; n_phy 1119 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { n_phy 1134 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { n_phy 1224 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 1329 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 1351 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (i = 0; i < hisi_hba->n_phy && reg_val; i++) { n_phy 1577 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 1623 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (i = 0; i < (hisi_hba->n_phy < 9 ? hisi_hba->n_phy : 8); i++) n_phy 1628 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c if (hisi_hba->n_phy == 9) { n_phy 3328 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { n_phy 3406 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 3475 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c count = min(count, hisi_hba->n_phy); n_phy 593 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 984 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 1014 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c for (i = 0; i < hisi_hba->n_phy; i++) n_phy 2506 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 2577 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c if ((reg_index + reg_count) > ((hisi_hba->n_phy + 3) / 4)) { n_phy 3198 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c phy_nr = port_nr = hisi_hba->n_phy; n_phy 3224 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c sha->num_phys = hisi_hba->n_phy; n_phy 3226 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c for (i = 0; i < hisi_hba->n_phy; i++) { n_phy 34 drivers/scsi/mvsas/mv_64xx.c if (mvi->chip->n_phy <= MVS_SOC_PORTS) n_phy 56 drivers/scsi/mvsas/mv_64xx.c for (i = 0; i < mvi->chip->n_phy; i++) { n_phy 322 drivers/scsi/mvsas/mv_64xx.c for (i = 0; i < mvi->chip->n_phy; i++) { n_phy 345 drivers/scsi/mvsas/mv_64xx.c for (i = 0; i < mvi->chip->n_phy; i++) { n_phy 460 drivers/scsi/mvsas/mv_94xx.c for (i = 0; i < mvi->chip->n_phy; i++) { n_phy 486 drivers/scsi/mvsas/mv_94xx.c for (i = 0; i < mvi->chip->n_phy; i++) { n_phy 832 drivers/scsi/mvsas/mv_94xx.c port_id + mvi->id * mvi->chip->n_phy, i, id_frame[i]); n_phy 190 drivers/scsi/mvsas/mv_chips.h for (i = 0; i < mvi->chip->n_phy; i++) { n_phy 82 drivers/scsi/mvsas/mv_init.c sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; n_phy 223 drivers/scsi/mvsas/mv_init.c for (i = 0; i < mvi->chip->n_phy; i++) { n_phy 366 drivers/scsi/mvsas/mv_init.c ((struct mvs_prv_info *)sha->lldd_ha)->n_phy = mvi->chip->n_phy; n_phy 411 drivers/scsi/mvsas/mv_init.c phy_nr = core_nr * chip_info->n_phy; n_phy 454 drivers/scsi/mvsas/mv_init.c for (i = 0; i < chip_info->n_phy; i++) { n_phy 455 drivers/scsi/mvsas/mv_init.c sha->sas_phy[j * chip_info->n_phy + i] = n_phy 457 drivers/scsi/mvsas/mv_init.c sha->sas_port[j * chip_info->n_phy + i] = n_phy 467 drivers/scsi/mvsas/mv_init.c sha->num_phys = nr_core * chip_info->n_phy; n_phy 483 drivers/scsi/mvsas/mv_init.c for (i = 0; i < mvi->chip->n_phy; i++) { n_phy 82 drivers/scsi/mvsas/mv_sas.c hi = j/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; n_phy 107 drivers/scsi/mvsas/mv_sas.c phyno[n] = (j >= mvi->chip->n_phy) ? n_phy 108 drivers/scsi/mvsas/mv_sas.c (j - mvi->chip->n_phy) : j; n_phy 176 drivers/scsi/mvsas/mv_sas.c hi = i/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; n_phy 261 drivers/scsi/mvsas/mv_sas.c mv_dprintk("phy %d byte dmaded.\n", i + mvi->id * mvi->chip->n_phy); n_phy 281 drivers/scsi/mvsas/mv_sas.c for (i = 0; i < mvi->chip->n_phy; ++i) n_phy 1026 drivers/scsi/mvsas/mv_sas.c i + mvi->id * mvi->chip->n_phy; n_phy 1067 drivers/scsi/mvsas/mv_sas.c i + mvi->id * mvi->chip->n_phy, phy->att_dev_info); n_phy 1069 drivers/scsi/mvsas/mv_sas.c i + mvi->id * mvi->chip->n_phy, phy->att_dev_sas_addr); n_phy 1091 drivers/scsi/mvsas/mv_sas.c hi = i/((struct mvs_prv_info *)sas_ha->lldd_ha)->n_phy; n_phy 1093 drivers/scsi/mvsas/mv_sas.c if (i >= mvi->chip->n_phy) n_phy 1094 drivers/scsi/mvsas/mv_sas.c port = &mvi->port[i - mvi->chip->n_phy]; n_phy 1945 drivers/scsi/mvsas/mv_sas.c for (phy_no = 0; phy_no < mvi->chip->n_phy; phy_no++) { n_phy 1948 drivers/scsi/mvsas/mv_sas.c phy_no+mvi->id*mvi->chip->n_phy); n_phy 1961 drivers/scsi/mvsas/mv_sas.c mv_dprintk("phy %d ctrl sts=0x%08X.\n", phy_no+mvi->id*mvi->chip->n_phy, n_phy 1963 drivers/scsi/mvsas/mv_sas.c mv_dprintk("phy %d irq sts = 0x%08X\n", phy_no+mvi->id*mvi->chip->n_phy, n_phy 1973 drivers/scsi/mvsas/mv_sas.c phy_no + mvi->id*mvi->chip->n_phy); n_phy 2037 drivers/scsi/mvsas/mv_sas.c phy_no + mvi->id*mvi->chip->n_phy); n_phy 2041 drivers/scsi/mvsas/mv_sas.c phy_no + mvi->id*mvi->chip->n_phy); n_phy 164 drivers/scsi/mvsas/mv_sas.h u32 n_phy; n_phy 402 drivers/scsi/mvsas/mv_sas.h u8 n_phy; n_phy 125 drivers/scsi/pm8001/pm8001_init.c sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; n_phy 251 drivers/scsi/pm8001/pm8001_init.c pm8001_ha->chip->n_phy)); n_phy 252 drivers/scsi/pm8001/pm8001_init.c for (i = 0; i < pm8001_ha->chip->n_phy; i++) { n_phy 526 drivers/scsi/pm8001/pm8001_init.c phy_nr = chip_info->n_phy; n_phy 572 drivers/scsi/pm8001/pm8001_init.c for (i = 0; i < chip_info->n_phy; i++) { n_phy 583 drivers/scsi/pm8001/pm8001_init.c sha->num_phys = chip_info->n_phy; n_phy 660 drivers/scsi/pm8001/pm8001_init.c for (i = 0; i < pm8001_ha->chip->n_phy; i++) { n_phy 671 drivers/scsi/pm8001/pm8001_init.c for (i = 0; i < pm8001_ha->chip->n_phy; i++) { n_phy 826 drivers/scsi/pm8001/pm8001_init.c for (i = 0; i < pm8001_ha->chip->n_phy; i++) { n_phy 1241 drivers/scsi/pm8001/pm8001_init.c for (i = 0; i < pm8001_ha->chip->n_phy; i++) { n_phy 272 drivers/scsi/pm8001/pm8001_sas.c for (i = 0; i < pm8001_ha->chip->n_phy; ++i) n_phy 237 drivers/scsi/pm8001/pm8001_sas.h u32 n_phy; n_phy 3352 drivers/scsi/pm8001/pm80xx_hwi.c for (i = 0; i < pm8001_ha->chip->n_phy; i++) { n_phy 4684 drivers/scsi/pm8001/pm80xx_hwi.c for (i = 0; i < pm8001_ha->chip->n_phy; i++) {