Lines Matching refs:ptcr
63 u32 pdcr, ptcr; in audmux_read_file() local
69 ptcr = readl(audmux_base + IMX_AUDMUX_V2_PTCR(port)); in audmux_read_file()
79 pdcr, ptcr); in audmux_read_file()
81 if (ptcr & IMX_AUDMUX_V2_PTCR_TFSDIR) in audmux_read_file()
84 audmux_port_string((ptcr >> 27) & 0x7)); in audmux_read_file()
89 if (ptcr & IMX_AUDMUX_V2_PTCR_TCLKDIR) in audmux_read_file()
92 audmux_port_string((ptcr >> 22) & 0x7)); in audmux_read_file()
99 if (ptcr & IMX_AUDMUX_V2_PTCR_SYN) { in audmux_read_file()
103 if (ptcr & IMX_AUDMUX_V2_PTCR_RFSDIR) in audmux_read_file()
106 audmux_port_string((ptcr >> 17) & 0x7)); in audmux_read_file()
111 if (ptcr & IMX_AUDMUX_V2_PTCR_RCLKDIR) in audmux_read_file()
114 audmux_port_string((ptcr >> 12) & 0x7)); in audmux_read_file()
198 int imx_audmux_v2_configure_port(unsigned int port, unsigned int ptcr, in imx_audmux_v2_configure_port() argument
213 writel(ptcr, audmux_base + IMX_AUDMUX_V2_PTCR(port)); in imx_audmux_v2_configure_port()
229 unsigned int ptcr = 0; in imx_audmux_parse_dt_defaults() local
255 ptcr |= val; in imx_audmux_parse_dt_defaults()
273 imx_audmux_v2_configure_port(port, ptcr, pdcr); in imx_audmux_parse_dt_defaults()