Searched refs:viadev (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/sound/pci/ |
D | via82xx_modem.c | 64 #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() 340 static int clean_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in clean_via_table() 453 static void snd_via82xx_channel_reset(struct via82xx_modem *chip, struct viadev *viadev) in snd_via82xx_channel_reset() argument 456 VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 457 inb(VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 460 outb(0x00, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 462 outb(0x03, VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_channel_reset() [all …]
|
D | via82xx.c | 125 #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() 486 static int clean_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in clean_via_table() 597 static void snd_via82xx_channel_reset(struct via82xx *chip, struct viadev *viadev) in snd_via82xx_channel_reset() argument 600 VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 601 inb(VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 604 outb(0x00, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 606 outb(0x03, VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_channel_reset() [all …]
|
/Linux-v5.10/drivers/media/platform/ |
D | via-camera.c | 66 struct viafb_dev *viadev; member 316 spin_lock(&cam->viadev->reg_lock); in viacam_quick_irq() 323 spin_unlock(&cam->viadev->reg_lock); in viacam_quick_irq() 410 int nbuf = cam->viadev->camera_fbmem_size/cam->sensor_format.sizeimage; in viacam_ctlr_cbufs() 536 spin_lock_irqsave(&cam->viadev->reg_lock, flags); in viacam_config_controller() 540 spin_unlock_irqrestore(&cam->viadev->reg_lock, flags); in viacam_config_controller() 550 spin_lock_irq(&cam->viadev->reg_lock); in viacam_start_engine() 555 spin_unlock_irq(&cam->viadev->reg_lock); in viacam_start_engine() 561 spin_lock_irq(&cam->viadev->reg_lock); in viacam_stop_engine() 566 spin_unlock_irq(&cam->viadev->reg_lock); in viacam_stop_engine() [all …]
|