Lines Matching defs:viadev
124 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) argument
309 struct viadev { struct
310 unsigned int reg_offset;
311 unsigned long port;
312 int direction; /* playback = 0, capture = 1 */
313 struct snd_pcm_substream *substream;
314 int running;
315 unsigned int tbl_entries; /* # descriptors */
316 struct snd_dma_buffer table;
317 struct snd_via_sg_table *idx_table;
319 unsigned int lastpos;
320 unsigned int fragsize;
321 unsigned int bufsize;
322 unsigned int bufsize2;
323 int hwptr_done; /* processed frame position in the buffer */
324 int in_interrupt;
325 int shadow_shift;
595 static void snd_via82xx_channel_reset(struct via82xx *chip, struct viadev *viadev) in snd_via82xx_channel_reset()
633 struct viadev *viadev = &chip->devs[i]; in snd_via686_interrupt() local
674 struct viadev *viadev = &chip->devs[i]; in snd_via8233_interrupt() local
723 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_pcm_trigger() local
766 #define check_invalid_pos(viadev,pos) \ argument
771 struct viadev *viadev, in calc_linear_pos()
828 struct viadev *viadev = substream->runtime->private_data; in snd_via686_pcm_pointer() local
859 struct viadev *viadev = substream->runtime->private_data; in snd_via8233_pcm_pointer() local
921 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_hw_params() local
935 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_hw_free() local
945 static void snd_via82xx_set_table_ptr(struct via82xx *chip, struct viadev *viadev) in snd_via82xx_set_table_ptr()
956 static void via686_setup_format(struct via82xx *chip, struct viadev *viadev, in via686_setup_format()
973 struct viadev *viadev = substream->runtime->private_data; in snd_via686_playback_prepare() local
985 struct viadev *viadev = substream->runtime->private_data; in snd_via686_capture_prepare() local
1019 struct viadev *viadev = substream->runtime->private_data; in snd_via8233_playback_prepare() local
1062 struct viadev *viadev = substream->runtime->private_data; in snd_via8233_multi_prepare() local
1111 struct viadev *viadev = substream->runtime->private_data; in snd_via8233_capture_prepare() local
1158 static int snd_via82xx_pcm_open(struct via82xx *chip, struct viadev *viadev, in snd_via82xx_pcm_open()
1223 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via686_playback_open() local
1238 struct viadev *viadev; in snd_via8233_playback_open() local
1267 struct viadev *viadev = &chip->devs[chip->multi_devno]; in snd_via8233_multi_open() local
1298 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; in snd_via82xx_capture_open() local
1309 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_pcm_close() local
1338 struct viadev *viadev = substream->runtime->private_data; in snd_via8233_playback_close() local