Home
last modified time | relevance | path

Searched refs:__format (Results 1 – 11 of 11) sorted by relevance

/linux-6.1.9/drivers/media/i2c/
Dimx214.c586 struct v4l2_mbus_framefmt *__format; in imx214_set_format() local
603 __format = __imx214_get_pad_format(imx214, sd_state, format->pad, in imx214_set_format()
605 __format->width = __crop->width; in imx214_set_format()
606 __format->height = __crop->height; in imx214_set_format()
607 __format->code = IMX214_MBUS_CODE; in imx214_set_format()
608 __format->field = V4L2_FIELD_NONE; in imx214_set_format()
609 __format->colorspace = V4L2_COLORSPACE_SRGB; in imx214_set_format()
610 __format->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(__format->colorspace); in imx214_set_format()
611 __format->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, in imx214_set_format()
612 __format->colorspace, __format->ycbcr_enc); in imx214_set_format()
[all …]
Dov7251.c1219 struct v4l2_mbus_framefmt *__format; in ov7251_set_format() local
1265 __format = __ov7251_get_pad_format(ov7251, sd_state, format->pad, in ov7251_set_format()
1267 __format->width = __crop->width; in ov7251_set_format()
1268 __format->height = __crop->height; in ov7251_set_format()
1269 __format->code = MEDIA_BUS_FMT_Y10_1X10; in ov7251_set_format()
1270 __format->field = V4L2_FIELD_NONE; in ov7251_set_format()
1271 __format->colorspace = V4L2_COLORSPACE_SRGB; in ov7251_set_format()
1272 __format->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(__format->colorspace); in ov7251_set_format()
1273 __format->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, in ov7251_set_format()
1274 __format->colorspace, __format->ycbcr_enc); in ov7251_set_format()
[all …]
Dmt9t001.c384 struct v4l2_mbus_framefmt *__format; in mt9t001_set_format() local
407 __format = __mt9t001_get_pad_format(mt9t001, sd_state, format->pad, in mt9t001_set_format()
409 __format->width = __crop->width / hratio; in mt9t001_set_format()
410 __format->height = __crop->height / vratio; in mt9t001_set_format()
412 format->format = *__format; in mt9t001_set_format()
436 struct v4l2_mbus_framefmt *__format; in mt9t001_set_selection() local
471 __format = __mt9t001_get_pad_format(mt9t001, sd_state, in mt9t001_set_selection()
474 __format->width = rect.width; in mt9t001_set_selection()
475 __format->height = rect.height; in mt9t001_set_selection()
Dov5645.c917 struct v4l2_mbus_framefmt *__format; in ov5645_set_format() local
947 __format = __ov5645_get_pad_format(ov5645, sd_state, format->pad, in ov5645_set_format()
949 __format->width = __crop->width; in ov5645_set_format()
950 __format->height = __crop->height; in ov5645_set_format()
951 __format->code = MEDIA_BUS_FMT_UYVY8_1X16; in ov5645_set_format()
952 __format->field = V4L2_FIELD_NONE; in ov5645_set_format()
953 __format->colorspace = V4L2_COLORSPACE_SRGB; in ov5645_set_format()
955 format->format = *__format; in ov5645_set_format()
Dmt9p031.c587 struct v4l2_mbus_framefmt *__format; in mt9p031_set_format() local
610 __format = __mt9p031_get_pad_format(mt9p031, sd_state, format->pad, in mt9p031_set_format()
612 __format->width = __crop->width / hratio; in mt9p031_set_format()
613 __format->height = __crop->height / vratio; in mt9p031_set_format()
615 format->format = *__format; in mt9p031_set_format()
649 struct v4l2_mbus_framefmt *__format; in mt9p031_set_selection() local
682 __format = __mt9p031_get_pad_format(mt9p031, sd_state, in mt9p031_set_selection()
685 __format->width = rect.width; in mt9p031_set_selection()
686 __format->height = rect.height; in mt9p031_set_selection()
Dmt9v032.c504 struct v4l2_mbus_framefmt *__format; in mt9v032_set_format() local
527 __format = __mt9v032_get_pad_format(mt9v032, sd_state, format->pad, in mt9v032_set_format()
529 __format->width = __crop->width / hratio; in mt9v032_set_format()
530 __format->height = __crop->height / vratio; in mt9v032_set_format()
538 format->format = *__format; in mt9v032_set_format()
562 struct v4l2_mbus_framefmt *__format; in mt9v032_set_selection() local
597 __format = __mt9v032_get_pad_format(mt9v032, sd_state, in mt9v032_set_selection()
600 __format->width = rect.width; in mt9v032_set_selection()
601 __format->height = rect.height; in mt9v032_set_selection()
/linux-6.1.9/drivers/media/platform/xilinx/
Dxilinx-tpg.c285 struct v4l2_mbus_framefmt *__format; in xtpg_set_format() local
288 __format = __xtpg_get_pad_format(xtpg, sd_state, fmt->pad, fmt->which); in xtpg_set_format()
294 fmt->format = *__format; in xtpg_set_format()
302 __format->code = fmt->format.code; in xtpg_set_format()
305 xvip_set_format_size(__format, fmt); in xtpg_set_format()
307 fmt->format = *__format; in xtpg_set_format()
311 __format = __xtpg_get_pad_format(xtpg, sd_state, 1, in xtpg_set_format()
313 *__format = fmt->format; in xtpg_set_format()
Dxilinx-csi2rxss.c753 struct v4l2_mbus_framefmt *__format; in xcsi2rxss_set_format() local
763 __format = __xcsi2rxss_get_pad_format(xcsi2rxss, sd_state, in xcsi2rxss_set_format()
768 fmt->format = *__format; in xcsi2rxss_set_format()
786 *__format = fmt->format; in xcsi2rxss_set_format()
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/
Drt2x00debug.c409 #define RT2X00DEBUGFS_OPS_READ(__name, __format, __type) \ argument
436 size = sprintf(line, __format, value); \
482 #define RT2X00DEBUGFS_OPS(__name, __format, __type) \ argument
483 RT2X00DEBUGFS_OPS_READ(__name, __format, __type); \
/linux-6.1.9/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.c468 #define __HW_ID(__group, __format) \ argument
469 ((((__group) & 0x7) << 3) | ((__format) & 0x7))
/linux-6.1.9/drivers/gpu/drm/arm/
Dmalidp_hw.c61 #define MALIDP_ID(__group, __format) \ argument
62 ((((__group) & 0x7) << 3) | ((__format) & 0x7))