Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/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.c411 bool is_60hz = is_tv && (dev->std_cap[dev->input] & V4L2_STD_525_60); in vivid_fillbuff() local
435 buf->vb.field = ((dev->vid_cap_seq_count & 1) ^ is_60hz) ? in vivid_fillbuff()
/Linux-v5.4/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-v5.4/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.c1058 cx->is_60hz = 1; in cx18_probe()
1062 cx2341x_handler_set_50hz(&cx->cxhdl, !cx->is_60hz); in cx18_probe()
Dcx18-ioctl.c586 cx->is_60hz = (std & V4L2_STD_525_60) ? 1 : 0; in cx18_s_std()
587 cx->is_50hz = !cx->is_60hz; in cx18_s_std()
/Linux-v5.4/drivers/media/pci/ivtv/
Divtv-controls.c42 if (itv->is_60hz) in ivtv_s_stream_vbi_fmt()
Divtv-streams.c401 lines = itv->is_60hz ? 24 : 38; in ivtv_vbi_setup()
402 if (itv->is_60hz && (itv->hw_flags & IVTV_HW_CX25840)) in ivtv_vbi_setup()
471 if (itv->is_60hz) { in ivtv_vbi_setup()
Divtv-ioctl.c325 if (itv->is_60hz) { in ivtv_g_fmt_sliced_vbi_out()
1100 itv->is_60hz = (std & V4L2_STD_525_60) ? 1 : 0; in ivtv_s_std_enc()
1101 itv->is_50hz = !itv->is_60hz; in ivtv_s_std_enc()
1110 itv->vbi.sliced_decoder_line_size = itv->is_60hz ? 272 : 284; in ivtv_s_std_enc()
1235 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-v5.4/drivers/media/pci/cx25821/
Dcx25821.h189 int is_60hz; member
/Linux-v5.4/drivers/media/common/v4l2-tpg/
Dv4l2-tpg-core.c2209 bool is_60hz; member
2279 (params->is_60hz ? V4L2_FIELD_TOP : V4L2_FIELD_BOTTOM); in tpg_fill_params_extras()
2293 if (params->is_tv && !params->is_60hz && in tpg_fill_plane_extras()
2487 } else if (params->is_60hz) { in tpg_fill_plane_pattern()
2540 params.is_60hz = std & V4L2_STD_525_60; in tpg_fill_plane_buffer()