Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/i2c/
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.c382 struct v4l2_mbus_framefmt *__format; in mt9t001_set_format() local
405 __format = __mt9t001_get_pad_format(mt9t001, cfg, format->pad, in mt9t001_set_format()
407 __format->width = __crop->width / hratio; in mt9t001_set_format()
408 __format->height = __crop->height / vratio; in mt9t001_set_format()
410 format->format = *__format; in mt9t001_set_format()
433 struct v4l2_mbus_framefmt *__format; in mt9t001_set_selection() local
467 __format = __mt9t001_get_pad_format(mt9t001, cfg, sel->pad, in mt9t001_set_selection()
469 __format->width = rect.width; in mt9t001_set_selection()
470 __format->height = rect.height; in mt9t001_set_selection()
Dov5645.c969 struct v4l2_mbus_framefmt *__format; in ov5645_set_format() local
999 __format = __ov5645_get_pad_format(ov5645, cfg, format->pad, in ov5645_set_format()
1001 __format->width = __crop->width; in ov5645_set_format()
1002 __format->height = __crop->height; in ov5645_set_format()
1003 __format->code = MEDIA_BUS_FMT_UYVY8_2X8; in ov5645_set_format()
1004 __format->field = V4L2_FIELD_NONE; in ov5645_set_format()
1005 __format->colorspace = V4L2_COLORSPACE_SRGB; in ov5645_set_format()
1007 format->format = *__format; in ov5645_set_format()
Dmt9p031.c551 struct v4l2_mbus_framefmt *__format; in mt9p031_set_format() local
574 __format = __mt9p031_get_pad_format(mt9p031, cfg, format->pad, in mt9p031_set_format()
576 __format->width = __crop->width / hratio; in mt9p031_set_format()
577 __format->height = __crop->height / vratio; in mt9p031_set_format()
579 format->format = *__format; in mt9p031_set_format()
602 struct v4l2_mbus_framefmt *__format; in mt9p031_set_selection() local
634 __format = __mt9p031_get_pad_format(mt9p031, cfg, sel->pad, in mt9p031_set_selection()
636 __format->width = rect.width; in mt9p031_set_selection()
637 __format->height = rect.height; in mt9p031_set_selection()
Dmt9v032.c496 struct v4l2_mbus_framefmt *__format; in mt9v032_set_format() local
519 __format = __mt9v032_get_pad_format(mt9v032, cfg, format->pad, in mt9v032_set_format()
521 __format->width = __crop->width / hratio; in mt9v032_set_format()
522 __format->height = __crop->height / vratio; in mt9v032_set_format()
530 format->format = *__format; in mt9v032_set_format()
553 struct v4l2_mbus_framefmt *__format; in mt9v032_set_selection() local
587 __format = __mt9v032_get_pad_format(mt9v032, cfg, sel->pad, in mt9v032_set_selection()
589 __format->width = rect.width; in mt9v032_set_selection()
590 __format->height = rect.height; in mt9v032_set_selection()
/Linux-v4.19/drivers/media/platform/xilinx/
Dxilinx-tpg.c286 struct v4l2_mbus_framefmt *__format; in xtpg_set_format() local
289 __format = __xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); in xtpg_set_format()
295 fmt->format = *__format; in xtpg_set_format()
303 __format->code = fmt->format.code; in xtpg_set_format()
306 xvip_set_format_size(__format, fmt); in xtpg_set_format()
308 fmt->format = *__format; in xtpg_set_format()
312 __format = __xtpg_get_pad_format(xtpg, cfg, 1, fmt->which); in xtpg_set_format()
313 *__format = fmt->format; in xtpg_set_format()
/Linux-v4.19/drivers/net/wireless/ralink/rt2x00/
Drt2x00debug.c438 #define RT2X00DEBUGFS_OPS_READ(__name, __format, __type) \ argument
465 size = sprintf(line, __format, value); \
515 #define RT2X00DEBUGFS_OPS(__name, __format, __type) \ argument
516 RT2X00DEBUGFS_OPS_READ(__name, __format, __type); \
/Linux-v4.19/drivers/gpu/drm/arm/
Dmalidp_hw.c54 #define MALIDP_ID(__group, __format) \ argument
55 ((((__group) & 0x7) << 3) | ((__format) & 0x7))