Lines Matching refs:sdformat
1031 struct v4l2_subdev_format *sdformat) in mipi_csis_get_fmt() argument
1036 fmt = mipi_csis_get_format(csis, sd_state, sdformat->which, in mipi_csis_get_fmt()
1037 sdformat->pad); in mipi_csis_get_fmt()
1040 sdformat->format = *fmt; in mipi_csis_get_fmt()
1081 struct v4l2_subdev_format *sdformat) in mipi_csis_set_fmt() argument
1092 if (sdformat->pad == CSIS_PAD_SOURCE) in mipi_csis_set_fmt()
1093 return mipi_csis_get_fmt(sd, sd_state, sdformat); in mipi_csis_set_fmt()
1095 if (sdformat->pad != CSIS_PAD_SINK) in mipi_csis_set_fmt()
1105 csis_fmt = find_csis_format(sdformat->format.code); in mipi_csis_set_fmt()
1126 v4l_bound_align_image(&sdformat->format.width, 1, in mipi_csis_set_fmt()
1128 &sdformat->format.height, 1, in mipi_csis_set_fmt()
1131 fmt = mipi_csis_get_format(csis, sd_state, sdformat->which, in mipi_csis_set_fmt()
1132 sdformat->pad); in mipi_csis_set_fmt()
1137 fmt->width = sdformat->format.width; in mipi_csis_set_fmt()
1138 fmt->height = sdformat->format.height; in mipi_csis_set_fmt()
1139 fmt->colorspace = sdformat->format.colorspace; in mipi_csis_set_fmt()
1140 fmt->quantization = sdformat->format.quantization; in mipi_csis_set_fmt()
1141 fmt->xfer_func = sdformat->format.xfer_func; in mipi_csis_set_fmt()
1142 fmt->ycbcr_enc = sdformat->format.ycbcr_enc; in mipi_csis_set_fmt()
1144 sdformat->format = *fmt; in mipi_csis_set_fmt()
1147 fmt = mipi_csis_get_format(csis, sd_state, sdformat->which, in mipi_csis_set_fmt()
1149 *fmt = sdformat->format; in mipi_csis_set_fmt()
1155 if (sdformat->which == V4L2_SUBDEV_FORMAT_ACTIVE) in mipi_csis_set_fmt()