Lines Matching defs:set
182 * For a (field, line, std) and inbound potential set of services for that line,
183 * return the first valid service of those passed in the incoming set for that
188 static u16 select_service_from_set(int field, int line, u16 set, int is_pal)
193 set = set & valid_set;
194 if (set == 0 || !valid_service_line(field, line, is_pal))
197 if (line == 21 && (set & V4L2_SLICED_CAPTION_525))
200 if (line == 16 && field == 0 && (set & V4L2_SLICED_VPS))
202 if (line == 23 && field == 0 && (set & V4L2_SLICED_WSS_625))
208 if (BIT(i) & set)
220 u16 set = fmt->service_set;
226 fmt->service_lines[f][l] = select_service_from_set(f, l, set, is_pal);
237 u16 set = 0;
242 set |= fmt->service_lines[f][l];
245 return set != 0;
252 u16 set = 0;
256 set |= fmt->service_lines[f][l];
258 return set;
321 /* If given a service set, expand it validly & clear passed in set */
324 /* Sanitize the service_lines, and compute the new set if any valid */
462 /* set it to defaults from our table */
582 CX18_DEBUG_INFO("v4l2 ioctl: set frequency %d\n", vf->frequency);
677 int set = cx->is_50hz ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525;
691 cap->service_lines[f][l] = set;
692 cap->service_set |= set;