Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 4208) sorted by relevance

12345678910>>...169

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_fourcc.c147 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument
150 { .format = DRM_FORMAT_C1, .depth = 1, .num_planes = 1, in __drm_format_info()
152 { .format = DRM_FORMAT_C2, .depth = 2, .num_planes = 1, in __drm_format_info()
154 { .format = DRM_FORMAT_C4, .depth = 4, .num_planes = 1, in __drm_format_info()
156 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
157 { .format = DRM_FORMAT_D1, .depth = 1, .num_planes = 1, in __drm_format_info()
159 { .format = DRM_FORMAT_D2, .depth = 2, .num_planes = 1, in __drm_format_info()
161 { .format = DRM_FORMAT_D4, .depth = 4, .num_planes = 1, in __drm_format_info()
163 …{ .format = DRM_FORMAT_D8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
164 { .format = DRM_FORMAT_R1, .depth = 1, .num_planes = 1, in __drm_format_info()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D059.out18 file format: IMGFMT
28 file format: IMGFMT
38 format: FLAT
42 format: FLAT
46 format: FLAT
50 format: FLAT
54 format: FLAT
58 format: FLAT
62 format: FLAT
66 format: FLAT
[all …]
/openbmc/phosphor-power/phosphor-regulators/test/
H A Dpmbus_utils_tests.cpp27 pmbus_utils::VoutDataFormat format; in TEST() local
32 pmbus_utils::parseVoutMode(voutModeValue, format, parameter); in TEST()
33 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::linear); in TEST()
38 pmbus_utils::parseVoutMode(voutModeValue, format, parameter); in TEST()
39 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::linear); in TEST()
44 pmbus_utils::parseVoutMode(voutModeValue, format, parameter); in TEST()
45 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::linear); in TEST()
50 pmbus_utils::parseVoutMode(voutModeValue, format, parameter); in TEST()
51 EXPECT_EQ(format, pmbus_utils::VoutDataFormat::linear); in TEST()
56 pmbus_utils::parseVoutMode(voutModeValue, format, parameter); in TEST()
[all …]
/openbmc/openpower-hw-diags/attn/
H A Dti_handler.cpp211 std::format("{:08X}", be32toh(i_tiDataArea->srcWord12HbWord0)); in handleHbTiWithSrc()
285 std::format("{:02x}", i_tiDataArea->tiAreaValid); in parsePhypOpalTiInfo()
286 i_map["0x01 Command"] = std::format("{:02x}", i_tiDataArea->command); in parsePhypOpalTiInfo()
288 std::format("{:04x}", be16toh(i_tiDataArea->numDataBytes)); in parsePhypOpalTiInfo()
289 i_map["0x04 Reserved"] = std::format("{:02x}", i_tiDataArea->reserved1); in parsePhypOpalTiInfo()
291 std::format("{:04x}", be16toh(i_tiDataArea->hardwareDumpType)); in parsePhypOpalTiInfo()
292 i_map["0x08 SRC Format"] = std::format("{:02x}", i_tiDataArea->srcFormat); in parsePhypOpalTiInfo()
293 i_map["0x09 SRC Flags"] = std::format("{:02x}", i_tiDataArea->srcFlags); in parsePhypOpalTiInfo()
295 std::format("{:02x}", i_tiDataArea->numAsciiWords); in parsePhypOpalTiInfo()
297 std::format("{:02x}", i_tiDataArea->numHexWords); in parsePhypOpalTiInfo()
[all …]
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_rwpf.c66 struct v4l2_mbus_framefmt *format; in vsp1_rwpf_set_format() local
79 if (fmt->format.code != MEDIA_BUS_FMT_ARGB8888_1X32 && in vsp1_rwpf_set_format()
80 fmt->format.code != MEDIA_BUS_FMT_AHSV8888_1X32 && in vsp1_rwpf_set_format()
81 fmt->format.code != MEDIA_BUS_FMT_AYUV8_1X32) in vsp1_rwpf_set_format()
82 fmt->format.code = MEDIA_BUS_FMT_AYUV8_1X32; in vsp1_rwpf_set_format()
84 format = vsp1_entity_get_pad_format(&rwpf->entity, config, fmt->pad); in vsp1_rwpf_set_format()
91 format->code = fmt->format.code; in vsp1_rwpf_set_format()
92 fmt->format = *format; in vsp1_rwpf_set_format()
96 format->code = fmt->format.code; in vsp1_rwpf_set_format()
97 format->width = clamp_t(unsigned int, fmt->format.width, in vsp1_rwpf_set_format()
[all …]
H A Dvsp1_drm.c69 struct v4l2_subdev_format format = { in vsp1_du_insert_uif() local
87 format.pad = prev_pad; in vsp1_du_insert_uif()
89 ret = v4l2_subdev_call(&prev->subdev, pad, get_fmt, NULL, &format); in vsp1_du_insert_uif()
93 format.pad = UIF_PAD_SINK; in vsp1_du_insert_uif()
95 ret = v4l2_subdev_call(&uif->subdev, pad, set_fmt, NULL, &format); in vsp1_du_insert_uif()
100 __func__, format.format.width, format.format.height, in vsp1_du_insert_uif()
101 format.format.code); in vsp1_du_insert_uif()
124 struct v4l2_subdev_format format = { in vsp1_du_pipeline_setup_rpf() local
136 format.pad = RWPF_PAD_SINK; in vsp1_du_pipeline_setup_rpf()
137 format.format.width = crop->width + crop->left; in vsp1_du_pipeline_setup_rpf()
[all …]
/openbmc/linux/drivers/acpi/acpica/
H A Dutprint.c318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument
342 for (; *format; ++format) { in vsnprintf()
343 if (*format != '%') { in vsnprintf()
344 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf()
354 ++format; in vsnprintf()
355 if (*format == '#') { in vsnprintf()
357 } else if (*format == '0') { in vsnprintf()
359 } else if (*format == '+') { in vsnprintf()
361 } else if (*format == ' ') { in vsnprintf()
363 } else if (*format == '-') { in vsnprintf()
[all …]
H A Dutxferror.c35 acpi_error(const char *module_name, u32 line_number, const char *format, ...) in acpi_error() argument
42 va_start(arg_list, format); in acpi_error()
43 acpi_os_vprintf(format, arg_list); in acpi_error()
69 u32 line_number, acpi_status status, const char *format, ...) in ACPI_EXPORT_SYMBOL()
85 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL()
86 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL()
109 acpi_warning(const char *module_name, u32 line_number, const char *format, ...) in ACPI_EXPORT_SYMBOL()
116 va_start(arg_list, format); in ACPI_EXPORT_SYMBOL()
117 acpi_os_vprintf(format, arg_list); in ACPI_EXPORT_SYMBOL()
138 void ACPI_INTERNAL_VAR_XFACE acpi_info(const char *format, ...) in ACPI_EXPORT_SYMBOL()
[all …]
/openbmc/phosphor-dbus-monitor/src/
H A Dformat.hpp23 static constexpr auto format = "=%d"; member
28 static constexpr auto format = "=%hhd"; member
33 static constexpr auto format = "=%hd"; member
38 static constexpr auto format = "=%d"; member
43 static constexpr auto format = "=%ld"; member
48 static constexpr auto format = "=%lld"; member
53 static constexpr auto format = "=%lf"; member
58 static constexpr auto format = "=%hhd"; member
63 static constexpr auto format = "=%hd"; member
68 static constexpr auto format = "=%d"; member
[all …]
/openbmc/linux/drivers/staging/media/omap4iss/
H A Diss_ipipe.c85 struct v4l2_mbus_framefmt *format; in ipipe_configure() local
88 format = &ipipe->formats[IPIPE_PAD_SINK]; in ipipe_configure()
101 (format->height - 2) & IPIPE_SRC_VSZ_MASK); in ipipe_configure()
103 (format->width - 1) & IPIPE_SRC_HSZ_MASK); in ipipe_configure()
115 format = &ipipe->formats[IPIPE_PAD_SOURCE_VP]; in ipipe_configure()
203 struct v4l2_mbus_framefmt *format; in ipipe_try_format() local
226 format = __ipipe_get_format(ipipe, sd_state, IPIPE_PAD_SINK, in ipipe_try_format()
228 memcpy(fmt, format, sizeof(*fmt)); in ipipe_try_format()
279 struct v4l2_mbus_framefmt format; in ipipe_enum_frame_size() local
284 format.code = fse->code; in ipipe_enum_frame_size()
[all …]
H A Diss_ipipeif.c125 struct v4l2_mbus_framefmt *format; in ipipeif_configure() local
131 format = &ipipeif->formats[IPIPEIF_PAD_SINK]; in ipipeif_configure()
138 switch (format->code) { in ipipeif_configure()
182 info = omap4iss_video_format_info(format->code); in ipipeif_configure()
195 (format->width - 1) & ISIF_LNH_MASK); in ipipeif_configure()
197 (format->height - 1) & ISIF_LNV_MASK); in ipipeif_configure()
201 format->height - 1); in ipipeif_configure()
204 format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; in ipipeif_configure()
382 struct v4l2_mbus_framefmt *format; in ipipeif_try_format() local
407 format = __ipipeif_get_format(ipipeif, sd_state, in ipipeif_try_format()
[all …]
/openbmc/libbej/test/
H A Dbej_tree_test.cpp17 EXPECT_THAT(node.nodeAttr.format.principalDataType, bejSet); in TEST()
18 EXPECT_THAT(node.nodeAttr.format.deferredBinding, 0); in TEST()
19 EXPECT_THAT(node.nodeAttr.format.readOnlyProperty, 0); in TEST()
20 EXPECT_THAT(node.nodeAttr.format.nullableProperty, 0); in TEST()
34 EXPECT_THAT(node.nodeAttr.format.principalDataType, bejArray); in TEST()
35 EXPECT_THAT(node.nodeAttr.format.deferredBinding, 0); in TEST()
36 EXPECT_THAT(node.nodeAttr.format.readOnlyProperty, 0); in TEST()
37 EXPECT_THAT(node.nodeAttr.format.nullableProperty, 0); in TEST()
51 EXPECT_THAT(node.nodeAttr.format.principalDataType, bejPropertyAnnotation); in TEST()
52 EXPECT_THAT(node.nodeAttr.format.deferredBinding, 0); in TEST()
[all …]
/openbmc/linux/scripts/gdb/linux/
H A Dtimerlist.py38 text = " #{}: <{}>, {}, ".format(idx, timer, function)
39 text += "S:{:02x}\n".format(int(timer['state']))
40 text += " # expires at {}-{} nsecs [in {} to {} nsecs]\n".format(
55 text = " .base: {}\n".format(base.address)
56 text += " .index: {}\n".format(base['index'])
58 text += " .resolution: {} nsecs\n".format(constants.LX_hrtimer_resolution)
60 text += " .get_time: {}\n".format(base['get_time'])
62 text += " .offset: {} nsecs\n".format(base['offset'])
74 text = "cpu: {}\n".format(cpu)
76 text += " clock {}:\n".format(i)
[all …]
/openbmc/linux/drivers/media/platform/xilinx/
H A Dxilinx-vip.c60 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_code() local
62 if (format->code == code) in xvip_get_format_by_code()
63 return format; in xvip_get_format_by_code()
83 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_get_format_by_fourcc() local
85 if (format->fourcc == fourcc) in xvip_get_format_by_fourcc()
86 return format; in xvip_get_format_by_fourcc()
124 const struct xvip_video_format *format = &xvip_video_formats[i]; in xvip_of_get_format() local
126 if (format->vf_code != vf_code || format->width != width) in xvip_of_get_format()
130 strcmp(pattern, format->pattern)) in xvip_of_get_format()
133 return format; in xvip_of_get_format()
[all …]
/openbmc/linux/drivers/media/v4l2-core/
H A Dv4l2-common.c234 const struct v4l2_format_info *v4l2_format_info(u32 format) in v4l2_format_info() argument
238 …{ .format = V4L2_PIX_FMT_BGR24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
239 …{ .format = V4L2_PIX_FMT_RGB24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
240 …{ .format = V4L2_PIX_FMT_HSV24, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
241 …{ .format = V4L2_PIX_FMT_BGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
242 …{ .format = V4L2_PIX_FMT_XBGR32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
243 …{ .format = V4L2_PIX_FMT_BGRX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
244 …{ .format = V4L2_PIX_FMT_RGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
245 …{ .format = V4L2_PIX_FMT_XRGB32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
246 …{ .format = V4L2_PIX_FMT_RGBX32, .pixel_enc = V4L2_PIXEL_ENC_RGB, .mem_planes = 1, .comp_planes =… in v4l2_format_info()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/picolibc/picolibc/
H A Davoid_polluting_cross_directories.patch47 buildtype_include_dir = specs_prefix_format.format(get_option('includedir') / '%*')
48 isystem_buildtype = picolibc_buildtype_format.format(buildtype_include_dir)
51 +isystem_sysroot = sysroot_format.format(sysroot_include_dir)
53 gen_include_dir = specs_prefix_format.format(get_option('includedir'))
54 isystem_gen = gen_format.format(gen_include_dir)
56 -specs_isystem = '-isystem ' + specs_option_format.format(isystem_prefix, isystem_buildtype, isyste…
57 +specs_isystem = '-isystem ' + specs_option_format.format(isystem_prefix, isystem_buildtype, isyste…
62 buildtype_lib_dir = specs_prefix_format.format(get_option('libdir') / '%*')
63 lib_buildtype = picolibc_buildtype_format.format(buildtype_lib_dir)
66 +lib_sysroot = sysroot_format.format(sysroot_lib_dir)
[all …]
/openbmc/linux/drivers/usb/atm/
H A Dusbatm.h29 #define usb_err(instance, format, arg...) \ argument
30 dev_err(&(instance)->usb_intf->dev , format , ## arg)
31 #define usb_info(instance, format, arg...) \ argument
32 dev_info(&(instance)->usb_intf->dev , format , ## arg)
33 #define usb_warn(instance, format, arg...) \ argument
34 dev_warn(&(instance)->usb_intf->dev , format , ## arg)
35 #define usb_dbg(instance, format, arg...) \ argument
36 dev_dbg(&(instance)->usb_intf->dev , format , ## arg)
39 #define atm_printk(level, instance, format, arg...) \ argument
40 printk(level "ATM dev %d: " format , \
[all …]
/openbmc/linux/drivers/staging/media/atomisp/pci/camera/util/src/
H A Dutil.c26 enum atomisp_input_format format, in ia_css_util_input_format_bpp() argument
31 switch (format) { in ia_css_util_input_format_bpp()
151 bool ia_css_util_is_input_format_raw(enum atomisp_input_format format) in ia_css_util_is_input_format_raw() argument
153 return ((format == ATOMISP_INPUT_FORMAT_RAW_6) || in ia_css_util_is_input_format_raw()
154 (format == ATOMISP_INPUT_FORMAT_RAW_7) || in ia_css_util_is_input_format_raw()
155 (format == ATOMISP_INPUT_FORMAT_RAW_8) || in ia_css_util_is_input_format_raw()
156 (format == ATOMISP_INPUT_FORMAT_RAW_10) || in ia_css_util_is_input_format_raw()
157 (format == ATOMISP_INPUT_FORMAT_RAW_12)); in ia_css_util_is_input_format_raw()
164 bool ia_css_util_is_input_format_yuv(enum atomisp_input_format format) in ia_css_util_is_input_format_yuv() argument
166 return format == ATOMISP_INPUT_FORMAT_YUV420_8_LEGACY || in ia_css_util_is_input_format_yuv()
[all …]
/openbmc/qemu/ui/
H A Dsdl2-2d.c64 int format = 0; in sdl2_2d_switch() local
94 format = SDL_PIXELFORMAT_ARGB1555; in sdl2_2d_switch()
97 format = SDL_PIXELFORMAT_RGB565; in sdl2_2d_switch()
101 format = SDL_PIXELFORMAT_ARGB8888; in sdl2_2d_switch()
105 format = SDL_PIXELFORMAT_ABGR8888; in sdl2_2d_switch()
109 format = SDL_PIXELFORMAT_RGBA8888; in sdl2_2d_switch()
112 format = SDL_PIXELFORMAT_BGRX8888; in sdl2_2d_switch()
115 format = SDL_PIXELFORMAT_BGRA8888; in sdl2_2d_switch()
120 scon->texture = SDL_CreateTexture(scon->real_renderer, format, in sdl2_2d_switch()
149 pixman_format_code_t format) in sdl2_2d_check_format() argument
[all …]
/openbmc/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_plane.c26 const struct shmob_drm_format_info *format; member
46 bpp = splane->format->yuv ? 8 : splane->format->bpp; in shmob_drm_plane_compute_base()
51 if (splane->format->yuv) { in shmob_drm_plane_compute_base()
52 bpp = splane->format->bpp - 8; in shmob_drm_plane_compute_base()
64 u32 format; in __shmob_drm_plane_setup() local
67 format = LDBBSIFR_EN | (splane->alpha << LDBBSIFR_LAY_SHIFT); in __shmob_drm_plane_setup()
69 switch (splane->format->fourcc) { in __shmob_drm_plane_setup()
74 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW; in __shmob_drm_plane_setup()
80 format |= LDBBSIFR_SWPL | LDBBSIFR_SWPW | LDBBSIFR_SWPB; in __shmob_drm_plane_setup()
85 format |= LDBBSIFR_SWPL; in __shmob_drm_plane_setup()
[all …]
/openbmc/linux/drivers/gpu/drm/tegra/
H A Dplane.c64 copy->format = state->format; in tegra_plane_atomic_duplicate_state()
108 uint32_t format, in tegra_plane_format_mod_supported() argument
111 const struct drm_format_info *info = drm_format_info(format); in tegra_plane_format_mod_supported()
145 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_pin()
193 for (i = 0; i < state->base.fb->format->num_planes; i++) { in tegra_dc_unpin()
246 fmt = state->fb->format; in tegra_plane_calculate_memory_bandwidth()
326 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument
334 *format = WIN_COLOR_DEPTH_B4G4R4A4; in tegra_plane_format()
338 *format = WIN_COLOR_DEPTH_B5G5R5A1; in tegra_plane_format()
342 *format = WIN_COLOR_DEPTH_B5G6R5; in tegra_plane_format()
[all …]
/openbmc/linux/tools/power/cpupower/po/
H A Dka.po75 #, c-format
84 #, c-format
93 #, c-format
98 #, c-format
103 #, c-format
109 #, c-format
114 #, c-format
121 #, c-format
128 #, c-format
137 #, c-format
[all …]
/openbmc/linux/drivers/gpu/drm/imx/dcss/
H A Ddcss-plane.c71 u32 format, in dcss_plane_format_mod_supported() argument
76 switch (format) { in dcss_plane_format_mod_supported()
104 static bool dcss_plane_can_rotate(const struct drm_format_info *format, in dcss_plane_can_rotate() argument
111 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate()
114 else if (!format->is_yuv && in dcss_plane_can_rotate()
119 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate()
120 (format->format == DRM_FORMAT_NV12 || in dcss_plane_can_rotate()
121 format->format == DRM_FORMAT_NV21)) in dcss_plane_can_rotate()
170 fb->format->format)) { in dcss_plane_atomic_check()
187 if (!dcss_plane_can_rotate(fb->format, in dcss_plane_atomic_check()
[all …]
/openbmc/linux/net/bluetooth/
H A Dlib.c209 void bt_info(const char *format, ...) in bt_info() argument
214 va_start(args, format); in bt_info()
216 vaf.fmt = format; in bt_info()
225 void bt_warn(const char *format, ...) in bt_warn() argument
230 va_start(args, format); in bt_warn()
232 vaf.fmt = format; in bt_warn()
241 void bt_err(const char *format, ...) in bt_err() argument
246 va_start(args, format); in bt_err()
248 vaf.fmt = format; in bt_err()
270 void bt_dbg(const char *format, ...) in bt_dbg() argument
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c54 const struct drm_format_info *format; member
85 const struct drm_format_info *format, int n, int x, int y) in get_linear_addr() argument
92 + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) in get_linear_addr()
93 + (y * fb->pitches[n] / (n == 0 ? 1 : format->vsub)); in get_linear_addr()
141 const struct drm_format_info *format = omap_fb->format; in omap_framebuffer_update_scanout() local
144 info->fourcc = fb->format->format; in omap_framebuffer_update_scanout()
172 if (fb->format->format == DRM_FORMAT_UYVY || in omap_framebuffer_update_scanout()
173 fb->format->format == DRM_FORMAT_YUYV) { in omap_framebuffer_update_scanout()
205 info->paddr = get_linear_addr(fb, format, 0, x, y); in omap_framebuffer_update_scanout()
212 info->screen_width /= format->cpp[0]; in omap_framebuffer_update_scanout()
[all …]

12345678910>>...169