Searched refs:is_pal (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/drivers/media/i2c/cx25840/
H A Dcx25840-vbi.c96 int is_pal = !(state->std & V4L2_STD_525_60); cx25840_g_sliced_fmt() local
105 if (is_pal) { cx25840_g_sliced_fmt()
131 int is_pal = !(state->std & V4L2_STD_525_60); cx25840_s_raw_fmt() local
132 int vbi_offset = is_pal ? 1 : 0; cx25840_s_raw_fmt()
147 int is_pal = !(state->std & V4L2_STD_525_60); cx25840_s_sliced_fmt() local
148 int vbi_offset = is_pal ? 1 : 0; cx25840_s_sliced_fmt()
163 if (is_pal) { cx25840_s_sliced_fmt()
196 if (is_pal) { cx25840_s_sliced_fmt()
207 cx25840_write(client, 0x474, is_pal ? 0x2a : 0x22); cx25840_s_sliced_fmt()
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-av-vbi.c143 int is_pal = !(state->std & V4L2_STD_525_60); cx18_av_g_sliced_fmt() local
153 if (is_pal) { cx18_av_g_sliced_fmt()
193 int is_pal = !(state->std & V4L2_STD_525_60); cx18_av_s_sliced_fmt() local
209 if (is_pal) { cx18_av_s_sliced_fmt()
243 if (is_pal) { cx18_av_s_sliced_fmt()
255 cx18_av_write(cx, 0x474, is_pal ? 38 : 26); cx18_av_s_sliced_fmt()
H A Dcx18-ioctl.c61 static int valid_service_line(int field, int line, int is_pal) valid_service_line() argument
63 return (is_pal && line >= 6 && valid_service_line()
65 (!is_pal && line >= 10 && line < 22); valid_service_line()
75 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) select_service_from_set() argument
77 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); select_service_from_set()
81 if (set == 0 || !valid_service_line(field, line, is_pal)) select_service_from_set()
83 if (!is_pal) { select_service_from_set()
105 void cx18_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) cx18_expand_service_set() argument
113 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); cx18_expand_service_set()
121 static int check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) check_service_set() argument
128 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal); check_service_set()
/linux-4.4.14/drivers/media/pci/ivtv/
H A Divtv-ioctl.h25 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal);
H A Divtv-ioctl.c56 static int valid_service_line(int field, int line, int is_pal) valid_service_line() argument
58 return (is_pal && line >= 6 && (line != 23 || field == 0)) || valid_service_line()
59 (!is_pal && line >= 10 && line < 22); valid_service_line()
62 static u16 select_service_from_set(int field, int line, u16 set, int is_pal) select_service_from_set() argument
64 u16 valid_set = (is_pal ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525); select_service_from_set()
68 if (set == 0 || !valid_service_line(field, line, is_pal)) { select_service_from_set()
71 if (!is_pal) { select_service_from_set()
90 void ivtv_expand_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) ivtv_expand_service_set() argument
98 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal); ivtv_expand_service_set()
103 static void check_service_set(struct v4l2_sliced_vbi_format *fmt, int is_pal) check_service_set() argument
109 fmt->service_lines[f][l] = select_service_from_set(f, l, fmt->service_lines[f][l], is_pal); check_service_set()

Completed in 127 milliseconds