Lines Matching refs:con
45 static void dbg_showcon(const char *fn, u32 con) in dbg_showcon() argument
48 bit_set(con, S3C2412_IISCON_LRINDEX), in dbg_showcon()
49 bit_set(con, S3C2412_IISCON_TXFIFO_EMPTY), in dbg_showcon()
50 bit_set(con, S3C2412_IISCON_RXFIFO_EMPTY), in dbg_showcon()
51 bit_set(con, S3C2412_IISCON_TXFIFO_FULL), in dbg_showcon()
52 bit_set(con, S3C2412_IISCON_RXFIFO_FULL)); in dbg_showcon()
56 bit_set(con, S3C2412_IISCON_TXDMA_PAUSE), in dbg_showcon()
57 bit_set(con, S3C2412_IISCON_RXDMA_PAUSE), in dbg_showcon()
58 bit_set(con, S3C2412_IISCON_TXCH_PAUSE), in dbg_showcon()
59 bit_set(con, S3C2412_IISCON_RXCH_PAUSE)); in dbg_showcon()
61 bit_set(con, S3C2412_IISCON_TXDMA_ACTIVE), in dbg_showcon()
62 bit_set(con, S3C2412_IISCON_RXDMA_ACTIVE), in dbg_showcon()
63 bit_set(con, S3C2412_IISCON_IIS_ACTIVE)); in dbg_showcon()
66 static inline void dbg_showcon(const char *fn, u32 con) in dbg_showcon() argument
75 u32 fic, con, mod; in s3c2412_snd_txctrl() local
80 con = readl(regs + S3C2412_IISCON); in s3c2412_snd_txctrl()
83 pr_debug("%s: IIS: CON=%x MOD=%x FIC=%x\n", __func__, con, mod, fic); in s3c2412_snd_txctrl()
86 con |= S3C2412_IISCON_TXDMA_ACTIVE | S3C2412_IISCON_IIS_ACTIVE; in s3c2412_snd_txctrl()
87 con &= ~S3C2412_IISCON_TXDMA_PAUSE; in s3c2412_snd_txctrl()
88 con &= ~S3C2412_IISCON_TXCH_PAUSE; in s3c2412_snd_txctrl()
107 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_txctrl()
115 con |= S3C2412_IISCON_TXDMA_PAUSE; in s3c2412_snd_txctrl()
116 con |= S3C2412_IISCON_TXCH_PAUSE; in s3c2412_snd_txctrl()
117 con &= ~S3C2412_IISCON_TXDMA_ACTIVE; in s3c2412_snd_txctrl()
127 con &= ~S3C2412_IISCON_IIS_ACTIVE; in s3c2412_snd_txctrl()
137 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_txctrl()
141 dbg_showcon(__func__, con); in s3c2412_snd_txctrl()
142 pr_debug("%s: IIS: CON=%x MOD=%x FIC=%x\n", __func__, con, mod, fic); in s3c2412_snd_txctrl()
148 u32 fic, con, mod; in s3c2412_snd_rxctrl() local
153 con = readl(regs + S3C2412_IISCON); in s3c2412_snd_rxctrl()
156 pr_debug("%s: IIS: CON=%x MOD=%x FIC=%x\n", __func__, con, mod, fic); in s3c2412_snd_rxctrl()
159 con |= S3C2412_IISCON_RXDMA_ACTIVE | S3C2412_IISCON_IIS_ACTIVE; in s3c2412_snd_rxctrl()
160 con &= ~S3C2412_IISCON_RXDMA_PAUSE; in s3c2412_snd_rxctrl()
161 con &= ~S3C2412_IISCON_RXCH_PAUSE; in s3c2412_snd_rxctrl()
180 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_rxctrl()
184 con &= ~S3C2412_IISCON_RXDMA_ACTIVE; in s3c2412_snd_rxctrl()
185 con |= S3C2412_IISCON_RXDMA_PAUSE; in s3c2412_snd_rxctrl()
186 con |= S3C2412_IISCON_RXCH_PAUSE; in s3c2412_snd_rxctrl()
190 con &= ~S3C2412_IISCON_IIS_ACTIVE; in s3c2412_snd_rxctrl()
204 writel(con, regs + S3C2412_IISCON); in s3c2412_snd_rxctrl()
209 pr_debug("%s: IIS: CON=%x MOD=%x FIC=%x\n", __func__, con, mod, fic); in s3c2412_snd_rxctrl()