Home
last modified time | relevance | path

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

/linux/drivers/scsi/mvsas/
A Dmv_init.c87 sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; in mvs_phy_init()
229 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_alloc()
367 ((struct mvs_prv_info *)sha->lldd_ha)->n_phy = mvi->chip->n_phy; in mvs_pci_alloc()
412 phy_nr = core_nr * chip_info->n_phy; in mvs_prep_sas_ha_init()
455 for (i = 0; i < chip_info->n_phy; i++) { in mvs_post_sas_ha_init()
456 sha->sas_phy[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
458 sha->sas_port[j * chip_info->n_phy + i] = in mvs_post_sas_ha_init()
468 sha->num_phys = nr_core * chip_info->n_phy; in mvs_post_sas_ha_init()
484 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_init_sas_add()
A Dmv_sas.c82 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()
279 for (i = 0; i < mvi->chip->n_phy; ++i) in mvs_scan_start()
1024 i + mvi->id * mvi->chip->n_phy; in mvs_update_phyinfo()
1091 if (i >= mvi->chip->n_phy) in mvs_port_notify_formed()
1092 port = &mvi->port[i - mvi->chip->n_phy]; in mvs_port_notify_formed()
1945 phy_no+mvi->id*mvi->chip->n_phy); in mvs_sig_time_out()
1970 phy_no + mvi->id*mvi->chip->n_phy); in mvs_int_port()
2034 phy_no + mvi->id*mvi->chip->n_phy); in mvs_int_port()
[all …]
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()
A Dmv_sas.h164 u32 n_phy; member
402 u8 n_phy; member
A Dmv_chips.h190 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_int_full()
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/pm8001/
A Dpm8001_init.c145 sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0; in pm8001_phy_init()
278 pm8001_ha->chip->n_phy); in pm8001_alloc()
300 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_alloc()
589 phy_nr = chip_info->n_phy; in pm8001_prep_sas_ha_init()
635 for (i = 0; i < chip_info->n_phy; i++) { in pm8001_post_sas_ha_init()
646 sha->num_phys = chip_info->n_phy; in pm8001_post_sas_ha_init()
723 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_init_sas_add()
733 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_init_sas_add()
888 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_set_phy_settings_ven_117c_12G()
1395 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_pci_resume()
A Dpm8001_sas.h223 u32 n_phy; member
A Dpm8001_sas.c272 for (i = 0; i < pm8001_ha->chip->n_phy; ++i) { in pm8001_scan_start()
A Dpm80xx_hwi.c3746 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in mpi_hw_event()
4998 for (i = 0; i < pm8001_ha->chip->n_phy; i++) { in pm8001_set_phy_profile()
/linux/drivers/scsi/hisi_sas/
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()
1636 for (i = 0; i < hisi_hba->n_phy; i++) { in interrupt_init_v1_hw()
1658 idx = hisi_hba->n_phy * HISI_SAS_PHY_INT_NR; in interrupt_init_v1_hw()
1676 idx = (hisi_hba->n_phy * HISI_SAS_PHY_INT_NR) + hisi_hba->queue_count; in interrupt_init_v1_hw()
1704 for (i = 0; i < hisi_hba->n_phy; i++) { in interrupt_openall_v1_hw()
A Dhisi_sas_v2_hw.c1024 if (hisi_hba->n_phy == 9) in reset_hw_v2_hw()
1032 for (i = 0; i < hisi_hba->n_phy; i++) { in reset_hw_v2_hw()
1041 for (i = 0; i < hisi_hba->n_phy; i++) { in reset_hw_v2_hw()
1229 for (i = 0; i < hisi_hba->n_phy; i++) { in init_reg_v2_hw()
1334 for (i = 0; i < hisi_hba->n_phy; i++) { in link_timeout_enable_link()
1356 for (i = 0; i < hisi_hba->n_phy && reg_val; i++) { in link_timeout_disable_link()
1582 for (i = 0; i < hisi_hba->n_phy; i++) { in phys_init_v2_hw()
1628 for (i = 0; i < (hisi_hba->n_phy < 9 ? hisi_hba->n_phy : 8); i++) in get_wideport_bitmap_v2_hw()
1633 if (hisi_hba->n_phy == 9) { in get_wideport_bitmap_v2_hw()
3416 for (i = 0; i < hisi_hba->n_phy; i++) { in interrupt_disable_v2_hw()
[all …]
A Dhisi_sas_main.c152 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) in hisi_sas_stop_phys()
950 sas_phy->enabled = (phy_no < hisi_hba->n_phy) ? 1 : 0; in hisi_sas_phy_init()
1460 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in hisi_sas_rescan_topology()
1558 for (port_no = 0; port_no < hisi_hba->n_phy; port_no++) { in hisi_sas_terminate_stp_reject()
2393 s = sizeof(struct hisi_sas_initial_fis) * hisi_hba->n_phy; in hisi_sas_init_mem()
2417 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_alloc()
2558 for (i = 0; i < hisi_hba->n_phy; i++) { in hisi_sas_free()
2646 if (device_property_read_u32(dev, "phy-count", &hisi_hba->n_phy)) { in hisi_sas_get_fw_info()
2747 phy_nr = port_nr = hisi_hba->n_phy; in hisi_sas_probe()
2777 sha->num_phys = hisi_hba->n_phy; in hisi_sas_probe()
[all …]
A Dhisi_sas_v3_hw.c617 for (i = 0; i < hisi_hba->n_phy; i++) { in init_reg_v3_hw()
1029 for (i = 0; i < hisi_hba->n_phy; i++) { in phys_init_v3_hw()
1059 for (i = 0; i < hisi_hba->n_phy; i++) in get_wideport_bitmap_v3_hw()
2525 for (i = 0; i < hisi_hba->n_phy; i++) { in interrupt_disable_v3_hw()
3623 for (p = 0; p < hisi_hba->n_phy; p++) { in debugfs_create_files_v3_hw()
3929 if (phy_no >= hisi_hba->n_phy) in debugfs_bist_phy_v3_hw_write()
4457 for (i = 0; i < hisi_hba->n_phy; i++) in debugfs_release_v3_hw()
4486 for (p = 0; p < hisi_hba->n_phy; p++) { in debugfs_alloc_v3_hw()
4715 phy_nr = port_nr = hisi_hba->n_phy; in hisi_sas_v3_probe()
4741 sha->num_phys = hisi_hba->n_phy; in hisi_sas_v3_probe()
[all …]
A Dhisi_sas.h416 int n_phy; member

Completed in 90 milliseconds