Lines Matching defs:format
577 struct v4l2_subdev_format *format)
579 struct v4l2_mbus_framefmt *mf = &format->format;
583 if (format->pad)
586 /* initialize response with default media bus frame format */
589 /* update media bus format code and frame size */
590 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
605 /* set the format we will capture in */
616 dev_dbg(&client->dev, "pixel format GREY8_1X8\n");
621 dev_dbg(&client->dev, "pixel format YUYV8_2X8_LE\n");
626 dev_dbg(&client->dev, "pixel format YVYU8_2X8_LE (untested)\n");
631 dev_dbg(&client->dev, "pixel format YUYV8_2X8_BE\n");
641 dev_dbg(&client->dev, "pixel format YVYU8_2X8_BE (untested)\n");
651 dev_dbg(&client->dev, "pixel format SBGGR8_1X8 (untested)\n");
656 dev_err(&client->dev, "Pixel format not handled: 0x%x\n", code);
691 struct v4l2_subdev_format *format)
693 struct v4l2_mbus_framefmt *mf = &format->format;
699 if (format->pad)
719 if (format->which == V4L2_SUBDEV_FORMAT_TRY)
726 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
727 /* store new mbus frame format code and size in pad config */
732 /* return default mbus frame format updated with pad config */
741 /* apply new media bus frame format and scaling if changed */
747 /* return default format updated with active size and code */
946 /* driver default frame format, no scaling */