Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/i2c/cx25840/
Dcx25840-vbi.c92 int is_pal = !(state->std & V4L2_STD_525_60); in cx25840_g_sliced_fmt() local
101 if (is_pal) { in cx25840_g_sliced_fmt()
129 int is_pal = !(state->std & V4L2_STD_525_60); in cx25840_s_raw_fmt() local
130 int vbi_offset = is_pal ? 1 : 0; in cx25840_s_raw_fmt()
148 int is_pal = !(state->std & V4L2_STD_525_60); in cx25840_s_sliced_fmt() local
149 int vbi_offset = is_pal ? 1 : 0; in cx25840_s_sliced_fmt()
167 if (is_pal) { in cx25840_s_sliced_fmt()
200 if (is_pal) { in cx25840_s_sliced_fmt()
215 cx25840_write(client, 0x428, is_pal ? 0x2a : 0x22); in cx25840_s_sliced_fmt()
217 cx25840_write(client, 0x474, is_pal ? 0x2a : 0x22); in cx25840_s_sliced_fmt()
/Linux-v4.19/drivers/media/pci/cx18/
Dcx18-av-vbi.c138 int is_pal = !(state->std & V4L2_STD_525_60); in cx18_av_g_sliced_fmt() local
148 if (is_pal) { in cx18_av_g_sliced_fmt()
188 int is_pal = !(state->std & V4L2_STD_525_60); in cx18_av_s_sliced_fmt() local
204 if (is_pal) { in cx18_av_s_sliced_fmt()
238 if (is_pal) { in cx18_av_s_sliced_fmt()
250 cx18_av_write(cx, 0x474, is_pal ? 38 : 26); in cx18_av_s_sliced_fmt()
Dcx18-ioctl.c56 static int valid_service_line(int field, int line, int is_pal) in valid_service_line() argument
58 return (is_pal && line >= 6 && in valid_service_line()
60 (!is_pal && line >= 10 && line < 22); in valid_service_line()
70 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) in select_service_from_set() argument
72 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); in select_service_from_set()
76 if (set == 0 || !valid_service_line(field, line, is_pal)) in select_service_from_set()
78 if (!is_pal) { in select_service_from_set()
100 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in cx18_expand_service_set() argument
108 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in cx18_expand_service_set()
116 static int check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument
[all …]
Dcx18-ioctl.h21 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-ioctl.h25 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
Divtv-ioctl.c59 static int valid_service_line(int field, int line, int is_pal) in valid_service_line() argument
61 return (is_pal && line >= 6 && (line != 23 || field == 0)) || in valid_service_line()
62 (!is_pal && line >= 10 && line < 22); in valid_service_line()
65 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) in select_service_from_set() argument
67 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); in select_service_from_set()
71 if (set == 0 || !valid_service_line(field, line, is_pal)) { in select_service_from_set()
74 if (!is_pal) { in select_service_from_set()
93 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in ivtv_expand_service_set() argument
101 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); in ivtv_expand_service_set()
106 static void check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) in check_service_set() argument
[all …]