Lines Matching defs:video
7 * and creates the v4l2 video devices.
131 mgb4_mask_reg(&mgbdev->video, voutdev->config->regs.config, 0x2, 0x0);
141 struct mgb4_regs *video = &mgbdev->video;
147 mgb4_mask_reg(video, config->regs.config, 0x2, 0x2);
149 addr = mgb4_read_reg(video, config->regs.address);
239 struct mgb4_regs *video = &voutdev->mgbdev->video;
247 mgb4_write_reg(video, voutdev->config->regs.padding, voutdev->padding);
298 struct mgb4_regs *video = &voutdev->mgbdev->video;
304 config = mgb4_read_reg(video, voutdev->config->regs.config);
319 resolution = mgb4_read_reg(video, voutdev->config->regs.resolution);
343 struct mgb4_regs *video = &voutdev->mgbdev->video;
360 addr = mgb4_read_reg(video, voutdev->config->regs.address);
381 struct mgb4_regs *video = &voutdev->mgbdev->video;
385 mgb4_write_reg(video, 0xB4, 1U << voutdev->config->irq);
421 struct mgb4_regs *video = &voutdev->mgbdev->video;
424 mgb4_write_reg(video, regs->config, 0x00000011);
425 mgb4_write_reg(video, regs->resolution,
427 mgb4_write_reg(video, regs->hsync, 0x00102020);
428 mgb4_write_reg(video, regs->vsync, 0x40020202);
429 mgb4_write_reg(video, regs->frame_period, MGB4_DEFAULT_PERIOD);
430 mgb4_write_reg(video, regs->padding, 0x00000000);
434 mgb4_write_reg(video, regs->config,
441 struct mgb4_regs *video = &voutdev->mgbdev->video;
463 voutdev->regset.base = video->membase;
551 dev_err(dev, "failed to register video device\n");