Lines Matching refs:format
682 struct v4l2_subdev_format *format)
689 if (cal_rx_pad_is_source(format->pad))
690 return v4l2_subdev_get_fmt(sd, state, format);
693 * Default to the first format if the requested media bus code isn't
696 fmtinfo = cal_format_by_code(format->format.code);
703 format->format.width = clamp_t(unsigned int, format->format.width,
706 format->format.height = clamp_t(unsigned int, format->format.height,
709 format->format.code = fmtinfo->code;
710 format->format.field = V4L2_FIELD_NONE;
712 /* Store the format and propagate it to the source pad. */
715 *fmt = format->format;
719 *fmt = format->format;
727 struct v4l2_subdev_format format = {
731 .format = {
743 return cal_camerarx_sd_set_fmt(sd, state, &format);