Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/test-drivers/vivid/
Dvivid-vbi-cap.c21 bool is_60hz = dev->std_cap[dev->input] & 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[dev->input] & 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()
127 bool is_60hz = dev->std_cap[dev->input] & V4L2_STD_525_60; in vbi_cap_queue_setup() local
130 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()
141 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vidioc_g_fmt_vbi_out() local
150 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()
151 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()
152 vbi->count[0] = vbi->count[1] = is_60hz ? 12 : 18; in vidioc_g_fmt_vbi_out()
190 bool is_60hz = dev->std_out & V4L2_STD_525_60; in vidioc_try_fmt_sliced_vbi_out() local
196 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.c413 bool is_60hz = is_tv && (dev->std_cap[dev->input] & V4L2_STD_525_60); in vivid_fillbuff() local
438 buf->vb.field = ((dev->vid_cap_seq_count & 1) ^ is_60hz) ? in vivid_fillbuff()
/linux-6.1.9/drivers/media/i2c/
Dtw2804.c254 bool is_60hz = norm & V4L2_STD_525_60; in tw2804_s_std() local
256 0x01, is_60hz ? 0xc4 : 0x84, in tw2804_s_std()
257 0x09, is_60hz ? 0x07 : 0x04, in tw2804_s_std()
258 0x0a, is_60hz ? 0xf0 : 0x20, in tw2804_s_std()
259 0x0b, is_60hz ? 0x07 : 0x04, in tw2804_s_std()
260 0x0c, is_60hz ? 0xf0 : 0x20, in tw2804_s_std()
261 0x0d, is_60hz ? 0x40 : 0x4a, in tw2804_s_std()
262 0x16, is_60hz ? 0x00 : 0x40, in tw2804_s_std()
263 0x17, is_60hz ? 0x00 : 0x40, in tw2804_s_std()
264 0x20, is_60hz ? 0x07 : 0x0f, in tw2804_s_std()
[all …]
Dtw9903.c117 bool is_60hz = norm & V4L2_STD_525_60; in tw9903_s_std() local
133 write_regs(sd, is_60hz ? config_60hz : config_50hz); in tw9903_s_std()
163 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9903_log_status() local
165 v4l2_info(sd, "Standard: %d Hz\n", is_60hz ? 60 : 50); in tw9903_log_status()
Dtw9906.c88 bool is_60hz = norm & V4L2_STD_525_60; in tw9906_s_std() local
104 write_regs(sd, is_60hz ? config_60hz : config_50hz); in tw9906_s_std()
133 bool is_60hz = dec->norm & V4L2_STD_525_60; in tw9906_log_status() local
135 v4l2_info(sd, "Standard: %d Hz\n", is_60hz ? 60 : 50); in tw9906_log_status()
/linux-6.1.9/drivers/media/pci/cx18/
Dcx18-streams.c544 if (cx->is_60hz) { in cx18_vbi_setup()
585 lines = cx->is_60hz ? (21 - 4 + 1) * 2 : (23 - 2 + 1) * 2; in cx18_vbi_setup()
593 : (cx->is_60hz ? VBI_HBLANK_SAMPLES_60HZ in cx18_vbi_setup()
747 s->mdl_size = (s->cx->is_60hz ? 12 : 18) in cx18_stream_configure_mdls()
755 s->mdl_size = s->cx->is_60hz in cx18_stream_configure_mdls()
Dcx18-controls.c65 if (cx->is_60hz) in cx18_s_stream_vbi_fmt()
Dcx18-vbi.c134 u32 line_size = cx->is_60hz ? VBI_HBLANK_SAMPLES_60HZ in compress_sliced_buf()
Dcx18-driver.h573 u8 is_60hz; member
Dcx18-driver.c1057 cx->is_60hz = 1; in cx18_probe()
1061 cx2341x_handler_set_50hz(&cx->cxhdl, !cx->is_60hz); in cx18_probe()
Dcx18-ioctl.c594 cx->is_60hz = (std & V4L2_STD_525_60) ? 1 : 0; in cx18_s_std()
595 cx->is_50hz = !cx->is_60hz; in cx18_s_std()
/linux-6.1.9/drivers/media/pci/ivtv/
Divtv-controls.c42 if (itv->is_60hz) in ivtv_s_stream_vbi_fmt()
Divtv-streams.c398 lines = itv->is_60hz ? 24 : 38; in ivtv_vbi_setup()
399 if (itv->is_60hz && (itv->hw_flags & IVTV_HW_CX25840)) in ivtv_vbi_setup()
468 if (itv->is_60hz) { in ivtv_vbi_setup()
Divtv-ioctl.c320 if (itv->is_60hz) { in ivtv_g_fmt_sliced_vbi_out()
1096 itv->is_60hz = (std & V4L2_STD_525_60) ? 1 : 0; in ivtv_s_std_enc()
1097 itv->is_50hz = !itv->is_60hz; in ivtv_s_std_enc()
1106 itv->vbi.sliced_decoder_line_size = itv->is_60hz ? 272 : 284; in ivtv_s_std_enc()
1231 if (itv->is_60hz) { in ivtv_g_sliced_vbi_cap()
Divtv-driver.c1146 itv->is_60hz = 1; in ivtv_probe()
1177 vbi_buf_size = itv->vbi.raw_size * (itv->is_60hz ? 24 : 36) / 2; in ivtv_probe()
Divtv-driver.h649 u8 is_60hz /* 1 if the current capture standard is 60 Hz */; member
/linux-6.1.9/drivers/media/pci/cx25821/
Dcx25821.h188 int is_60hz; member
/linux-6.1.9/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c2241 bool is_60hz; member
2311 (params->is_60hz ? V4L2_FIELD_TOP : V4L2_FIELD_BOTTOM); in tpg_fill_params_extras()
2325 if (params->is_tv && !params->is_60hz && in tpg_fill_plane_extras()
2557 } else if (params->is_60hz) { in tpg_fill_plane_pattern()
2610 params.is_60hz = std & V4L2_STD_525_60; in tpg_fill_plane_buffer()