Home
last modified time | relevance | path

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

/sound/pci/
Dvia82xx_modem.c64 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) argument
205 struct viadev { struct
236 struct viadev devs[VIA_MAX_MODEM_DEVS]; argument
264 static int build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in build_via_table()
338 static int clean_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in clean_via_table()
451 static void snd_via82xx_channel_reset(struct via82xx_modem *chip, struct viadev *viadev) in snd_via82xx_channel_reset() argument
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()
[all …]
Dvia82xx.c125 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) argument
310 struct viadev { struct
369 struct viadev devs[VIA_MAX_DEVS];
411 static int build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in build_via_table()
484 static int clean_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in clean_via_table()
595 static void snd_via82xx_channel_reset(struct via82xx *chip, struct viadev *viadev) in snd_via82xx_channel_reset() argument
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()
[all …]