Lines Matching refs:viadev
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()
1130 struct viafb_dev *viadev = pdev->dev.platform_data; in viacam_probe() local
1154 if (viadev->camera_fbmem_size < (VGA_HEIGHT*VGA_WIDTH*4)) { in viacam_probe()
1158 if (viadev->engine_mmio == NULL) { in viacam_probe()
1174 cam->viadev = viadev; in viacam_probe()
1179 cam->mmio = viadev->engine_mmio; in viacam_probe()
1180 cam->fbmem = viadev->fbmem; in viacam_probe()
1181 cam->fb_offset = viadev->camera_fbmem_offset; in viacam_probe()
1199 pdev->dev.dma_mask = &viadev->pdev->dma_mask; in viacam_probe()
1233 ret = request_threaded_irq(viadev->pdev->irq, viacam_quick_irq, in viacam_probe()
1276 free_irq(viadev->pdev->irq, cam); in viacam_probe()
1291 struct viafb_dev *viadev = pdev->dev.platform_data; in viacam_remove() local
1298 free_irq(viadev->pdev->irq, cam); in viacam_remove()