Lines Matching full:pcs

27 #include "phy-qcom-qmp-pcs-ufs-v2.h"
28 #include "phy-qcom-qmp-pcs-ufs-v3.h"
29 #include "phy-qcom-qmp-pcs-ufs-v4.h"
30 #include "phy-qcom-qmp-pcs-ufs-v5.h"
31 #include "phy-qcom-qmp-pcs-ufs-v6.h"
45 /* PCS registers */
1073 u16 pcs; member
1081 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */
1088 const struct qmp_phy_init_tbl *pcs; member
1102 /* Main init sequence for PHY blocks - serdes, tx, rx, pcs */
1116 /* true, if PCS block has no separate SW_RESET register */
1126 void __iomem *pcs; member
1245 .pcs = 0xc00,
1254 .pcs = 0x0400,
1297 .pcs = sm8350_ufsphy_pcs,
1309 .pcs = sm8350_ufsphy_g4_pcs,
1331 .pcs = sc7280_ufsphy_pcs,
1343 .pcs = sm8150_ufsphy_hs_g4_pcs,
1365 .pcs = sm8350_ufsphy_pcs,
1377 .pcs = sm8350_ufsphy_g4_pcs,
1399 .pcs = sdm845_ufsphy_pcs,
1426 .pcs = sm6115_ufsphy_pcs,
1453 .pcs = sm7150_ufsphy_pcs,
1480 .pcs = sm8150_ufsphy_pcs,
1492 .pcs = sm8150_ufsphy_hs_g4_pcs,
1514 .pcs = sm8150_ufsphy_pcs,
1526 .pcs = sm8150_ufsphy_hs_g4_pcs,
1548 .pcs = sm8350_ufsphy_pcs,
1560 .pcs = sm8350_ufsphy_g4_pcs,
1582 .pcs = sm8350_ufsphy_pcs,
1594 .pcs = sm8350_ufsphy_g4_pcs,
1616 .pcs = sm8550_ufsphy_pcs,
1630 .pcs = sm8475_ufsphy_g4_pcs,
1652 .pcs = sm8550_ufsphy_pcs,
1666 .pcs = sm8550_ufsphy_g4_pcs,
1675 .pcs = sm8550_ufsphy_g5_pcs,
1697 .pcs = sm8650_ufsphy_pcs,
1701 .pcs = sm8650_ufsphy_g4_pcs,
1706 .pcs = sm8650_ufsphy_g5_pcs,
1729 .pcs = sm8750_ufsphy_pcs,
1734 .pcs = sm8750_ufsphy_hs_b_pcs,
1739 .pcs = sm8750_ufsphy_g4_pcs,
1744 .pcs = sm8650_ufsphy_g5_pcs,
1779 void __iomem *pcs = qmp->pcs; in qmp_ufs_pcs_init() local
1781 qmp_configure(qmp->dev, pcs, tbls->pcs, tbls->pcs_num); in qmp_ufs_pcs_init()
1836 void __iomem *pcs = qmp->pcs; in qmp_ufs_power_on() local
1849 qphy_setbits(pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL], SW_PWRDN); in qmp_ufs_power_on()
1861 void __iomem *pcs = qmp->pcs; in qmp_ufs_phy_calibrate() local
1878 qphy_clrbits(pcs, cfg->regs[QPHY_SW_RESET], SW_RESET); in qmp_ufs_phy_calibrate()
1881 qphy_setbits(pcs, cfg->regs[QPHY_START_CTRL], SERDES_START); in qmp_ufs_phy_calibrate()
1883 status = pcs + cfg->regs[QPHY_PCS_READY_STATUS]; in qmp_ufs_phy_calibrate()
1900 qphy_clrbits(qmp->pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL], in qmp_ufs_power_off()
2041 * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2. in qmp_ufs_parse_dt_legacy()
2053 qmp->pcs = devm_of_iomap(dev, np, 2, NULL); in qmp_ufs_parse_dt_legacy()
2054 if (IS_ERR(qmp->pcs)) in qmp_ufs_parse_dt_legacy()
2055 return PTR_ERR(qmp->pcs); in qmp_ufs_parse_dt_legacy()
2092 qmp->pcs = base + offs->pcs; in qmp_ufs_parse_dt()