Home
last modified time | relevance | path

Searched refs:n_phy (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/scsi/mvsas/
Dmv_init.c107 sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; in mvs_phy_init()
249 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_alloc()
396 ((struct mvs_prv_info *)sha->lldd_ha)->n_phy = mvi->chip->n_phy; in mvs_pci_alloc()
456 phy_nr = core_nr * chip_info->n_phy; in mvs_prep_sas_ha_init()
499 for (i = 0; i < chip_info->n_phy; i++) { in mvs_post_sas_ha_init()
500 sha->sas_phy[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
502 sha->sas_port[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
512 sha->num_phys = nr_core * chip_info->n_phy; in mvs_post_sas_ha_init()
531 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_init_sas_add()
Dmv_sas.c98 hi = j/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; in mvs_find_dev_mvi()
123 phyno[n] = (j >= mvi->chip->n_phy) ? in mvs_find_dev_phyno()
124 (j - mvi->chip->n_phy) : j; in mvs_find_dev_phyno()
192 hi = i/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; in mvs_phy_control()
277 mv_dprintk("phy %d byte dmaded.\n", i + mvi->id * mvi->chip->n_phy); in mvs_bytes_dmaed()
297 for (i = 0; i < mvi->chip->n_phy; ++i) in mvs_scan_start()
1133 i + mvi->id * mvi->chip->n_phy; in mvs_update_phyinfo()
1174 i + mvi->id * mvi->chip->n_phy, phy->att_dev_info); in mvs_update_phyinfo()
1176 i + mvi->id * mvi->chip->n_phy, phy->att_dev_sas_addr); in mvs_update_phyinfo()
1198 hi = i/((struct mvs_prv_info *)sas_ha->lldd_ha)->n_phy; in mvs_port_notify_formed()
[all …]
Dmv_64xx.c50 if (mvi->chip->n_phy <= MVS_SOC_PORTS) in mvs_64xx_enable_xmt()
72 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_64xx_phy_hacks()
337 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_64xx_init()
360 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_64xx_init()
Dmv_sas.h179 u32 n_phy; member
418 u8 n_phy; member
Dmv_94xx.c432 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_94xx_init()
458 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_94xx_init()
801 port_id + mvi->id * mvi->chip->n_phy, i, id_frame[i]); in mvs_94xx_get_att_identify_frame()
Dmv_chips.h206 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_int_full()
/linux-3.4.99/drivers/scsi/pm8001/
Dpm8001_init.c114 sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; in pm8001_phy_init()
202 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_alloc()
444 phy_nr = chip_info->n_phy; in pm8001_prep_sas_ha_init()
490 for (i = 0; i < chip_info->n_phy; i++) { in pm8001_post_sas_ha_init()
499 sha->num_phys = chip_info->n_phy; in pm8001_post_sas_ha_init()
524 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_init_sas_add()
532 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_init_sas_add()
Dpm8001_sas.h176 u32 n_phy; member
Dpm8001_sas.c253 for (i = 0; i < pm8001_ha->chip->n_phy; ++i) in pm8001_scan_start()