Home
last modified time | relevance | path

Searched refs:wcreg (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/sound/pci/
Drme32.c200 u32 wcreg; /* cached write control register value */ member
238 #define RME32_ISWORKING(rme32) ((rme32)->wcreg & RME32_WCR_START)
402 writel(rme32->wcreg | RME32_WCR_PD, in snd_rme32_reset_dac()
404 writel(rme32->wcreg, rme32->iobase + RME32_IO_CONTROL_REGISTER); in snd_rme32_reset_dac()
411 rate = ((rme32->wcreg >> RME32_WCR_BITPOS_FREQ_0) & 1) + in snd_rme32_playback_getrate()
412 (((rme32->wcreg >> RME32_WCR_BITPOS_FREQ_1) & 1) << 1); in snd_rme32_playback_getrate()
426 return (rme32->wcreg & RME32_WCR_DS_BM) ? rate << 1 : rate; in snd_rme32_playback_getrate()
495 ds = rme32->wcreg & RME32_WCR_DS_BM; in snd_rme32_playback_setrate()
498 rme32->wcreg &= ~RME32_WCR_DS_BM; in snd_rme32_playback_setrate()
499 rme32->wcreg = (rme32->wcreg | RME32_WCR_FREQ_0) & in snd_rme32_playback_setrate()
[all …]
Drme96.c208 u32 wcreg; /* cached write control register value */ member
243 #define RME96_ISPLAYING(rme96) ((rme96)->wcreg & RME96_WCR_START)
244 #define RME96_ISRECORDING(rme96) ((rme96)->wcreg & RME96_WCR_START_2)
503 writel(rme96->wcreg | RME96_WCR_PD, in snd_rme96_reset_dac()
505 writel(rme96->wcreg, rme96->iobase + RME96_IO_CONTROL_REGISTER); in snd_rme96_reset_dac()
511 return ((rme96->wcreg >> RME96_WCR_BITPOS_MONITOR_0) & 1) + in snd_rme96_getmontracks()
512 (((rme96->wcreg >> RME96_WCR_BITPOS_MONITOR_1) & 1) << 1); in snd_rme96_getmontracks()
520 rme96->wcreg |= RME96_WCR_MONITOR_0; in snd_rme96_setmontracks()
522 rme96->wcreg &= ~RME96_WCR_MONITOR_0; in snd_rme96_setmontracks()
525 rme96->wcreg |= RME96_WCR_MONITOR_1; in snd_rme96_setmontracks()
[all …]