Home
last modified time | relevance | path

Searched refs:is_60hz (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/drivers/media/platform/vivid/
Dvivid-vbi-cap.c21 bool is_60hz = dev->std_cap & V4L2_STD_525_60; in vivid_sliced_vbi_cap_fill() local
23 vivid_vbi_gen_sliced(vbi_gen, is_60hz, seqnr); in vivid_sliced_vbi_cap_fill()
25 if (!is_60hz) { in vivid_sliced_vbi_cap_fill()
50 } else if (dev->loop_video && is_60hz) { in vivid_sliced_vbi_cap_fill()
68 bool is_60hz = dev->std_cap & V4L2_STD_525_60; in vivid_g_fmt_vbi_cap() local
74 vbi->start[0] = is_60hz ? V4L2_VBI_ITU_525_F1_START + 9 : V4L2_VBI_ITU_625_F1_START + 5; in vivid_g_fmt_vbi_cap()
75 vbi->start[1] = is_60hz ? V4L2_VBI_ITU_525_F2_START + 9 : V4L2_VBI_ITU_625_F2_START + 5; in vivid_g_fmt_vbi_cap()
76 vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18; in vivid_g_fmt_vbi_cap()
131 bool is_60hz = dev->std_cap & V4L2_STD_525_60; in vbi_cap_queue_setup() local
134 1440 * 2 * (is_60hz ? 12 : 18); in vbi_cap_queue_setup()
[all …]
Dvivid-vbi-out.c23 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vbi_out_queue_setup() local
26 1440 * 2 * (is_60hz ? 12 : 18); in vbi_out_queue_setup()
43 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vbi_out_buf_prepare() local
46 1440 * 2 * (is_60hz ? 12 : 18); in vbi_out_buf_prepare()
133 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vidioc_g_fmt_vbi_out() local
142 vbi->start[0] = is_60hz ? V4L2_VBI_ITU_525_F1_START + 9 : V4L2_VBI_ITU_625_F1_START + 5; in vidioc_g_fmt_vbi_out()
143 vbi->start[1] = is_60hz ? V4L2_VBI_ITU_525_F2_START + 9 : V4L2_VBI_ITU_625_F2_START + 5; in vidioc_g_fmt_vbi_out()
144 vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18; in vidioc_g_fmt_vbi_out()
182 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vidioc_try_fmt_sliced_vbi_out() local
188 service_set &= is_60hz ? V4L2_SLICED_CAPTION_525 : in vidioc_try_fmt_sliced_vbi_out()
Dvivid-vbi-gen.h17 bool is_60hz, unsigned seqnr);
Dvivid-vbi-gen.c247 bool is_60hz, unsigned seqnr) in vivid_vbi_gen_sliced() argument
255 if (!is_60hz) { in vivid_vbi_gen_sliced()
Dvivid-kthread-cap.c411 bool is_60hz = is_tv && (dev->std_cap & V4L2_STD_525_60); in vivid_fillbuff() local
441 buf->vb.field = ((dev->vid_cap_seq_count & 1) ^ is_60hz) ? in vivid_fillbuff()
/Linux-v4.19/drivers/media/i2c/
Dtw2804.c262 bool is_60hz = norm & V4L2_STD_525_60; in tw2804_s_std() local
264 0x01, is_60hz ? 0xc4 : 0x84, in tw2804_s_std()
265 0x09, is_60hz ? 0x07 : 0x04, in tw2804_s_std()
266 0x0a, is_60hz ? 0xf0 : 0x20, in tw2804_s_std()
267 0x0b, is_60hz ? 0x07 : 0x04, in tw2804_s_std()
268 0x0c, is_60hz ? 0xf0 : 0x20, in tw2804_s_std()
269 0x0d, is_60hz ? 0x40 : 0x4a, in tw2804_s_std()
270 0x16, is_60hz ? 0x00 : 0x40, in tw2804_s_std()
271 0x17, is_60hz ? 0x00 : 0x40, in tw2804_s_std()
272 0x20, is_60hz ? 0x07 : 0x0f, in tw2804_s_std()
[all …]
Dtw9903.c125 bool is_60hz = norm & V4L2_STD_525_60; in tw9903_s_std() local
141 write_regs(sd, is_60hz ? config_60hz : config_50hz); in tw9903_s_std()
171 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9903_log_status() local
173 v4l2_info(sd, "Standard: %d Hz\n", is_60hz ? 60 : 50); in tw9903_log_status()
Dtw9906.c96 bool is_60hz = norm & V4L2_STD_525_60; in tw9906_s_std() local
112 write_regs(sd, is_60hz ? config_60hz : config_50hz); in tw9906_s_std()
141 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9906_log_status() local
143 v4l2_info(sd, "Standard: %d Hz\n", is_60hz ? 60 : 50); in tw9906_log_status()
/Linux-v4.19/drivers/media/pci/cx18/
Dcx18-streams.c552 if (cx->is_60hz) { in cx18_vbi_setup()
593 lines = cx->is_60hz ? (21 - 4 + 1) * 2 : (23 - 2 + 1) * 2; in cx18_vbi_setup()
601 : (cx->is_60hz ? VBI_HBLANK_SAMPLES_60HZ in cx18_vbi_setup()
755 s->mdl_size = (s->cx->is_60hz ? 12 : 18) in cx18_stream_configure_mdls()
763 s->mdl_size = s->cx->is_60hz in cx18_stream_configure_mdls()
Dcx18-controls.c74 if (cx->is_60hz) in cx18_s_stream_vbi_fmt()
Dcx18-vbi.c143 u32 line_size = cx->is_60hz ? VBI_HBLANK_SAMPLES_60HZ in compress_sliced_buf()
Dcx18-driver.h582 u8 is_60hz; member
Dcx18-driver.c1067 cx->is_60hz = 1; in cx18_probe()
1071 cx2341x_handler_set_50hz(&cx->cxhdl, !cx->is_60hz); in cx18_probe()
Dcx18-ioctl.c597 cx->is_60hz = (std & V4L2_STD_525_60) ? 1 : 0; in cx18_s_std()
598 cx->is_50hz = !cx->is_60hz; in cx18_s_std()
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-controls.c54 if (itv->is_60hz) in ivtv_s_stream_vbi_fmt()
Divtv-streams.c386 lines = itv->is_60hz ? 24 : 38; in ivtv_vbi_setup()
387 if (itv->is_60hz && (itv->hw_flags & IVTV_HW_CX25840)) in ivtv_vbi_setup()
456 if (itv->is_60hz) { in ivtv_vbi_setup()
Divtv-ioctl.c336 if (itv->is_60hz) { in ivtv_g_fmt_sliced_vbi_out()
1117 itv->is_60hz = (std & V4L2_STD_525_60) ? 1 : 0; in ivtv_s_std_enc()
1118 itv->is_50hz = !itv->is_60hz; in ivtv_s_std_enc()
1127 itv->vbi.sliced_decoder_line_size = itv->is_60hz ? 272 : 284; in ivtv_s_std_enc()
1252 if (itv->is_60hz) { in ivtv_g_sliced_vbi_cap()
Divtv-driver.c1147 itv->is_60hz = 1; in ivtv_probe()
1178 vbi_buf_size = itv->vbi.raw_size * (itv->is_60hz ? 24 : 36) / 2; in ivtv_probe()
Divtv-driver.h653 u8 is_60hz /* 1 if the current capture standard is 60 Hz */; member
/Linux-v4.19/drivers/media/pci/cx25821/
Dcx25821.h200 int is_60hz; member
/Linux-v4.19/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c2055 bool is_60hz; member
2125 (params->is_60hz ? V4L2_FIELD_TOP : V4L2_FIELD_BOTTOM); in tpg_fill_params_extras()
2139 if (params->is_tv && !params->is_60hz && in tpg_fill_plane_extras()
2333 } else if (params->is_60hz) { in tpg_fill_plane_pattern()
2386 params.is_60hz = std & V4L2_STD_525_60; in tpg_fill_plane_buffer()