Home
last modified time | relevance | path

Searched refs:mbus_format (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/drivers/media/platform/sunxi/sun6i-mipi-csi2/
Dsun6i_mipi_csi2.c104 struct v4l2_mbus_framefmt *mbus_format = &csi2_dev->bridge.mbus_format; in sun6i_mipi_csi2_configure() local
109 format = sun6i_mipi_csi2_format_find(mbus_format->code); in sun6i_mipi_csi2_configure()
177 struct v4l2_mbus_framefmt *mbus_format = &csi2_dev->bridge.mbus_format; in sun6i_mipi_csi2_s_stream() local
225 format = sun6i_mipi_csi2_format_find(mbus_format->code); in sun6i_mipi_csi2_s_stream()
299 sun6i_mipi_csi2_mbus_format_prepare(struct v4l2_mbus_framefmt *mbus_format) in sun6i_mipi_csi2_mbus_format_prepare() argument
301 if (!sun6i_mipi_csi2_format_find(mbus_format->code)) in sun6i_mipi_csi2_mbus_format_prepare()
302 mbus_format->code = sun6i_mipi_csi2_formats[0].mbus_code; in sun6i_mipi_csi2_mbus_format_prepare()
304 mbus_format->field = V4L2_FIELD_NONE; in sun6i_mipi_csi2_mbus_format_prepare()
305 mbus_format->colorspace = V4L2_COLORSPACE_RAW; in sun6i_mipi_csi2_mbus_format_prepare()
306 mbus_format->quantization = V4L2_QUANTIZATION_DEFAULT; in sun6i_mipi_csi2_mbus_format_prepare()
[all …]
Dsun6i_mipi_csi2.h35 struct v4l2_mbus_framefmt mbus_format; member
/Linux-v6.1/drivers/media/test-drivers/vimc/
Dvimc-sensor.c31 struct v4l2_mbus_framefmt mbus_format; member
104 vsensor->mbus_format; in vimc_sensor_get_fmt()
112 vimc_pix_map_by_code(vsensor->mbus_format.code); in vimc_sensor_tpg_s_format()
114 tpg_reset_source(&vsensor->tpg, vsensor->mbus_format.width, in vimc_sensor_tpg_s_format()
115 vsensor->mbus_format.height, vsensor->mbus_format.field); in vimc_sensor_tpg_s_format()
116 tpg_s_bytesperline(&vsensor->tpg, 0, vsensor->mbus_format.width * vpix->bpp); in vimc_sensor_tpg_s_format()
117 tpg_s_buf_height(&vsensor->tpg, vsensor->mbus_format.height); in vimc_sensor_tpg_s_format()
120 tpg_s_field(&vsensor->tpg, vsensor->mbus_format.field, false); in vimc_sensor_tpg_s_format()
121 tpg_s_colorspace(&vsensor->tpg, vsensor->mbus_format.colorspace); in vimc_sensor_tpg_s_format()
122 tpg_s_ycbcr_enc(&vsensor->tpg, vsensor->mbus_format.ycbcr_enc); in vimc_sensor_tpg_s_format()
[all …]
/Linux-v6.1/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
Dsun8i_a83t_mipi_csi2.c153 struct v4l2_mbus_framefmt *mbus_format = &csi2_dev->bridge.mbus_format; in sun8i_a83t_mipi_csi2_configure() local
158 format = sun8i_a83t_mipi_csi2_format_find(mbus_format->code); in sun8i_a83t_mipi_csi2_configure()
209 struct v4l2_mbus_framefmt *mbus_format = &csi2_dev->bridge.mbus_format; in sun8i_a83t_mipi_csi2_s_stream() local
257 format = sun8i_a83t_mipi_csi2_format_find(mbus_format->code); in sun8i_a83t_mipi_csi2_s_stream()
332 sun8i_a83t_mipi_csi2_mbus_format_prepare(struct v4l2_mbus_framefmt *mbus_format) in sun8i_a83t_mipi_csi2_mbus_format_prepare() argument
334 if (!sun8i_a83t_mipi_csi2_format_find(mbus_format->code)) in sun8i_a83t_mipi_csi2_mbus_format_prepare()
335 mbus_format->code = sun8i_a83t_mipi_csi2_formats[0].mbus_code; in sun8i_a83t_mipi_csi2_mbus_format_prepare()
337 mbus_format->field = V4L2_FIELD_NONE; in sun8i_a83t_mipi_csi2_mbus_format_prepare()
338 mbus_format->colorspace = V4L2_COLORSPACE_RAW; in sun8i_a83t_mipi_csi2_mbus_format_prepare()
339 mbus_format->quantization = V4L2_QUANTIZATION_DEFAULT; in sun8i_a83t_mipi_csi2_mbus_format_prepare()
[all …]
Dsun8i_a83t_mipi_csi2.h36 struct v4l2_mbus_framefmt mbus_format; member
/Linux-v6.1/drivers/media/i2c/
Dov5648.c2208 static void ov5648_mbus_format_fill(struct v4l2_mbus_framefmt *mbus_format, in ov5648_mbus_format_fill() argument
2212 mbus_format->width = mode->output_size_x; in ov5648_mbus_format_fill()
2213 mbus_format->height = mode->output_size_y; in ov5648_mbus_format_fill()
2214 mbus_format->code = mbus_code; in ov5648_mbus_format_fill()
2216 mbus_format->field = V4L2_FIELD_NONE; in ov5648_mbus_format_fill()
2217 mbus_format->colorspace = V4L2_COLORSPACE_RAW; in ov5648_mbus_format_fill()
2218 mbus_format->ycbcr_enc = in ov5648_mbus_format_fill()
2219 V4L2_MAP_YCBCR_ENC_DEFAULT(mbus_format->colorspace); in ov5648_mbus_format_fill()
2220 mbus_format->quantization = V4L2_QUANTIZATION_FULL_RANGE; in ov5648_mbus_format_fill()
2221 mbus_format->xfer_func = in ov5648_mbus_format_fill()
[all …]
Dov8865.c2686 static void ov8865_mbus_format_fill(struct v4l2_mbus_framefmt *mbus_format, in ov8865_mbus_format_fill() argument
2690 mbus_format->width = mode->output_size_x; in ov8865_mbus_format_fill()
2691 mbus_format->height = mode->output_size_y; in ov8865_mbus_format_fill()
2692 mbus_format->code = mbus_code; in ov8865_mbus_format_fill()
2694 mbus_format->field = V4L2_FIELD_NONE; in ov8865_mbus_format_fill()
2695 mbus_format->colorspace = V4L2_COLORSPACE_RAW; in ov8865_mbus_format_fill()
2696 mbus_format->ycbcr_enc = in ov8865_mbus_format_fill()
2697 V4L2_MAP_YCBCR_ENC_DEFAULT(mbus_format->colorspace); in ov8865_mbus_format_fill()
2698 mbus_format->quantization = V4L2_QUANTIZATION_FULL_RANGE; in ov8865_mbus_format_fill()
2699 mbus_format->xfer_func = in ov8865_mbus_format_fill()
[all …]