Lines Matching defs:viadev

63 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x)  argument
204 struct viadev { struct
205 unsigned int reg_offset;
206 unsigned long port;
207 int direction; /* playback = 0, capture = 1 */
208 struct snd_pcm_substream *substream;
209 int running;
210 unsigned int tbl_entries; /* # descriptors */
211 struct snd_dma_buffer table;
235 struct viadev devs[VIA_MAX_MODEM_DEVS]; argument
453 static void snd_via82xx_channel_reset(struct via82xx_modem *chip, struct viadev *viadev) in snd_via82xx_channel_reset()
488 struct viadev *viadev = &chip->devs[i]; in snd_via82xx_interrupt() local
514 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_pcm_trigger() local
551 #define check_invalid_pos(viadev,pos) \ argument
556 struct viadev *viadev, in calc_linear_pos()
611 struct viadev *viadev = substream->runtime->private_data; in snd_via686_pcm_pointer() local
644 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_hw_params() local
666 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_hw_free() local
676 static void snd_via82xx_set_table_ptr(struct via82xx_modem *chip, struct viadev *viadev) in snd_via82xx_set_table_ptr()
690 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_pcm_prepare() local
728 static int snd_via82xx_modem_pcm_open(struct via82xx_modem *chip, struct viadev *viadev, in snd_via82xx_modem_pcm_open()
766 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via82xx_playback_open() local
777 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; in snd_via82xx_capture_open() local
787 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_pcm_close() local