Home
last modified time | relevance | path

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

/linux/drivers/scsi/mvsas/
H A Dmv_init.c71 sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; in mvs_phy_init()
211 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_alloc()
346 ((struct mvs_prv_info *)sha->lldd_ha)->n_phy = mvi->chip->n_phy; in mvs_pci_alloc()
391 phy_nr = core_nr * chip_info->n_phy; in mvs_prep_sas_ha_init()
434 for (i = 0; i < chip_info->n_phy; i++) { in mvs_post_sas_ha_init()
435 sha->sas_phy[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
437 sha->sas_port[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
446 sha->num_phys = nr_core * chip_info->n_phy; in mvs_post_sas_ha_init()
464 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_init_sas_add()
H A Dmv_sas.c80 hi = j/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; in mvs_find_dev_mvi()
107 phyno[n] = (j >= mvi->chip->n_phy) ? in mvs_find_dev_phyno()
108 (j - mvi->chip->n_phy) : j; in mvs_find_dev_phyno()
167 hi = i/((struct mvs_prv_info *)sha->lldd_ha)->n_phy; in mvs_phy_control()
251 mv_dprintk("phy %d byte dmaded.\n", i + mvi->id * mvi->chip->n_phy); in mvs_bytes_dmaed()
270 for (i = 0; i < mvi->chip->n_phy; ++i) in mvs_scan_start()
1008 i + mvi->id * mvi->chip->n_phy; in mvs_update_phyinfo()
1049 i + mvi->id * mvi->chip->n_phy, phy->att_dev_info); in mvs_update_phyinfo()
1051 i + mvi->id * mvi->chip->n_phy, phy->att_dev_sas_addr); in mvs_update_phyinfo()
1073 hi = i/((struct mvs_prv_info *)sas_ha->lldd_ha)->n_phy; in mvs_port_notify_formed()
[all …]
H A Dmv_64xx.c34 if (mvi->chip->n_phy <= MVS_SOC_PORTS) in mvs_64xx_enable_xmt()
56 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_64xx_phy_hacks()
322 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_64xx_init()
345 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_64xx_init()
H A Dmv_sas.h164 u32 n_phy; member
401 u8 n_phy; member
H A Dmv_chips.h190 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_int_full()
H A Dmv_94xx.c460 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_94xx_init()
486 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_94xx_init()
832 port_id + mvi->id * mvi->chip->n_phy, i, id_frame[i]); in mvs_94xx_get_att_identify_frame()
/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v1_hw.c565 for (i = 0; i < hisi_hba->n_phy; i++) { in reset_hw_v1_hw()
574 for (i = 0; i < hisi_hba->n_phy; i++) { in reset_hw_v1_hw()
685 for (i = 0; i < hisi_hba->n_phy; i++) { in init_reg_v1_hw()
801 for (i = 0; i < hisi_hba->n_phy; i++) { in start_phys_v1_hw()
812 for (i = 0; i < hisi_hba->n_phy; i++) { in phys_init_v1_hw()
855 for (i = 0; i < hisi_hba->n_phy; i++) in get_wideport_bitmap_v1_hw()
1630 for (i = 0; i < hisi_hba->n_phy; i++) { in interrupt_init_v1_hw()
1649 idx = hisi_hba->n_phy * HISI_SAS_PHY_INT_NR; in interrupt_init_v1_hw()
1664 idx = (hisi_hba->n_phy * HISI_SAS_PHY_INT_NR) + hisi_hba->queue_count; in interrupt_init_v1_hw()
1689 for (i = 0; i < hisi_hba->n_phy; i++) { in interrupt_openall_v1_hw()
[all …]
H A Dhisi_sas_main.c182 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) in hisi_sas_stop_phys()
1072 sas_phy->enabled = (phy_no < hisi_hba->n_phy) ? 1 : 0; in hisi_sas_phy_init()
1443 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in hisi_sas_rescan_topology()
1508 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_send_ata_reset_each_phy()
1543 for (port_no = 0; port_no < hisi_hba->n_phy; port_no++) { in hisi_sas_terminate_stp_reject()
1611 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in hisi_sas_controller_reset_done()
2206 s = sizeof(struct hisi_sas_initial_fis) * hisi_hba->n_phy; in hisi_sas_init_mem()
2230 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_alloc()
2373 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_free()
2462 if (device_property_read_u32(dev, "phy-count", &hisi_hba->n_phy)) { in hisi_sas_get_fw_info()
[all …]
H A Dhisi_sas_v3_hw.c667 for (i = 0; i < hisi_hba->n_phy; i++) { in interrupt_enable_v3_hw()
712 for (i = 0; i < hisi_hba->n_phy; i++) { in init_reg_v3_hw()
1124 for (i = 0; i < hisi_hba->n_phy; i++) { in phys_init_v3_hw()
1154 for (i = 0; i < hisi_hba->n_phy; i++) in get_wideport_bitmap_v3_hw()
2733 for (i = 0; i < hisi_hba->n_phy; i++) { in interrupt_disable_v3_hw()
2804 if ((reg_index + reg_count) > ((hisi_hba->n_phy + 3) / 4)) { in write_gpio_v3_hw()
3442 if (hisi_hba->n_phy < 0 || hisi_hba->n_phy > 8) { in check_fw_info_v3_hw()
3546 for (phy_cnt = 0; phy_cnt < hisi_hba->n_phy; phy_cnt++) { in debugfs_snapshot_port_reg_v3_hw()
3930 for (p = 0; p < hisi_hba->n_phy; p++) { in debugfs_create_files_v3_hw()
4177 if (phy_no >= hisi_hba->n_phy) in debugfs_bist_phy_v3_hw_write()
[all …]
H A Dhisi_sas.h422 int n_phy; member
/linux/drivers/scsi/pm8001/
H A Dpm8001_init.c166 sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; in pm8001_phy_init()
323 pm8001_ha->chip->n_phy); in pm8001_alloc()
338 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_alloc()
613 phy_nr = chip_info->n_phy; in pm8001_prep_sas_ha_init()
655 for (i = 0; i < chip_info->n_phy; i++) { in pm8001_post_sas_ha_init()
665 sha->num_phys = chip_info->n_phy; in pm8001_post_sas_ha_init()
689 for (i = 0; i < pm8001_ha->chip->n_phy; i++) in pm8001_init_sas_add()
766 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_init_sas_add()
923 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_set_phy_settings_ven_117c_12G()
1422 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_pci_resume()
H A Dpm8001_sas.c354 for (i = 0; i < pm8001_ha->chip->n_phy; ++i) { in pm8001_scan_start()
H A Dpm80xx_hwi.c3633 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in mpi_hw_event()
4930 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_set_phy_profile()