Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/i2c/
Dimx214.c584 struct v4l2_mbus_framefmt *__format; in imx214_set_format() local
600 __format = __imx214_get_pad_format(imx214, cfg, format->pad, in imx214_set_format()
602 __format->width = __crop->width; in imx214_set_format()
603 __format->height = __crop->height; in imx214_set_format()
604 __format->code = IMX214_MBUS_CODE; in imx214_set_format()
605 __format->field = V4L2_FIELD_NONE; in imx214_set_format()
606 __format->colorspace = V4L2_COLORSPACE_SRGB; in imx214_set_format()
607 __format->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(__format->colorspace); in imx214_set_format()
608 __format->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, in imx214_set_format()
609 __format->colorspace, __format->ycbcr_enc); in imx214_set_format()
[all …]
Dov7251.c1034 struct v4l2_mbus_framefmt *__format; in ov7251_set_format() local
1080 __format = __ov7251_get_pad_format(ov7251, cfg, format->pad, in ov7251_set_format()
1082 __format->width = __crop->width; in ov7251_set_format()
1083 __format->height = __crop->height; in ov7251_set_format()
1084 __format->code = MEDIA_BUS_FMT_Y10_1X10; in ov7251_set_format()
1085 __format->field = V4L2_FIELD_NONE; in ov7251_set_format()
1086 __format->colorspace = V4L2_COLORSPACE_SRGB; in ov7251_set_format()
1087 __format->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(__format->colorspace); in ov7251_set_format()
1088 __format->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, in ov7251_set_format()
1089 __format->colorspace, __format->ycbcr_enc); in ov7251_set_format()
[all …]
Dmt9t001.c379 struct v4l2_mbus_framefmt *__format; in mt9t001_set_format() local
402 __format = __mt9t001_get_pad_format(mt9t001, cfg, format->pad, in mt9t001_set_format()
404 __format->width = __crop->width / hratio; in mt9t001_set_format()
405 __format->height = __crop->height / vratio; in mt9t001_set_format()
407 format->format = *__format; in mt9t001_set_format()
430 struct v4l2_mbus_framefmt *__format; in mt9t001_set_selection() local
464 __format = __mt9t001_get_pad_format(mt9t001, cfg, sel->pad, in mt9t001_set_selection()
466 __format->width = rect.width; in mt9t001_set_selection()
467 __format->height = rect.height; in mt9t001_set_selection()
Dov5645.c915 struct v4l2_mbus_framefmt *__format; in ov5645_set_format() local
945 __format = __ov5645_get_pad_format(ov5645, cfg, format->pad, in ov5645_set_format()
947 __format->width = __crop->width; in ov5645_set_format()
948 __format->height = __crop->height; in ov5645_set_format()
949 __format->code = MEDIA_BUS_FMT_UYVY8_2X8; in ov5645_set_format()
950 __format->field = V4L2_FIELD_NONE; in ov5645_set_format()
951 __format->colorspace = V4L2_COLORSPACE_SRGB; in ov5645_set_format()
953 format->format = *__format; in ov5645_set_format()
Dmt9p031.c574 struct v4l2_mbus_framefmt *__format; in mt9p031_set_format() local
597 __format = __mt9p031_get_pad_format(mt9p031, cfg, format->pad, in mt9p031_set_format()
599 __format->width = __crop->width / hratio; in mt9p031_set_format()
600 __format->height = __crop->height / vratio; in mt9p031_set_format()
602 format->format = *__format; in mt9p031_set_format()
625 struct v4l2_mbus_framefmt *__format; in mt9p031_set_selection() local
657 __format = __mt9p031_get_pad_format(mt9p031, cfg, sel->pad, in mt9p031_set_selection()
659 __format->width = rect.width; in mt9p031_set_selection()
660 __format->height = rect.height; in mt9p031_set_selection()
Dmt9v032.c499 struct v4l2_mbus_framefmt *__format; in mt9v032_set_format() local
522 __format = __mt9v032_get_pad_format(mt9v032, cfg, format->pad, in mt9v032_set_format()
524 __format->width = __crop->width / hratio; in mt9v032_set_format()
525 __format->height = __crop->height / vratio; in mt9v032_set_format()
533 format->format = *__format; in mt9v032_set_format()
556 struct v4l2_mbus_framefmt *__format; in mt9v032_set_selection() local
590 __format = __mt9v032_get_pad_format(mt9v032, cfg, sel->pad, in mt9v032_set_selection()
592 __format->width = rect.width; in mt9v032_set_selection()
593 __format->height = rect.height; in mt9v032_set_selection()
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
Dxilinx-tpg.c283 struct v4l2_mbus_framefmt *__format; in xtpg_set_format() local
286 __format = __xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); in xtpg_set_format()
292 fmt->format = *__format; in xtpg_set_format()
300 __format->code = fmt->format.code; in xtpg_set_format()
303 xvip_set_format_size(__format, fmt); in xtpg_set_format()
305 fmt->format = *__format; in xtpg_set_format()
309 __format = __xtpg_get_pad_format(xtpg, cfg, 1, fmt->which); in xtpg_set_format()
310 *__format = fmt->format; in xtpg_set_format()
Dxilinx-csi2rxss.c766 struct v4l2_mbus_framefmt *__format; in xcsi2rxss_set_format() local
776 __format = __xcsi2rxss_get_pad_format(xcsi2rxss, cfg, in xcsi2rxss_set_format()
781 fmt->format = *__format; in xcsi2rxss_set_format()
799 *__format = fmt->format; in xcsi2rxss_set_format()
/kernel/linux/linux-5.10/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); \
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.c468 #define __HW_ID(__group, __format) \ argument
469 ((((__group) & 0x7) << 3) | ((__format) & 0x7))
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dmalidp_hw.c61 #define MALIDP_ID(__group, __format) \ argument
62 ((((__group) & 0x7) << 3) | ((__format) & 0x7))