Lines Matching refs:ptcr
63 u32 pdcr, ptcr;
69 ptcr = readl(audmux_base + IMX_AUDMUX_V2_PTCR(port));
78 ret = sysfs_emit(buf, "PDCR: %08x\nPTCR: %08x\n", pdcr, ptcr);
80 if (ptcr & IMX_AUDMUX_V2_PTCR_TFSDIR)
83 audmux_port_string((ptcr >> 27) & 0x7));
88 if (ptcr & IMX_AUDMUX_V2_PTCR_TCLKDIR)
91 audmux_port_string((ptcr >> 22) & 0x7));
98 if (ptcr & IMX_AUDMUX_V2_PTCR_SYN) {
102 if (ptcr & IMX_AUDMUX_V2_PTCR_RFSDIR)
105 audmux_port_string((ptcr >> 17) & 0x7));
110 if (ptcr & IMX_AUDMUX_V2_PTCR_RCLKDIR)
113 audmux_port_string((ptcr >> 12) & 0x7));
197 int imx_audmux_v2_configure_port(unsigned int port, unsigned int ptcr,
212 writel(ptcr, audmux_base + IMX_AUDMUX_V2_PTCR(port));
228 unsigned int ptcr = 0;
254 ptcr |= val;
272 imx_audmux_v2_configure_port(port, ptcr, pdcr);