Home
last modified time | relevance | path

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

/drivers/media/i2c/
Dimx214.c583 struct v4l2_mbus_framefmt *__format; in imx214_set_format() local
599 __format = __imx214_get_pad_format(imx214, cfg, format->pad, in imx214_set_format()
601 __format->width = __crop->width; in imx214_set_format()
602 __format->height = __crop->height; in imx214_set_format()
603 __format->code = IMX214_MBUS_CODE; in imx214_set_format()
604 __format->field = V4L2_FIELD_NONE; in imx214_set_format()
605 __format->colorspace = V4L2_COLORSPACE_SRGB; in imx214_set_format()
606 __format->ycbcr_enc = V4L2_MAP_YCBCR_ENC_DEFAULT(__format->colorspace); in imx214_set_format()
607 __format->quantization = V4L2_MAP_QUANTIZATION_DEFAULT(true, in imx214_set_format()
608 __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.c548 struct v4l2_mbus_framefmt *__format; in mt9p031_set_format() local
571 __format = __mt9p031_get_pad_format(mt9p031, cfg, format->pad, in mt9p031_set_format()
573 __format->width = __crop->width / hratio; in mt9p031_set_format()
574 __format->height = __crop->height / vratio; in mt9p031_set_format()
576 format->format = *__format; in mt9p031_set_format()
599 struct v4l2_mbus_framefmt *__format; in mt9p031_set_selection() local
631 __format = __mt9p031_get_pad_format(mt9p031, cfg, sel->pad, in mt9p031_set_selection()
633 __format->width = rect.width; in mt9p031_set_selection()
634 __format->height = rect.height; in mt9p031_set_selection()
Dmt9v032.c493 struct v4l2_mbus_framefmt *__format; in mt9v032_set_format() local
516 __format = __mt9v032_get_pad_format(mt9v032, cfg, format->pad, in mt9v032_set_format()
518 __format->width = __crop->width / hratio; in mt9v032_set_format()
519 __format->height = __crop->height / vratio; in mt9v032_set_format()
527 format->format = *__format; in mt9v032_set_format()
550 struct v4l2_mbus_framefmt *__format; in mt9v032_set_selection() local
584 __format = __mt9v032_get_pad_format(mt9v032, cfg, sel->pad, in mt9v032_set_selection()
586 __format->width = rect.width; in mt9v032_set_selection()
587 __format->height = rect.height; in mt9v032_set_selection()
/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()
/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); \
/drivers/gpu/drm/arm/display/komeda/d71/
Dd71_dev.c428 #define __HW_ID(__group, __format) \ argument
429 ((((__group) & 0x7) << 3) | ((__format) & 0x7))
/drivers/gpu/drm/arm/
Dmalidp_hw.c61 #define MALIDP_ID(__group, __format) \ argument
62 ((((__group) & 0x7) << 3) | ((__format) & 0x7))