Searched refs:viadev (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/sound/pci/ |
D | via82xx_modem.c | 78 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) argument 219 struct viadev { struct 250 struct viadev devs[VIA_MAX_MODEM_DEVS]; argument 278 static int build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in build_via_table() 350 static int clean_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in clean_via_table() 463 static void snd_via82xx_channel_reset(struct via82xx_modem *chip, struct viadev *viadev) in snd_via82xx_channel_reset() argument 466 VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 467 inb(VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 470 outb(0x00, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 472 outb(0x03, VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_channel_reset() [all …]
|
D | via82xx.c | 139 #define VIADEV_REG(viadev, x) ((viadev)->port + VIA_REG_##x) argument 324 struct viadev { struct 383 struct viadev devs[VIA_MAX_DEVS]; 425 static int build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in build_via_table() 496 static int clean_via_table(struct viadev *dev, struct snd_pcm_substream *substream, in clean_via_table() 607 static void snd_via82xx_channel_reset(struct via82xx *chip, struct viadev *viadev) in snd_via82xx_channel_reset() argument 610 VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 611 inb(VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 614 outb(0x00, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset() 616 outb(0x03, VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_channel_reset() [all …]
|
/linux-4.4.14/drivers/media/platform/ |
D | via-camera.c | 63 struct viafb_dev *viadev; member 313 spin_lock(&cam->viadev->reg_lock); in viacam_quick_irq() 320 spin_unlock(&cam->viadev->reg_lock); in viacam_quick_irq() 332 spin_lock_irqsave(&cam->viadev->reg_lock, flags); in viacam_next_buffer() 345 spin_unlock_irqrestore(&cam->viadev->reg_lock, flags); in viacam_next_buffer() 416 int nbuf = cam->viadev->camera_fbmem_size/cam->sensor_format.sizeimage; in viacam_ctlr_cbufs() 542 spin_lock_irqsave(&cam->viadev->reg_lock, flags); in viacam_config_controller() 546 spin_unlock_irqrestore(&cam->viadev->reg_lock, flags); in viacam_config_controller() 556 spin_lock_irq(&cam->viadev->reg_lock); in viacam_start_engine() 562 spin_unlock_irq(&cam->viadev->reg_lock); in viacam_start_engine() [all …]
|