Searched refs:viadev (Results 1 – 3 of 3) sorted by relevance
| /linux/sound/pci/ |
| H A D | via82xx_modem.c | 63 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) argument 204 struct viadev { struct 235 struct viadev devs[VIA_MAX_MODEM_DEVS]; argument 263 static int build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in build_via_table() 337 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_CONTRO in snd_via82xx_channel_reset() 205 reg_offsetviadev global() argument 206 portviadev global() argument 207 directionviadev global() argument 208 substreamviadev global() argument 209 runningviadev global() argument 210 tbl_entriesviadev global() argument 211 tableviadev global() argument 486 struct viadev *viadev = &chip->devs[i]; snd_via82xx_interrupt() local 511 struct viadev *viadev = substream->runtime->private_data; snd_via82xx_pcm_trigger() local 548 check_invalid_pos(viadev,pos) global() argument 553 calc_linear_pos(struct via82xx_modem * chip,struct viadev * viadev,unsigned int idx,unsigned int count) calc_linear_pos() argument 608 struct viadev *viadev = substream->runtime->private_data; snd_via686_pcm_pointer() local 640 struct viadev *viadev = substream->runtime->private_data; snd_via82xx_hw_params() local 662 struct viadev *viadev = substream->runtime->private_data; snd_via82xx_hw_free() local 672 snd_via82xx_set_table_ptr(struct via82xx_modem * chip,struct viadev * viadev) snd_via82xx_set_table_ptr() argument 686 struct viadev *viadev = substream->runtime->private_data; snd_via82xx_pcm_prepare() local 724 snd_via82xx_modem_pcm_open(struct via82xx_modem * chip,struct viadev * viadev,struct snd_pcm_substream * substream) snd_via82xx_modem_pcm_open() argument 762 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; snd_via82xx_playback_open() local 773 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; snd_via82xx_capture_open() local 783 struct viadev *viadev = substream->runtime->private_data; snd_via82xx_pcm_close() local [all...] |
| H A D | via82xx.c | 124 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) argument 309 struct viadev { struct 366 struct viadev devs[VIA_MAX_DEVS]; 408 static int build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in build_via_table() 481 static int clean_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in clean_via_table() 593 static void snd_via82xx_channel_reset(struct via82xx *chip, struct viadev *viadev) in snd_via82xx_channel_reset() argument 596 VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 597 inb(VIADEV_REG(viadev, OFFSET_CONTRO in snd_via82xx_channel_reset() 310 reg_offsetviadev global() argument 311 portviadev global() argument 312 directionviadev global() argument 313 substreamviadev global() argument 314 runningviadev global() argument 315 tbl_entriesviadev global() argument 316 tableviadev global() argument 317 idx_tableviadev global() argument 319 lastposviadev global() argument 320 fragsizeviadev global() argument 321 bufsizeviadev global() argument 322 bufsize2viadev global() argument 323 hwptr_doneviadev global() argument 324 in_interruptviadev global() argument 325 shadow_shiftviadev global() argument 631 struct viadev *viadev = &chip->devs[i]; snd_via686_interrupt() local 671 struct viadev *viadev = &chip->devs[i]; snd_via8233_interrupt() local 719 struct viadev *viadev = substream->runtime->private_data; snd_via82xx_pcm_trigger() local 762 check_invalid_pos(viadev,pos) global() argument 767 calc_linear_pos(struct via82xx * chip,struct viadev * viadev,unsigned int idx,unsigned int count) calc_linear_pos() argument 824 struct viadev *viadev = substream->runtime->private_data; snd_via686_pcm_pointer() local 854 struct viadev *viadev = substream->runtime->private_data; snd_via8233_pcm_pointer() local 915 struct viadev *viadev = substream->runtime->private_data; snd_via82xx_hw_params() local 929 struct viadev *viadev = substream->runtime->private_data; snd_via82xx_hw_free() local 939 snd_via82xx_set_table_ptr(struct via82xx * chip,struct viadev * viadev) snd_via82xx_set_table_ptr() argument 950 via686_setup_format(struct via82xx * chip,struct viadev * viadev,struct snd_pcm_runtime * runtime) via686_setup_format() argument 967 struct viadev *viadev = substream->runtime->private_data; snd_via686_playback_prepare() local 979 struct viadev *viadev = substream->runtime->private_data; snd_via686_capture_prepare() local 1012 struct viadev *viadev = substream->runtime->private_data; snd_via8233_playback_prepare() local 1055 struct viadev *viadev = substream->runtime->private_data; snd_via8233_multi_prepare() local 1104 struct viadev *viadev = substream->runtime->private_data; snd_via8233_capture_prepare() local 1151 snd_via82xx_pcm_open(struct via82xx * chip,struct viadev * viadev,struct snd_pcm_substream * substream) snd_via82xx_pcm_open() argument 1216 struct viadev *viadev = &chip->devs[chip->playback_devno + substream->number]; snd_via686_playback_open() local 1231 struct viadev *viadev; snd_via8233_playback_open() local 1260 struct viadev *viadev = &chip->devs[chip->multi_devno]; snd_via8233_multi_open() local 1291 struct viadev *viadev = &chip->devs[chip->capture_devno + substream->pcm->device]; snd_via82xx_capture_open() local 1302 struct viadev *viadev = substream->runtime->private_data; snd_via82xx_pcm_close() local 1331 struct viadev *viadev = substream->runtime->private_data; snd_via8233_playback_close() local [all...] |
| /linux/drivers/media/platform/via/ |
| H A D | via-camera.c | 65 struct viafb_dev *viadev; member 305 spin_lock(&cam->viadev->reg_lock); in viacam_quick_irq() 312 spin_unlock(&cam->viadev->reg_lock); in viacam_quick_irq() 399 int nbuf = cam->viadev->camera_fbmem_size/cam->sensor_format.sizeimage; in viacam_ctlr_cbufs() 525 spin_lock_irqsave(&cam->viadev->reg_lock, flags); in viacam_config_controller() 529 spin_unlock_irqrestore(&cam->viadev->reg_lock, flags); in viacam_config_controller() 539 spin_lock_irq(&cam->viadev->reg_lock); in viacam_start_engine() 544 spin_unlock_irq(&cam->viadev->reg_lock); in viacam_start_engine() 550 spin_lock_irq(&cam->viadev->reg_lock); in viacam_stop_engine() 555 spin_unlock_irq(&cam->viadev->reg_lock); in viacam_stop_engine() [all …]
|