Searched refs:vindev (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/media/pci/mgb4/ |
H A D | mgb4_vin.c | 87 static struct mgb4_vout_dev *loopback_dev(struct mgb4_vin_dev *vindev, int i) in loopback_dev() argument 92 voutdev = vindev->mgbdev->vout[i]; in loopback_dev() 98 if ((config & 0xc) >> 2 == vindev->config->id) in loopback_dev() 108 static int loopback_active(struct mgb4_vin_dev *vindev) in loopback_active() argument 113 if (loopback_dev(vindev, i)) in loopback_active() 124 static void set_loopback_padding(struct mgb4_vin_dev *vindev, u32 padding) in set_loopback_padding() argument 126 struct mgb4_regs *video = &vindev->mgbdev->video; in set_loopback_padding() 131 voutdev = loopback_dev(vindev, i); in set_loopback_padding() 138 static int get_timings(struct mgb4_vin_dev *vindev, in get_timings() argument 141 struct mgb4_regs *video = &vindev->mgbdev->video; in get_timings() [all …]
|
H A D | mgb4_sysfs_in.c | 23 struct mgb4_vin_dev *vindev = video_get_drvdata(vdev); in input_id_show() local 25 return sprintf(buf, "%d\n", vindev->config->id); in input_id_show() 32 struct mgb4_vin_dev *vindev = video_get_drvdata(vdev); in oldi_lane_width_show() local 33 struct mgb4_dev *mgbdev = vindev->mgbdev; in oldi_lane_width_show() 45 ret = mgb4_i2c_read_byte(&vindev->deser, i2c_reg); in oldi_lane_width_show() 50 config = mgb4_read_reg(&mgbdev->video, vindev->config->regs.config); in oldi_lane_width_show() 70 struct mgb4_vin_dev *vindev = video_get_drvdata(vdev); in oldi_lane_width_store() local 71 struct mgb4_dev *mgbdev = vindev->mgbdev; in oldi_lane_width_store() 99 ret = mgb4_i2c_mask_byte(&vindev->deser, i2c_reg, i2c_mask, i2c_data); in oldi_lane_width_store() 103 mgb4_mask_reg(&mgbdev->video, vindev->config->regs.config, 1U << 9, in oldi_lane_width_store() [all …]
|
H A D | mgb4_cmt.c | 220 void mgb4_cmt_set_vin_freq_range(struct mgb4_vin_dev *vindev, in mgb4_cmt_set_vin_freq_range() argument 223 struct mgb4_regs *video = &vindev->mgbdev->video; in mgb4_cmt_set_vin_freq_range() 224 const struct mgb4_vin_regs *regs = &vindev->config->regs; in mgb4_cmt_set_vin_freq_range() 232 addr = cmt_addrs_in[vindev->config->id]; in mgb4_cmt_set_vin_freq_range() 240 mgb4_write_reg(&vindev->mgbdev->cmt, addr[i], reg_set[i]); in mgb4_cmt_set_vin_freq_range()
|
H A D | mgb4_cmt.h | 14 void mgb4_cmt_set_vin_freq_range(struct mgb4_vin_dev *vindev,
|
H A D | mgb4_vin.h | 68 void mgb4_vin_free(struct mgb4_vin_dev *vindev);
|
H A D | mgb4_vout.c | 165 struct mgb4_vout_dev *vindev = vb2_get_drv_priv(vb->vb2_queue); in buffer_queue() local 170 spin_lock_irqsave(&vindev->qlock, flags); in buffer_queue() 171 list_add_tail(&buf->list, &vindev->buf_list); in buffer_queue() 172 spin_unlock_irqrestore(&vindev->qlock, flags); in buffer_queue()
|
H A D | mgb4_sysfs_out.c | 19 static int loopin_cnt(struct mgb4_vin_dev *vindev) in loopin_cnt() argument 26 voutdev = vindev->mgbdev->vout[i]; in loopin_cnt() 32 if ((config & 0xc) >> 2 == vindev->config->id) in loopin_cnt()
|