Lines Matching defs:pcs
29 #include "phy-qcom-qmp-pcs-misc-v3.h"
30 #include "phy-qcom-qmp-pcs-usb-v4.h"
31 #include "phy-qcom-qmp-pcs-usb-v5.h"
32 #include "phy-qcom-qmp-pcs-usb-v6.h"
1322 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */
1389 void __iomem *pcs;
2050 writel(0x4c, qmp->pcs + QSERDES_DP_PHY_MODE);
2052 writel(0x5c, qmp->pcs + QSERDES_DP_PHY_MODE);
2442 qphy_setbits(qmp->pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL],
2557 void __iomem *pcs = qmp->pcs;
2578 qmp_combo_configure(pcs, cfg->pcs_tbl, cfg->pcs_tbl_num);
2587 qphy_clrbits(pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
2590 qphy_setbits(pcs, cfg->regs[QPHY_START_CTRL], SERDES_START | PCS_START);
2592 status = pcs + cfg->regs[QPHY_PCS_STATUS];
2616 qphy_setbits(qmp->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
2619 qphy_clrbits(qmp->pcs, cfg->regs[QPHY_START_CTRL],
2623 qphy_clrbits(qmp->pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL],
2702 void __iomem *pcs_usb = qmp->pcs_usb ?: qmp->pcs;
2731 void __iomem *pcs_usb = qmp->pcs_usb ?: qmp->pcs;
3238 * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2;
3241 * Note that only tx/tx2 and pcs (dp_phy) are used by the DP
3266 * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2;
3277 qmp->pcs = devm_of_iomap(dev, np, 2, NULL);
3278 if (IS_ERR(qmp->pcs))
3279 return PTR_ERR(qmp->pcs);
3282 qmp->pcs_usb = qmp->pcs + cfg->pcs_usb_offset;
3366 qmp->pcs = base + offs->usb3_pcs;