Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/i2c/
H A 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 …]
H A 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 …]
H A Dov5645.c894 struct v4l2_mbus_framefmt *__format; in ov5645_set_format() local
924 __format = __ov5645_get_pad_format(ov5645, sd_state, format->pad, in ov5645_set_format()
926 __format->width = __crop->width; in ov5645_set_format()
927 __format->height = __crop->height; in ov5645_set_format()
928 __format->code = MEDIA_BUS_FMT_UYVY8_1X16; in ov5645_set_format()
929 __format->field = V4L2_FIELD_NONE; in ov5645_set_format()
930 __format->colorspace = V4L2_COLORSPACE_SRGB; in ov5645_set_format()
932 format->format = *__format; in ov5645_set_format()
H A Dmt9p031.c593 struct v4l2_mbus_framefmt *__format; in mt9p031_set_format() local
616 __format = __mt9p031_get_pad_format(mt9p031, sd_state, format->pad, in mt9p031_set_format()
618 __format->width = __crop->width / hratio; in mt9p031_set_format()
619 __format->height = __crop->height / vratio; in mt9p031_set_format()
621 format->format = *__format; in mt9p031_set_format()
655 struct v4l2_mbus_framefmt *__format; in mt9p031_set_selection() local
688 __format = __mt9p031_get_pad_format(mt9p031, sd_state, in mt9p031_set_selection()
691 __format->width = rect.width; in mt9p031_set_selection()
692 __format->height = rect.height; in mt9p031_set_selection()
H A 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()
/openbmc/linux/drivers/media/platform/xilinx/
H A 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()
H A 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()
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A 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); \
/openbmc/linux/tools/testing/selftests/alsa/
H A Dpcm-test.c347 __format: in test_pcm_time()
367 goto __format; in test_pcm_time()
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/d71/
H A Dd71_dev.c468 #define __HW_ID(__group, __format) \ argument
469 ((((__group) & 0x7) << 3) | ((__format) & 0x7))
/openbmc/linux/drivers/gpu/drm/arm/
H A Dmalidp_hw.c61 #define MALIDP_ID(__group, __format) \ argument
62 ((((__group) & 0x7) << 3) | ((__format) & 0x7))