Lines Matching refs: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);
547 u32 which;
554 which = ((struct v4l2_subdev_format *)arg)->which;
558 which = ((struct v4l2_subdev_crop *)arg)->which;
561 which = ((struct v4l2_subdev_mbus_code_enum *)arg)->which;
564 which = ((struct v4l2_subdev_frame_size_enum *)arg)->which;
567 which = ((struct v4l2_subdev_frame_interval_enum *)arg)->which;
571 which = ((struct v4l2_subdev_selection *)arg)->which;
579 fi->which = V4L2_SUBDEV_FORMAT_ACTIVE;
581 which = fi->which;
586 which = ((struct v4l2_subdev_routing *)arg)->which;
590 return which == V4L2_SUBDEV_FORMAT_TRY ?
748 if (format->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
768 sel.which = crop->which;
785 if (crop->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
793 sel.which = crop->which;
845 if (fi->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
877 if (sel->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
985 if (routing->which != V4L2_SUBDEV_FORMAT_TRY && ro_subdev)
1035 routing->which, &krouting);
1274 fmt->which = V4L2_SUBDEV_FORMAT_ACTIVE;