/drivers/scsi/hisi_sas/ |
D | hisi_sas_v2_hw.c | 750 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_phy_write32() argument 753 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32() 759 int phy_no, u32 off) in hisi_sas_phy_read32() argument 761 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32() 882 static void config_phy_opt_mode_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v2_hw() argument 884 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v2_hw() 888 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in config_phy_opt_mode_v2_hw() 891 static void config_id_frame_v2_hw(struct hisi_hba *hisi_hba, int phy_no) in config_id_frame_v2_hw() argument 904 identify_frame.phy_id = phy_no; in config_id_frame_v2_hw() 907 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD0, in config_id_frame_v2_hw() [all …]
|
D | hisi_sas_v3_hw.c | 557 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_phy_write32() argument 560 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32() 566 int phy_no, u32 off) in hisi_sas_phy_read32() argument 568 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32() 741 static void config_phy_opt_mode_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v3_hw() argument 743 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v3_hw() 747 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in config_phy_opt_mode_v3_hw() 750 static void config_id_frame_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_id_frame_v3_hw() argument 763 identify_frame.phy_id = phy_no; in config_id_frame_v3_hw() 766 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD0, in config_id_frame_v3_hw() [all …]
|
D | hisi_sas_v1_hw.c | 428 int phy_no, u32 off, u32 val) in hisi_sas_phy_write32() argument 430 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32() 436 int phy_no, u32 off) in hisi_sas_phy_read32() argument 438 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32() 443 static void config_phy_opt_mode_v1_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v1_hw() argument 445 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v1_hw() 449 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in config_phy_opt_mode_v1_hw() 452 static void config_tx_tfe_autoneg_v1_hw(struct hisi_hba *hisi_hba, int phy_no) in config_tx_tfe_autoneg_v1_hw() argument 454 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CONFIG2); in config_tx_tfe_autoneg_v1_hw() 457 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CONFIG2, cfg); in config_tx_tfe_autoneg_v1_hw() [all …]
|
D | hisi_sas_main.c | 150 int phy_no; in hisi_sas_stop_phys() local 152 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) in hisi_sas_stop_phys() 153 hisi_sas_phy_enable(hisi_hba, phy_no, 0); in hisi_sas_stop_phys() 613 static void hisi_sas_bytes_dmaed(struct hisi_hba *hisi_hba, int phy_no, in hisi_sas_bytes_dmaed() argument 616 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in hisi_sas_bytes_dmaed() 624 dev_warn(hisi_hba->dev, "phy%d during suspend filtered out\n", phy_no); in hisi_sas_bytes_dmaed() 781 int phy_no; in hisi_sas_dev_found() local 785 for (phy_no = 0; phy_no < phy_num; phy_no++) { in hisi_sas_dev_found() 786 phy = &parent_dev->ex_dev.ex_phy[phy_no]; in hisi_sas_dev_found() 792 if (phy_no == phy_num) { in hisi_sas_dev_found() [all …]
|
D | hisi_sas.h | 321 void (*sl_notify_ssp)(struct hisi_hba *hisi_hba, int phy_no); 333 void (*phy_start)(struct hisi_hba *hisi_hba, int phy_no); 334 void (*phy_disable)(struct hisi_hba *hisi_hba, int phy_no); 335 void (*phy_hard_reset)(struct hisi_hba *hisi_hba, int phy_no); 336 void (*get_events)(struct hisi_hba *hisi_hba, int phy_no); 337 void (*phy_set_linkrate)(struct hisi_hba *hisi_hba, int phy_no, 655 extern void hisi_sas_phy_enable(struct hisi_hba *hisi_hba, int phy_no, 657 extern void hisi_sas_phy_down(struct hisi_hba *hisi_hba, int phy_no, int rdy, 666 extern void hisi_sas_phy_oob_ready(struct hisi_hba *hisi_hba, int phy_no);
|
/drivers/scsi/mvsas/ |
D | mv_sas.c | 913 static void mvs_update_wideport(struct mvs_info *mvi, int phy_no) in mvs_update_wideport() argument 915 struct mvs_phy *phy = &mvi->phy[phy_no]; in mvs_update_wideport() 1121 int phy_no = 0; in mvs_port_notify_deformed() local 1123 while (phy != &mvi->phy[phy_no]) { in mvs_port_notify_deformed() 1124 phy_no++; in mvs_port_notify_deformed() 1125 if (phy_no >= MVS_MAX_PHYS) in mvs_port_notify_deformed() 1129 mvs_do_release_task(phy->mvi, phy_no, dev); in mvs_port_notify_deformed() 1826 int phy_no, struct domain_device *dev) in mvs_do_release_task() argument 1833 phy = &mvi->phy[phy_no]; in mvs_do_release_task() 1880 u32 phy_no = (unsigned long) mwq->data; in mvs_work_queue() local [all …]
|
D | mv_sas.h | 456 void mvs_do_release_task(struct mvs_info *mvi, int phy_no, 458 void mvs_int_port(struct mvs_info *mvi, int phy_no, u32 events);
|
/drivers/clk/renesas/ |
D | clk-sh73a0.c | 119 u32 phy_no = name[3] - '0'; in sh73a0_cpg_register_clock() local 121 (phy_no ? CPG_DSI1PHYCR : CPG_DSI0PHYCR); in sh73a0_cpg_register_clock() 123 parent_name = phy_no ? "dsi1pck" : "dsi0pck"; in sh73a0_cpg_register_clock()
|