Lines Matching full:pcs
29 #include "phy-qcom-qmp-pcs-misc-v3.h"
35 /* PCS registers */
289 u16 pcs;
302 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */
326 void __iomem *pcs;
401 .pcs = 0xc00,
461 void __iomem *pcs = qmp->pcs;
487 qphy_setbits(pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL], SW_PWRDN);
538 /* Tx, Rx, and PCS configurations */
545 qmp_configure(qmp->dev, qmp->pcs, cfg->pcs_tbl, cfg->pcs_tbl_num);
548 qphy_clrbits(qmp->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
551 qphy_setbits(qmp->pcs, cfg->regs[QPHY_START_CTRL], SERDES_START | PCS_START);
553 status = qmp->pcs + cfg->regs[QPHY_PCS_STATUS];
577 qphy_setbits(qmp->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET);
580 qphy_clrbits(qmp->pcs, cfg->regs[QPHY_START_CTRL],
584 qphy_clrbits(qmp->pcs, cfg->regs[QPHY_PCS_POWER_DOWN_CONTROL],
645 void __iomem *pcs = qmp->pcs;
655 qphy_setbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR);
657 qphy_clrbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR);
659 qphy_clrbits(pcs, cfg->regs[QPHY_PCS_AUTONOMOUS_MODE_CTRL],
663 qphy_setbits(pcs, cfg->regs[QPHY_PCS_AUTONOMOUS_MODE_CTRL], intr_mask);
673 void __iomem *pcs = qmp->pcs;
679 qphy_clrbits(pcs, cfg->regs[QPHY_PCS_AUTONOMOUS_MODE_CTRL],
682 qphy_setbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR);
684 qphy_clrbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR);
922 * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2.
934 qmp->pcs = devm_of_iomap(dev, np, 2, NULL);
935 if (IS_ERR(qmp->pcs))
936 return PTR_ERR(qmp->pcs);
989 qmp->pcs = base + offs->pcs;