Lines Matching defs:pcs
23 #include "phy-qcom-qmp-pcs-misc-v3.h"
24 #include "phy-qcom-qmp-pcs-usb-v4.h"
25 #include "phy-qcom-qmp-pcs-usb-v5.h"
1153 u16 pcs;
1169 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */
1207 void __iomem *pcs;
1293 .pcs = 0x800,
1301 .pcs = 0xc00,
1311 .pcs = 0x0200,
1658 void __iomem *pcs = qmp->pcs;
1683 qphy_setbits(pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL], SW_PWRDN);
1715 void __iomem *pcs = qmp->pcs;
1738 qmp_usb_configure(pcs, cfg->pcs_tbl, cfg->pcs_tbl_num);
1747 qphy_clrbits(pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
1750 qphy_setbits(pcs, cfg->regs[QPHY_START_CTRL], SERDES_START | PCS_START);
1752 status = pcs + cfg->regs[QPHY_PCS_STATUS];
1776 qphy_setbits(qmp->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
1779 qphy_clrbits(qmp->pcs, cfg->regs[QPHY_START_CTRL],
1783 qphy_clrbits(qmp->pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL],
1833 void __iomem *pcs_usb = qmp->pcs_usb ?: qmp->pcs;
1862 void __iomem *pcs_usb = qmp->pcs_usb ?: qmp->pcs;
2080 * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2.
2092 qmp->pcs = qmp_usb_iomap(dev, np, 2, exclusive);
2093 if (IS_ERR(qmp->pcs))
2094 return PTR_ERR(qmp->pcs);
2097 qmp->pcs_usb = qmp->pcs + cfg->pcs_usb_offset;
2143 qmp->pcs = base + offs->pcs;