Home
last modified time | relevance | path

Searched refs:hisi_hba (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/scsi/hisi_sas/
H A Dhisi_sas_v1_hw.c412 static u32 hisi_sas_read32(struct hisi_hba *hisi_hba, u32 off) in hisi_sas_read32() argument
414 void __iomem *regs = hisi_hba->regs + off; in hisi_sas_read32()
419 static void hisi_sas_write32(struct hisi_hba *hisi_hba, in hisi_sas_write32() argument
422 void __iomem *regs = hisi_hba->regs + off; in hisi_sas_write32()
427 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, in hisi_sas_phy_write32() argument
430 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32()
435 static u32 hisi_sas_phy_read32(struct hisi_hba *hisi_hba, 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()
[all …]
H A Dhisi_sas.h105 struct hisi_hba;
139 struct hisi_hba *hisi_hba; member
146 { .hisi_hba = hisi_hba, \
183 struct hisi_hba *hisi_hba; member
215 struct hisi_hba *hisi_hba; member
224 struct hisi_hba *hisi_hba; member
232 struct hisi_hba *hisi_hba; member
319 int (*hw_init)(struct hisi_hba *hisi_hba);
320 int (*fw_info_check)(struct hisi_hba *hisi_hba);
321 int (*interrupt_preinit)(struct hisi_hba *hisi_hba);
[all …]