Home
last modified time | relevance | path

Searched refs:is_pal (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/drivers/media/i2c/cx25840/
Dcx25840-vbi.c83 int is_pal = !(state->std & V4L2_STD_525_60); in cx25840_g_sliced_fmt() local
93 if (is_pal) { in cx25840_g_sliced_fmt()
121 int is_pal = !(state->std & V4L2_STD_525_60); in cx25840_s_raw_fmt() local
122 int vbi_offset = is_pal ? 1 : 0; in cx25840_s_raw_fmt()
141 int is_pal = !(state->std & V4L2_STD_525_60); in cx25840_s_sliced_fmt() local
142 int vbi_offset = is_pal ? 1 : 0; in cx25840_s_sliced_fmt()
161 if (is_pal) { in cx25840_s_sliced_fmt()
194 if (is_pal) { in cx25840_s_sliced_fmt()
210 cx25840_write(client, 0x428, is_pal ? 0x2a : 0x22); in cx25840_s_sliced_fmt()
212 cx25840_write(client, 0x474, is_pal ? 0x2a : 0x22); in cx25840_s_sliced_fmt()
/linux-6.1.9/drivers/media/pci/cx18/
Dcx18-av-vbi.c129 int is_pal = !(state->std & V4L2_STD_525_60); in cx18_av_g_sliced_fmt() local
139 if (is_pal) { in cx18_av_g_sliced_fmt()
179 int is_pal = !(state->std & V4L2_STD_525_60); in cx18_av_s_sliced_fmt() local
195 if (is_pal) { in cx18_av_s_sliced_fmt()
229 if (is_pal) { in cx18_av_s_sliced_fmt()
241 cx18_av_write(cx, 0x474, is_pal ? 38 : 26); in cx18_av_s_sliced_fmt()
Dcx18-ioctl.c47 static int valid_service_line(int field, int line, int is_pal) in valid_service_line() argument
49 return (is_pal && line >= 6 && in valid_service_line()
51 (!is_pal && line >= 10 && line < 22); in valid_service_line()
61 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) in select_service_from_set() argument
63 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); in select_service_from_set()
67 if (set == 0 || !valid_service_line(field, line, is_pal)) in select_service_from_set()
69 if (!is_pal) { in select_service_from_set()
91 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in cx18_expand_service_set() argument
99 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in cx18_expand_service_set()
107 static int check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument
[all …]
Dcx18-ioctl.h12 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
/linux-6.1.9/drivers/media/pci/ivtv/
Divtv-ioctl.h13 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
Divtv-ioctl.c43 static int valid_service_line(int field, int line, int is_pal) in valid_service_line() argument
45 return (is_pal && line >= 6 && (line != 23 || field == 0)) || in valid_service_line()
46 (!is_pal && line >= 10 && line < 22); in valid_service_line()
49 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) in select_service_from_set() argument
51 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); in select_service_from_set()
55 if (set == 0 || !valid_service_line(field, line, is_pal)) { in select_service_from_set()
58 if (!is_pal) { in select_service_from_set()
77 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in ivtv_expand_service_set() argument
85 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in ivtv_expand_service_set()
90 static void check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument
[all …]