Lines Matching refs:phy_no

578 static void hisi_sas_phy_write32(struct hisi_hba *hisi_hba, int phy_no,  in hisi_sas_phy_write32()  argument
581 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_write32()
587 int phy_no, u32 off) in hisi_sas_phy_read32() argument
589 void __iomem *regs = hisi_hba->regs + (0x400 * phy_no) + off; in hisi_sas_phy_read32()
781 static void config_phy_opt_mode_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_phy_opt_mode_v3_hw() argument
783 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in config_phy_opt_mode_v3_hw()
787 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in config_phy_opt_mode_v3_hw()
790 static void config_id_frame_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in config_id_frame_v3_hw() argument
803 identify_frame.phy_id = phy_no; in config_id_frame_v3_hw()
806 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD0, in config_id_frame_v3_hw()
808 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD1, in config_id_frame_v3_hw()
810 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD2, in config_id_frame_v3_hw()
812 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD3, in config_id_frame_v3_hw()
814 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD4, in config_id_frame_v3_hw()
816 hisi_sas_phy_write32(hisi_hba, phy_no, TX_ID_DWORD5, in config_id_frame_v3_hw()
1003 static void enable_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in enable_phy_v3_hw() argument
1005 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in enable_phy_v3_hw()
1009 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in enable_phy_v3_hw()
1012 static void disable_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in disable_phy_v3_hw() argument
1014 u32 cfg = hisi_sas_phy_read32(hisi_hba, phy_no, PHY_CFG); in disable_phy_v3_hw()
1015 u32 irq_msk = hisi_sas_phy_read32(hisi_hba, phy_no, CHL_INT2_MSK); in disable_phy_v3_hw()
1021 hisi_sas_phy_write32(hisi_hba, phy_no, CHL_INT2_MSK, msk | irq_msk); in disable_phy_v3_hw()
1024 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in disable_phy_v3_hw()
1029 if (state & BIT(phy_no)) { in disable_phy_v3_hw()
1031 hisi_sas_phy_write32(hisi_hba, phy_no, PHY_CFG, cfg); in disable_phy_v3_hw()
1036 hisi_sas_phy_read32(hisi_hba, phy_no, ERR_CNT_INVLD_DW); in disable_phy_v3_hw()
1037 hisi_sas_phy_read32(hisi_hba, phy_no, ERR_CNT_DISP_ERR); in disable_phy_v3_hw()
1038 hisi_sas_phy_read32(hisi_hba, phy_no, ERR_CNT_CODE_ERR); in disable_phy_v3_hw()
1040 hisi_sas_phy_write32(hisi_hba, phy_no, CHL_INT2, msk); in disable_phy_v3_hw()
1041 hisi_sas_phy_write32(hisi_hba, phy_no, CHL_INT2_MSK, irq_msk); in disable_phy_v3_hw()
1044 static void start_phy_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in start_phy_v3_hw() argument
1046 config_id_frame_v3_hw(hisi_hba, phy_no); in start_phy_v3_hw()
1047 config_phy_opt_mode_v3_hw(hisi_hba, phy_no); in start_phy_v3_hw()
1048 enable_phy_v3_hw(hisi_hba, phy_no); in start_phy_v3_hw()
1051 static void phy_hard_reset_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in phy_hard_reset_v3_hw() argument
1053 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in phy_hard_reset_v3_hw()
1056 hisi_sas_phy_enable(hisi_hba, phy_no, 0); in phy_hard_reset_v3_hw()
1058 txid_auto = hisi_sas_phy_read32(hisi_hba, phy_no, TXID_AUTO); in phy_hard_reset_v3_hw()
1059 hisi_sas_phy_write32(hisi_hba, phy_no, TXID_AUTO, in phy_hard_reset_v3_hw()
1063 hisi_sas_phy_enable(hisi_hba, phy_no, 1); in phy_hard_reset_v3_hw()
1086 static void sl_notify_ssp_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in sl_notify_ssp_v3_hw() argument
1090 sl_control = hisi_sas_phy_read32(hisi_hba, phy_no, SL_CONTROL); in sl_notify_ssp_v3_hw()
1092 hisi_sas_phy_write32(hisi_hba, phy_no, SL_CONTROL, sl_control); in sl_notify_ssp_v3_hw()
1094 sl_control = hisi_sas_phy_read32(hisi_hba, phy_no, SL_CONTROL); in sl_notify_ssp_v3_hw()
1096 hisi_sas_phy_write32(hisi_hba, phy_no, SL_CONTROL, sl_control); in sl_notify_ssp_v3_hw()
1524 static irqreturn_t phy_up_v3_hw(int phy_no, struct hisi_hba *hisi_hba) in phy_up_v3_hw() argument
1529 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in phy_up_v3_hw()
1533 hisi_sas_phy_write32(hisi_hba, phy_no, PHYCTRL_PHY_ENA_MSK, 1); in phy_up_v3_hw()
1536 port_id = (port_id >> (4 * phy_no)) & 0xf; in phy_up_v3_hw()
1538 link_rate = (link_rate >> (phy_no * 4)) & 0xf; in phy_up_v3_hw()
1541 dev_err(dev, "phyup: phy%d invalid portid\n", phy_no); in phy_up_v3_hw()
1550 if (context & (1 << phy_no)) { in phy_up_v3_hw()
1556 dev_info(dev, "phyup: phy%d link_rate=%d(sata)\n", phy_no, link_rate); in phy_up_v3_hw()
1557 initial_fis = &hisi_hba->initial_fis[phy_no]; in phy_up_v3_hw()
1563 phy_no, fis->status); in phy_up_v3_hw()
1572 attached_sas_addr[7] = phy_no; in phy_up_v3_hw()
1587 dev_info(dev, "phyup: phy%d link_rate=%d\n", phy_no, link_rate); in phy_up_v3_hw()
1589 u32 idaf = hisi_sas_phy_read32(hisi_hba, phy_no, in phy_up_v3_hw()
1630 hisi_sas_phy_write32(hisi_hba, phy_no, CHL_INT0, in phy_up_v3_hw()
1632 hisi_sas_phy_write32(hisi_hba, phy_no, PHYCTRL_PHY_ENA_MSK, 0); in phy_up_v3_hw()
1637 static irqreturn_t phy_down_v3_hw(int phy_no, struct hisi_hba *hisi_hba) in phy_down_v3_hw() argument
1639 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in phy_down_v3_hw()
1646 hisi_sas_phy_write32(hisi_hba, phy_no, PHYCTRL_NOT_RDY_MSK, 1); in phy_down_v3_hw()
1649 dev_info(dev, "phydown: phy%d phy_state=0x%x\n", phy_no, phy_state); in phy_down_v3_hw()
1650 hisi_sas_phy_down(hisi_hba, phy_no, (phy_state & 1 << phy_no) ? 1 : 0, in phy_down_v3_hw()
1653 sl_ctrl = hisi_sas_phy_read32(hisi_hba, phy_no, SL_CONTROL); in phy_down_v3_hw()
1654 hisi_sas_phy_write32(hisi_hba, phy_no, SL_CONTROL, in phy_down_v3_hw()
1657 txid_auto = hisi_sas_phy_read32(hisi_hba, phy_no, TXID_AUTO); in phy_down_v3_hw()
1658 hisi_sas_phy_write32(hisi_hba, phy_no, TXID_AUTO, in phy_down_v3_hw()
1661 hisi_sas_phy_write32(hisi_hba, phy_no, CHL_INT0, CHL_INT0_NOT_RDY_MSK); in phy_down_v3_hw()
1662 hisi_sas_phy_write32(hisi_hba, phy_no, PHYCTRL_NOT_RDY_MSK, 0); in phy_down_v3_hw()
1667 static irqreturn_t phy_bcast_v3_hw(int phy_no, struct hisi_hba *hisi_hba) in phy_bcast_v3_hw() argument
1669 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in phy_bcast_v3_hw()
1672 hisi_sas_phy_write32(hisi_hba, phy_no, SL_RX_BCAST_CHK_MSK, 1); in phy_bcast_v3_hw()
1673 bcast_status = hisi_sas_phy_read32(hisi_hba, phy_no, RX_PRIMS_STATUS); in phy_bcast_v3_hw()
1676 hisi_sas_phy_write32(hisi_hba, phy_no, CHL_INT0, in phy_bcast_v3_hw()
1678 hisi_sas_phy_write32(hisi_hba, phy_no, SL_RX_BCAST_CHK_MSK, 0); in phy_bcast_v3_hw()
1687 int phy_no = 0; in int_phy_up_down_bcast_v3_hw() local
1694 u32 irq_value = hisi_sas_phy_read32(hisi_hba, phy_no, in int_phy_up_down_bcast_v3_hw()
1697 int rdy = phy_state & (1 << phy_no); in int_phy_up_down_bcast_v3_hw()
1702 if (phy_up_v3_hw(phy_no, hisi_hba) in int_phy_up_down_bcast_v3_hw()
1707 if (phy_bcast_v3_hw(phy_no, hisi_hba) in int_phy_up_down_bcast_v3_hw()
1713 if (phy_down_v3_hw(phy_no, hisi_hba) in int_phy_up_down_bcast_v3_hw()
1719 phy_no++; in int_phy_up_down_bcast_v3_hw()
1768 static void handle_chl_int1_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in handle_chl_int1_v3_hw() argument
1770 u32 irq_value = hisi_sas_phy_read32(hisi_hba, phy_no, CHL_INT1); in handle_chl_int1_v3_hw()
1771 u32 irq_msk = hisi_sas_phy_read32(hisi_hba, phy_no, CHL_INT1_MSK); in handle_chl_int1_v3_hw()
1778 phy_no); in handle_chl_int1_v3_hw()
1789 error->msg, phy_no, irq_value); in handle_chl_int1_v3_hw()
1793 hisi_sas_phy_write32(hisi_hba, phy_no, CHL_INT1, irq_value); in handle_chl_int1_v3_hw()
1796 static void phy_get_events_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in phy_get_events_v3_hw() argument
1798 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in phy_get_events_v3_hw()
1807 reg_value = hisi_sas_phy_read32(hisi_hba, phy_no, ERR_CNT_DWS_LOST); in phy_get_events_v3_hw()
1811 reg_value = hisi_sas_phy_read32(hisi_hba, phy_no, ERR_CNT_RESET_PROB); in phy_get_events_v3_hw()
1815 reg_value = hisi_sas_phy_read32(hisi_hba, phy_no, ERR_CNT_INVLD_DW); in phy_get_events_v3_hw()
1819 reg_value = hisi_sas_phy_read32(hisi_hba, phy_no, ERR_CNT_DISP_ERR); in phy_get_events_v3_hw()
1823 reg_value = hisi_sas_phy_read32(hisi_hba, phy_no, ERR_CNT_CODE_ERR); in phy_get_events_v3_hw()
1829 static void handle_chl_int2_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in handle_chl_int2_v3_hw() argument
1831 u32 irq_msk = hisi_sas_phy_read32(hisi_hba, phy_no, CHL_INT2_MSK); in handle_chl_int2_v3_hw()
1832 u32 irq_value = hisi_sas_phy_read32(hisi_hba, phy_no, CHL_INT2); in handle_chl_int2_v3_hw()
1833 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in handle_chl_int2_v3_hw()
1843 phy_no); in handle_chl_int2_v3_hw()
1848 dev_warn(dev, "phy%d identify timeout\n", phy_no); in handle_chl_int2_v3_hw()
1853 u32 reg_value = hisi_sas_phy_read32(hisi_hba, phy_no, in handle_chl_int2_v3_hw()
1857 phy_no, reg_value); in handle_chl_int2_v3_hw()
1866 phy_get_events_v3_hw(hisi_hba, phy_no); in handle_chl_int2_v3_hw()
1869 dev_info(dev, "phy%d invalid dword cnt: %u\n", phy_no, in handle_chl_int2_v3_hw()
1873 dev_info(dev, "phy%d code violation cnt: %u\n", phy_no, in handle_chl_int2_v3_hw()
1877 dev_info(dev, "phy%d disparity error cnt: %u\n", phy_no, in handle_chl_int2_v3_hw()
1888 !((reg_value >> 8) & BIT(phy_no)), in handle_chl_int2_v3_hw()
1894 hisi_sas_phy_write32(hisi_hba, phy_no, CHL_INT2, irq_value); in handle_chl_int2_v3_hw()
1897 static void handle_chl_int0_v3_hw(struct hisi_hba *hisi_hba, int phy_no) in handle_chl_int0_v3_hw() argument
1899 u32 irq_value0 = hisi_sas_phy_read32(hisi_hba, phy_no, CHL_INT0); in handle_chl_int0_v3_hw()
1902 hisi_sas_phy_oob_ready(hisi_hba, phy_no); in handle_chl_int0_v3_hw()
1904 hisi_sas_phy_write32(hisi_hba, phy_no, CHL_INT0, in handle_chl_int0_v3_hw()
1914 int phy_no = 0; in int_chnl_int_v3_hw() local
1920 if (irq_msk & (CHNL_INT_STS_INT0_MSK << (phy_no * CHNL_WIDTH))) in int_chnl_int_v3_hw()
1921 handle_chl_int0_v3_hw(hisi_hba, phy_no); in int_chnl_int_v3_hw()
1923 if (irq_msk & (CHNL_INT_STS_INT1_MSK << (phy_no * CHNL_WIDTH))) in int_chnl_int_v3_hw()
1924 handle_chl_int1_v3_hw(hisi_hba, phy_no); in int_chnl_int_v3_hw()
1926 if (irq_msk & (CHNL_INT_STS_INT2_MSK << (phy_no * CHNL_WIDTH))) in int_chnl_int_v3_hw()
1927 handle_chl_int2_v3_hw(hisi_hba, phy_no); in int_chnl_int_v3_hw()
1929 irq_msk &= ~(CHNL_INT_STS_PHY_MSK << (phy_no * CHNL_WIDTH)); in int_chnl_int_v3_hw()
1930 phy_no++; in int_chnl_int_v3_hw()
2643 static void phy_set_linkrate_v3_hw(struct hisi_hba *hisi_hba, int phy_no, in phy_set_linkrate_v3_hw() argument
2647 u32 prog_phy_link_rate = hisi_sas_phy_read32(hisi_hba, phy_no, in phy_set_linkrate_v3_hw()
2652 hisi_sas_phy_write32(hisi_hba, phy_no, PROG_PHY_LINK_RATE, in phy_set_linkrate_v3_hw()
3171 int phy_no = hisi_hba->debugfs_bist_phy_no; in hisi_sas_bist_test_prep_v3_hw() local
3175 hisi_sas_phy_enable(hisi_hba, phy_no, 0); in hisi_sas_bist_test_prep_v3_hw()
3179 hisi_sas_phy_write32(hisi_hba, phy_no, TXDEEMPH_G1 + (i * 0x4), in hisi_sas_bist_test_prep_v3_hw()
3180 hisi_hba->debugfs_bist_ffe[phy_no][i]); in hisi_sas_bist_test_prep_v3_hw()
3183 reg_val = hisi_sas_phy_read32(hisi_hba, phy_no, SERDES_CFG); in hisi_sas_bist_test_prep_v3_hw()
3185 hisi_sas_phy_write32(hisi_hba, phy_no, SERDES_CFG, reg_val); in hisi_sas_bist_test_prep_v3_hw()
3191 int phy_no = hisi_hba->debugfs_bist_phy_no; in hisi_sas_bist_test_restore_v3_hw() local
3194 reg_val = hisi_sas_phy_read32(hisi_hba, phy_no, SAS_PHY_BIST_CTRL); in hisi_sas_bist_test_restore_v3_hw()
3197 hisi_sas_phy_write32(hisi_hba, phy_no, SAS_PHY_BIST_CTRL, reg_val); in hisi_sas_bist_test_restore_v3_hw()
3200 reg_val = hisi_sas_phy_read32(hisi_hba, phy_no, SERDES_CFG); in hisi_sas_bist_test_restore_v3_hw()
3202 hisi_sas_phy_write32(hisi_hba, phy_no, SERDES_CFG, reg_val); in hisi_sas_bist_test_restore_v3_hw()
3205 reg_val = hisi_sas_phy_read32(hisi_hba, phy_no, PROG_PHY_LINK_RATE); in hisi_sas_bist_test_restore_v3_hw()
3209 hisi_sas_phy_write32(hisi_hba, phy_no, PROG_PHY_LINK_RATE, reg_val); in hisi_sas_bist_test_restore_v3_hw()
3212 hisi_sas_phy_enable(hisi_hba, phy_no, 1); in hisi_sas_bist_test_restore_v3_hw()
3221 u32 phy_no = hisi_hba->debugfs_bist_phy_no; in debugfs_set_bist_v3_hw() local
3222 u32 *ffe = hisi_hba->debugfs_bist_ffe[phy_no]; in debugfs_set_bist_v3_hw()
3229 phy_no, linkrate, code_mode, path_mode, in debugfs_set_bist_v3_hw()
3241 reg_val = hisi_sas_phy_read32(hisi_hba, phy_no, in debugfs_set_bist_v3_hw()
3245 hisi_sas_phy_write32(hisi_hba, phy_no, PROG_PHY_LINK_RATE, in debugfs_set_bist_v3_hw()
3249 reg_val = hisi_sas_phy_read32(hisi_hba, phy_no, in debugfs_set_bist_v3_hw()
3257 hisi_sas_phy_write32(hisi_hba, phy_no, SAS_PHY_BIST_CTRL, in debugfs_set_bist_v3_hw()
3263 hisi_sas_phy_write32(hisi_hba, phy_no, in debugfs_set_bist_v3_hw()
3267 hisi_sas_phy_write32(hisi_hba, phy_no, in debugfs_set_bist_v3_hw()
3270 hisi_sas_phy_write32(hisi_hba, phy_no, in debugfs_set_bist_v3_hw()
3273 hisi_sas_phy_write32(hisi_hba, phy_no, in debugfs_set_bist_v3_hw()
3280 hisi_sas_phy_write32(hisi_hba, phy_no, SAS_PHY_BIST_CTRL, in debugfs_set_bist_v3_hw()
3285 hisi_sas_phy_read32(hisi_hba, phy_no, SAS_BIST_ERR_CNT); in debugfs_set_bist_v3_hw()
3289 phy_no, SAS_BIST_ERR_CNT); in debugfs_set_bist_v3_hw()
4114 unsigned int phy_no; in debugfs_bist_phy_v3_hw_write() local
4120 val = kstrtouint_from_user(buf, count, 0, &phy_no); in debugfs_bist_phy_v3_hw_write()
4124 if (phy_no >= hisi_hba->n_phy) in debugfs_bist_phy_v3_hw_write()
4127 hisi_hba->debugfs_bist_phy_no = phy_no; in debugfs_bist_phy_v3_hw_write()
4491 int phy_no = phy->sas_phy.id; in debugfs_update_fifo_config_v3_hw() local
4500 reg_val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_CTRL); in debugfs_update_fifo_config_v3_hw()
4512 hisi_sas_phy_write32(hisi_hba, phy_no, DFX_FIFO_CTRL, reg_val); in debugfs_update_fifo_config_v3_hw()
4514 hisi_sas_phy_write32(hisi_hba, phy_no, DFX_FIFO_DUMP_MSK, in debugfs_update_fifo_config_v3_hw()
4517 hisi_sas_phy_write32(hisi_hba, phy_no, DFX_FIFO_TRIGGER, in debugfs_update_fifo_config_v3_hw()
4520 hisi_sas_phy_write32(hisi_hba, phy_no, DFX_FIFO_TRIGGER_MSK, in debugfs_update_fifo_config_v3_hw()
4524 reg_val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_CTRL); in debugfs_update_fifo_config_v3_hw()
4526 hisi_sas_phy_write32(hisi_hba, phy_no, DFX_FIFO_CTRL, reg_val); in debugfs_update_fifo_config_v3_hw()
4563 int phy_no = phy->sas_phy.id; in debugfs_read_fifo_data_v3_hw() local
4570 val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_CTRL); in debugfs_read_fifo_data_v3_hw()
4572 hisi_sas_phy_write32(hisi_hba, phy_no, DFX_FIFO_CTRL, val); in debugfs_read_fifo_data_v3_hw()
4575 val = hisi_sas_phy_read32(hisi_hba, phy_no, in debugfs_read_fifo_data_v3_hw()
4581 val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_CTRL); in debugfs_read_fifo_data_v3_hw()
4583 hisi_sas_phy_write32(hisi_hba, phy_no, DFX_FIFO_CTRL, val); in debugfs_read_fifo_data_v3_hw()
4601 int phy_no; in debugfs_fifo_init_v3_hw() local
4606 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in debugfs_fifo_init_v3_hw()
4607 struct hisi_sas_phy *phy = &hisi_hba->phy[phy_no]; in debugfs_fifo_init_v3_hw()
4613 val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_CTRL); in debugfs_fifo_init_v3_hw()
4618 val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_CTRL); in debugfs_fifo_init_v3_hw()
4623 val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_CTRL); in debugfs_fifo_init_v3_hw()
4628 val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_DUMP_MSK); in debugfs_fifo_init_v3_hw()
4631 val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_TRIGGER); in debugfs_fifo_init_v3_hw()
4633 val = hisi_sas_phy_read32(hisi_hba, phy_no, DFX_FIFO_TRIGGER_MSK); in debugfs_fifo_init_v3_hw()
4636 snprintf(name, 256, "%d", phy_no); in debugfs_fifo_init_v3_hw()
4804 int phy_no; in debugfs_phy_down_cnt_init_v3_hw() local
4806 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in debugfs_phy_down_cnt_init_v3_hw()
4807 snprintf(name, 16, "%d", phy_no); in debugfs_phy_down_cnt_init_v3_hw()
4809 &hisi_hba->phy[phy_no], in debugfs_phy_down_cnt_init_v3_hw()
4817 int phy_no; in debugfs_bist_init_v3_hw() local
4854 for (phy_no = 0; phy_no < hisi_hba->n_phy; phy_no++) { in debugfs_bist_init_v3_hw()
4860 snprintf(name, 256, "%d", phy_no); in debugfs_bist_init_v3_hw()
4868 &hisi_hba->debugfs_bist_ffe[phy_no][i], in debugfs_bist_init_v3_hw()