Lines Matching refs:ptcr
71 u32 pdcr, ptcr; in audmux_read_file() local
82 ptcr = readl(audmux_base + IMX_AUDMUX_V2_PTCR(port)); in audmux_read_file()
89 pdcr, ptcr); in audmux_read_file()
91 if (ptcr & IMX_AUDMUX_V2_PTCR_TFSDIR) in audmux_read_file()
94 audmux_port_string((ptcr >> 27) & 0x7)); in audmux_read_file()
99 if (ptcr & IMX_AUDMUX_V2_PTCR_TCLKDIR) in audmux_read_file()
102 audmux_port_string((ptcr >> 22) & 0x7)); in audmux_read_file()
109 if (ptcr & IMX_AUDMUX_V2_PTCR_SYN) { in audmux_read_file()
113 if (ptcr & IMX_AUDMUX_V2_PTCR_RFSDIR) in audmux_read_file()
116 audmux_port_string((ptcr >> 17) & 0x7)); in audmux_read_file()
121 if (ptcr & IMX_AUDMUX_V2_PTCR_RCLKDIR) in audmux_read_file()
124 audmux_port_string((ptcr >> 12) & 0x7)); in audmux_read_file()
227 int imx_audmux_v2_configure_port(unsigned int port, unsigned int ptcr, in imx_audmux_v2_configure_port() argument
239 writel(ptcr, audmux_base + IMX_AUDMUX_V2_PTCR(port)); in imx_audmux_v2_configure_port()