Lines Matching defs:viadev
78 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) argument
219 struct viadev { struct
220 unsigned int reg_offset;
221 unsigned long port;
222 int direction; /* playback = 0, capture = 1 */
223 struct snd_pcm_substream *substream;
224 int running;
225 unsigned int tbl_entries; /* # descriptors */
226 struct snd_dma_buffer table;
250 struct viadev devs[VIA_MAX_MODEM_DEVS]; argument
463 static void snd_via82xx_channel_reset(struct via82xx_modem *chip, struct viadev *viadev) in snd_via82xx_channel_reset()
498 struct viadev *viadev = &chip->devs[i]; in snd_via82xx_interrupt() local
524 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_pcm_trigger() local
561 #define check_invalid_pos(viadev,pos) \ argument
566 struct viadev *viadev, in calc_linear_pos()
621 struct viadev *viadev = substream->runtime->private_data; in snd_via686_pcm_pointer() local
654 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_hw_params() local
679 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_hw_free() local
690 static void snd_via82xx_set_table_ptr(struct via82xx_modem *chip, struct viadev *viadev) in snd_via82xx_set_table_ptr()
704 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_pcm_prepare() local
742 static int snd_via82xx_modem_pcm_open(struct via82xx_modem *chip, struct viadev *viadev, in snd_via82xx_modem_pcm_open()
778 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; in snd_via82xx_playback_open() local
789 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; in snd_via82xx_capture_open() local
799 struct viadev *viadev = substream->runtime->private_data; in snd_via82xx_pcm_close() local