Home
last modified time | relevance | path

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

/sound/pci/
Dvia82xx_modem.c64 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) macro
454 VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
455 inb(VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
458 outb(0x00, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
460 outb(0x03, VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_channel_reset()
461 outb(0x00, VIADEV_REG(viadev, OFFSET_TYPE)); /* for via686 */ in snd_via82xx_channel_reset()
487 unsigned char c_status = inb(VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_interrupt()
496 outb(c_status, VIADEV_REG(viadev, OFFSET_STATUS)); /* ack */ in snd_via82xx_interrupt()
535 outb(val, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_pcm_trigger()
614 if (!(inb(VIADEV_REG(viadev, OFFSET_STATUS)) & VIA_REG_STAT_ACTIVE)) in snd_via686_pcm_pointer()
[all …]
Dvia82xx.c125 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) macro
598 VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
599 inb(VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
602 outb(0x00, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
604 outb(0x03, VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_channel_reset()
605 outb(0x00, VIADEV_REG(viadev, OFFSET_TYPE)); /* for via686 */ in snd_via82xx_channel_reset()
634 unsigned char c_status = inb(VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via686_interrupt()
653 outb(c_status, VIADEV_REG(viadev, OFFSET_STATUS)); /* ack */ in snd_via686_interrupt()
706 outb(c_status, VIADEV_REG(viadev, OFFSET_STATUS)); /* ack */ in snd_via8233_interrupt()
751 outb(val, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_pcm_trigger()
[all …]