• Home
  • Raw
  • Download

Lines Matching full:pcs

105 	/* PCS registers */
611 /* Init sequence for PHY blocks - serdes, tx, rx, pcs */
662 * @pcs: iomapped memory space for lane's pcs
673 void __iomem *pcs; member
999 /* bring both QMP USB and QMP DP PHYs PCS block out of reset */ in qcom_qmp_phy_com_init()
1087 void __iomem *pcs = qphy->pcs; in qcom_qmp_phy_init() local
1114 /* Tx, Rx, and PCS configurations */ in qcom_qmp_phy_init()
1126 qcom_qmp_phy_configure(pcs, cfg->regs, cfg->pcs_tbl, cfg->pcs_tbl_num); in qcom_qmp_phy_init()
1132 qphy_setbits(pcs, QPHY_POWER_DOWN_CONTROL, cfg->pwrdn_ctrl); in qcom_qmp_phy_init()
1138 qphy_clrbits(pcs, cfg->regs[QPHY_SW_RESET], SW_RESET); in qcom_qmp_phy_init()
1143 qphy_setbits(pcs, cfg->regs[QPHY_START_CTRL], cfg->start_ctrl); in qcom_qmp_phy_init()
1145 status = pcs + cfg->regs[QPHY_PCS_READY_STATUS]; in qcom_qmp_phy_init()
1178 qphy_setbits(qphy->pcs, cfg->regs[QPHY_SW_RESET], SW_RESET); in qcom_qmp_phy_exit()
1181 qphy_clrbits(qphy->pcs, cfg->regs[QPHY_START_CTRL], cfg->start_ctrl); in qcom_qmp_phy_exit()
1184 qphy_clrbits(qphy->pcs, QPHY_POWER_DOWN_CONTROL, cfg->pwrdn_ctrl); in qcom_qmp_phy_exit()
1210 void __iomem *pcs = qphy->pcs; in qcom_qmp_phy_enable_autonomous_mode() local
1221 qphy_setbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR); in qcom_qmp_phy_enable_autonomous_mode()
1223 qphy_clrbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR); in qcom_qmp_phy_enable_autonomous_mode()
1225 qphy_clrbits(pcs, cfg->regs[QPHY_PCS_AUTONOMOUS_MODE_CTRL], in qcom_qmp_phy_enable_autonomous_mode()
1229 qphy_setbits(pcs, cfg->regs[QPHY_PCS_AUTONOMOUS_MODE_CTRL], intr_mask); in qcom_qmp_phy_enable_autonomous_mode()
1240 void __iomem *pcs = qphy->pcs; in qcom_qmp_phy_disable_autonomous_mode() local
1247 qphy_clrbits(pcs, cfg->regs[QPHY_PCS_AUTONOMOUS_MODE_CTRL], in qcom_qmp_phy_disable_autonomous_mode()
1250 qphy_setbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR); in qcom_qmp_phy_disable_autonomous_mode()
1252 qphy_clrbits(pcs, cfg->regs[QPHY_PCS_LFPS_RXTERM_IRQ_CLEAR], IRQ_CLEAR); in qcom_qmp_phy_disable_autonomous_mode()
1444 * Resources are indexed as: tx -> 0; rx -> 1; pcs -> 2; and in qcom_qmp_phy_create()
1455 qphy->pcs = of_iomap(np, 2); in qcom_qmp_phy_create()
1456 if (!qphy->pcs) in qcom_qmp_phy_create()