Lines Matching refs:format
145 struct mutex lock; /* Protects streaming, format, interval and crop */
149 struct v4l2_mbus_framefmt format;
355 * __mt9m032_get_pad_format() - get format
357 * @cfg: v4l2_subdev_pad_config for getting the try format from
358 * @which: select try or active format
360 * Returns a pointer the current active or fh relative try format
370 return &sensor->format;
383 fmt->format = *__mt9m032_get_pad_format(sensor, cfg, fmt->which);
403 /* Scaling is not supported, the format is thus fixed. */
404 fmt->format = *__mt9m032_get_pad_format(sensor, cfg, fmt->which);
433 struct v4l2_mbus_framefmt *format;
471 format = __mt9m032_get_pad_format(sensor, cfg, sel->which);
472 format->width = rect.width;
473 format->height = rect.height;
753 sensor->format.width = sensor->crop.width;
754 sensor->format.height = sensor->crop.height;
755 sensor->format.code = MEDIA_BUS_FMT_Y8_1X8;
756 sensor->format.field = V4L2_FIELD_NONE;
757 sensor->format.colorspace = V4L2_COLORSPACE_SRGB;