Lines Matching defs:which

151 static inline int check_which(u32 which)
153 if (which != V4L2_SUBDEV_FORMAT_TRY &&
154 which != V4L2_SUBDEV_FORMAT_ACTIVE)
176 u32 which, u32 pad, u32 stream)
191 if (which == V4L2_SUBDEV_FORMAT_TRY && (!state || !state->pads))
204 return check_which(format->which) ? : check_pad(sd, format->pad) ? :
205 check_state(sd, state, format->which, format->pad, format->stream);
231 return check_which(code->which) ? : check_pad(sd, code->pad) ? :
232 check_state(sd, state, code->which, code->pad, code->stream) ? :
243 return check_which(fse->which) ? : check_pad(sd, fse->pad) ? :
244 check_state(sd, state, fse->which, fse->pad, fse->stream) ? :
255 return check_which(fie->which) ? : check_pad(sd, fie->pad) ? :
256 check_state(sd, state, fie->which, fie->pad, fie->stream) ? :
267 return check_which(sel->which) ? : check_pad(sd, sel->pad) ? :
268 check_state(sd, state, sel->which, sel->pad, sel->stream);
294 return check_which(fi->which) ? : check_pad(sd, fi->pad) ? :
295 check_state(sd, state, fi->which, fi->pad, fi->stream);
512 u32 which;
519 which = ((struct v4l2_subdev_format *)arg)->which;
523 which = ((struct v4l2_subdev_crop *)arg)->which;
526 which = ((struct v4l2_subdev_mbus_code_enum *)arg)->which;
529 which = ((struct v4l2_subdev_frame_size_enum *)arg)->which;
532 which = ((struct v4l2_subdev_frame_interval_enum *)arg)->which;
536 which = ((struct v4l2_subdev_selection *)arg)->which;
544 fi->which = V4L2_SUBDEV_FORMAT_ACTIVE;
546 which = fi->which;
551 which = ((struct v4l2_subdev_routing *)arg)->which;
555 return which == V4L2_SUBDEV_FORMAT_TRY ?
713 if (format->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
733 sel.which = crop->which;
749 if (crop->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
757 sel.which = crop->which;
808 if (fi->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
840 if (sel->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
952 if (routing->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
984 routing->which, &krouting);
1213 fmt->which = V4L2_SUBDEV_FORMAT_ACTIVE;