Lines Matching refs:CS4231U

128 #define CS4231U(chip, x)	((chip)->port + ((c_d_c_CS4231##x) << 2))  macro
282 int val = __cs4231_readb(chip, CS4231U(chip, REGSEL)); in snd_cs4231_ready()
294 if (__cs4231_readb(chip, CS4231U(chip, REGSEL)) & CS4231_INIT) in snd_cs4231_dout()
299 __cs4231_writeb(chip, chip->mce_bit | reg, CS4231U(chip, REGSEL)); in snd_cs4231_dout()
301 __cs4231_writeb(chip, value, CS4231U(chip, REG)); in snd_cs4231_dout()
327 if (__cs4231_readb(chip, CS4231U(chip, REGSEL)) & CS4231_INIT) in snd_cs4231_in()
331 __cs4231_writeb(chip, chip->mce_bit | reg, CS4231U(chip, REGSEL)); in snd_cs4231_in()
333 return __cs4231_readb(chip, CS4231U(chip, REG)); in snd_cs4231_in()
346 __cs4231_readb(chip, CS4231U(chip, REGSEL)); in snd_cs4231_busy_wait()
350 int val = __cs4231_readb(chip, CS4231U(chip, REGSEL)); in snd_cs4231_busy_wait()
365 if (__cs4231_readb(chip, CS4231U(chip, REGSEL)) & CS4231_INIT) in snd_cs4231_mce_up()
369 timeout = __cs4231_readb(chip, CS4231U(chip, REGSEL)); in snd_cs4231_mce_up()
376 CS4231U(chip, REGSEL)); in snd_cs4231_mce_up()
388 if (__cs4231_readb(chip, CS4231U(chip, REGSEL)) & CS4231_INIT) in snd_cs4231_mce_down()
390 CS4231U(chip, REGSEL)); in snd_cs4231_mce_down()
393 reg = __cs4231_readb(chip, CS4231U(chip, REGSEL)); in snd_cs4231_mce_down()
395 CS4231U(chip, REGSEL)); in snd_cs4231_mce_down()
790 __cs4231_writeb(chip, 0, CS4231U(chip, STATUS)); /* clear IRQ */ in snd_cs4231_open()
791 __cs4231_writeb(chip, 0, CS4231U(chip, STATUS)); /* clear IRQ */ in snd_cs4231_open()
820 __cs4231_writeb(chip, 0, CS4231U(chip, STATUS)); /* clear IRQ */ in snd_cs4231_close()
821 __cs4231_writeb(chip, 0, CS4231U(chip, STATUS)); /* clear IRQ */ in snd_cs4231_close()
843 __cs4231_writeb(chip, 0, CS4231U(chip, STATUS)); /* clear IRQ */ in snd_cs4231_close()
844 __cs4231_writeb(chip, 0, CS4231U(chip, STATUS)); /* clear IRQ */ in snd_cs4231_close()
1029 if (__cs4231_readb(chip, CS4231U(chip, REGSEL)) & CS4231_INIT) in snd_cs4231_probe()
1048 __cs4231_readb(chip, CS4231U(chip, STATUS)); in snd_cs4231_probe()
1049 __cs4231_writeb(chip, 0, CS4231U(chip, STATUS)); in snd_cs4231_probe()
1614 if (!(__cs4231_readb(chip, CS4231U(chip, STATUS)) & CS4231_GLOBALIRQ)) in snd_cs4231_sbus_interrupt()