Searched refs:voutdev (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_vout.c | 64 static void get_timings(struct mgb4_vout_dev *voutdev, in get_timings() argument 67 struct mgb4_regs *video = &voutdev->mgbdev->video; in get_timings() 68 const struct mgb4_vout_regs *regs = &voutdev->config->regs; in get_timings() 82 timings->bt.pixelclock = voutdev->freq * 1000; in get_timings() 91 static void return_all_buffers(struct mgb4_vout_dev *voutdev, in return_all_buffers() argument 97 spin_lock_irqsave(&voutdev->qlock, flags); in return_all_buffers() 98 list_for_each_entry_safe(buf, node, &voutdev->buf_list, list) { in return_all_buffers() 102 spin_unlock_irqrestore(&voutdev->qlock, flags); in return_all_buffers() 109 struct mgb4_vout_dev *voutdev = vb2_get_drv_priv(q); in queue_setup() local 110 struct mgb4_regs *video = &voutdev->mgbdev->video; in queue_setup() [all …]
|
H A D | mgb4_sysfs_out.c | 21 struct mgb4_vout_dev *voutdev; in loopin_cnt() local 26 voutdev = vindev->mgbdev->vout[i]; in loopin_cnt() 27 if (!voutdev) in loopin_cnt() 30 config = mgb4_read_reg(&voutdev->mgbdev->video, in loopin_cnt() 31 voutdev->config->regs.config); in loopin_cnt() 56 struct mgb4_vout_dev *voutdev = video_get_drvdata(vdev); in output_id_show() local 58 return sprintf(buf, "%d\n", voutdev->config->id); in output_id_show() 65 struct mgb4_vout_dev *voutdev = video_get_drvdata(vdev); in video_source_show() local 66 u32 config = mgb4_read_reg(&voutdev->mgbdev->video, in video_source_show() 67 voutdev->config->regs.config); in video_source_show() [all …]
|
H A D | mgb4_cmt.c | 192 u32 mgb4_cmt_set_vout_freq(struct mgb4_vout_dev *voutdev, unsigned int freq) in mgb4_cmt_set_vout_freq() argument 194 struct mgb4_regs *video = &voutdev->mgbdev->video; in mgb4_cmt_set_vout_freq() 195 const struct mgb4_vout_regs *regs = &voutdev->config->regs; in mgb4_cmt_set_vout_freq() 202 addr = cmt_addrs_out[voutdev->config->id]; in mgb4_cmt_set_vout_freq() 210 mgb4_write_reg(&voutdev->mgbdev->cmt, addr[i], reg_set[i]); in mgb4_cmt_set_vout_freq()
|
H A D | mgb4_vin.c | 89 struct mgb4_vout_dev *voutdev; in loopback_dev() local 92 voutdev = vindev->mgbdev->vout[i]; in loopback_dev() 93 if (!voutdev) in loopback_dev() 96 config = mgb4_read_reg(&voutdev->mgbdev->video, in loopback_dev() 97 voutdev->config->regs.config); in loopback_dev() 99 return voutdev; in loopback_dev() 127 struct mgb4_vout_dev *voutdev; in set_loopback_padding() local 131 voutdev = loopback_dev(vindev, i); in set_loopback_padding() 132 if (voutdev) in set_loopback_padding() 133 mgb4_write_reg(video, voutdev->config->regs.padding, in set_loopback_padding()
|
H A D | mgb4_cmt.h | 13 u32 mgb4_cmt_set_vout_freq(struct mgb4_vout_dev *voutdev, unsigned int freq);
|
H A D | mgb4_vout.h | 64 void mgb4_vout_free(struct mgb4_vout_dev *voutdev);
|