Lines Matching defs:set
55 * For a (field, line, std) and inbound potential set of services for that line,
56 * return the first valid service of those passed in the incoming set for that
61 static u16 select_service_from_set(int field, int line, u16 set, int is_pal)
66 set = set & valid_set;
67 if (set == 0 || !valid_service_line(field, line, is_pal))
70 if (line == 21 && (set & V4L2_SLICED_CAPTION_525))
73 if (line == 16 && field == 0 && (set & V4L2_SLICED_VPS))
75 if (line == 23 && field == 0 && (set & V4L2_SLICED_WSS_625))
81 if (BIT(i) & set)
93 u16 set = fmt->service_set;
99 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal);
110 u16 set = 0;
115 set |= fmt->service_lines[f][l];
118 return set != 0;
125 u16 set = 0;
129 set |= fmt->service_lines[f][l];
131 return set;
242 /* If given a service set, expand it validly & clear passed in set */
245 /* Sanitize the service_lines, and compute the new set if any valid */
428 /* set it to defaults from our table */
562 CX18_DEBUG_INFO("v4l2 ioctl: set frequency %d\n", vf->frequency);
644 int set = cx->is_50hz ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525;
658 cap->service_lines[f][l] = set;
659 cap->service_set |= set;