Lines Matching refs:VIADEV_REG
78 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) macro
466 VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
467 inb(VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
470 outb(0x00, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
472 outb(0x03, VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_channel_reset()
473 outb(0x00, VIADEV_REG(viadev, OFFSET_TYPE)); /* for via686 */ in snd_via82xx_channel_reset()
499 unsigned char c_status = inb(VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_interrupt()
508 outb(c_status, VIADEV_REG(viadev, OFFSET_STATUS)); /* ack */ in snd_via82xx_interrupt()
547 outb(val, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_pcm_trigger()
626 if (!(inb(VIADEV_REG(viadev, OFFSET_STATUS)) & VIA_REG_STAT_ACTIVE)) in snd_via686_pcm_pointer()
630 count = inl(VIADEV_REG(viadev, OFFSET_CURR_COUNT)) & 0xffffff; in snd_via686_pcm_pointer()
634 ptr = inl(VIADEV_REG(viadev, OFFSET_CURR_PTR)); in snd_via686_pcm_pointer()
693 outl((u32)viadev->table.addr, VIADEV_REG(viadev, OFFSET_TABLE_PTR)); in snd_via82xx_set_table_ptr()
710 VIADEV_REG(viadev, OFFSET_TYPE)); in snd_via82xx_pcm_prepare()