Home
last modified time | relevance | path

Searched refs:format (Results 26 – 50 of 4651) sorted by relevance

12345678910>>...187

/openbmc/linux/include/net/
H A Dnet_debug.h12 const char *format, ...);
55 #define netdev_dbg(__dev, format, args...) \ argument
57 dynamic_netdev_dbg(__dev, format, ##args); \
60 #define netdev_dbg(__dev, format, args...) \ argument
61 netdev_printk(KERN_DEBUG, __dev, format, ##args)
63 #define netdev_dbg(__dev, format, args...) \ argument
66 netdev_printk(KERN_DEBUG, __dev, format, ##args); \
74 #define netdev_vdbg(dev, format, args...) \ argument
77 netdev_printk(KERN_DEBUG, dev, format, ##args); \
116 dynamic_netdev_dbg(netdev, format, ##args); \
[all …]
/openbmc/openbmc-tools/openbmc-autobump/
H A Dopenbmc-autobump.py30 sys.stderr.write("{}\n".format(msg))
35 log("cloning into {}...".format(local_name), args)
38 log("{} exists, updating...".format(local_name), args)
101 remote = "ssh://{}/openbmc/{}".format(*remote_fmt_args)
105 log("{}".format(e), args)
109 pathspecs = ("*.{}".format(x) for x in match_suffixes)
125 log("{}".format(e), args)
147 log("{}".format(e), args)
158 change_id = "I{}".format(change_id.strip())
181 log("{}".format(e), args)
[all …]
/openbmc/linux/drivers/hwmon/pmbus/
H A Dbel-pfe.c33 .format[PSC_VOLTAGE_IN] = linear,
34 .format[PSC_VOLTAGE_OUT] = linear,
35 .format[PSC_CURRENT_IN] = linear,
36 .format[PSC_CURRENT_OUT] = linear,
37 .format[PSC_POWER] = linear,
38 .format[PSC_TEMPERATURE] = linear,
39 .format[PSC_FAN] = linear,
53 .format[PSC_VOLTAGE_IN] = linear,
55 .format[PSC_CURRENT_IN] = linear,
57 .format[PSC_POWER] = linear,
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/
H A Domap_fb.c92 + (x * format->cpp[n] / (n == 0 ? 1 : format->hsub)) 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()
214 if (fb->format->format == DRM_FORMAT_NV12) { in omap_framebuffer_update_scanout()
232 if (fb->format->is_yuv) { in omap_framebuffer_update_scanout()
248 if (fb->format->format == DRM_FORMAT_NV12) { in omap_framebuffer_update_scanout()
326 (char *)&fb->format->format); in omap_framebuffer_describe()
401 omap_fb->format = format; in omap_framebuffer_init()
[all …]
/openbmc/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py103 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
124 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
143 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
158 file_name = 'cpu{:0>3}.csv'.format(cpu_index)
201 g_plot('title_list = "{}"'.format(title_list))
215 g_plot('title_list = "{}"'.format(title_list))
229 g_plot('title_list = "{}"'.format(title_list))
243 g_plot('title_list = "{}"'.format(title_list))
257 g_plot('title_list = "{}"'.format(title_list))
271 g_plot('title_list = "{}"'.format(title_list))
[all …]
/openbmc/linux/sound/core/
H A Dpcm_misc.c47 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; in valid_format()
267 if (!valid_format(format)) in snd_pcm_format_signed()
287 val = snd_pcm_format_signed(format); in snd_pcm_format_unsigned()
316 if (!valid_format(format)) in snd_pcm_format_little_endian()
318 val = pcm_formats[(INT)format].le; in snd_pcm_format_little_endian()
353 if (!valid_format(format)) in snd_pcm_format_width()
372 if (!valid_format(format)) in snd_pcm_format_physical_width()
374 val = pcm_formats[(INT)format].phys; in snd_pcm_format_physical_width()
406 if (!valid_format(format)) in snd_pcm_format_silence_64()
408 if (! pcm_formats[(INT)format].phys) in snd_pcm_format_silence_64()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dcore.h62 #define mlx5_fpga_dbg(__adev, format, ...) \ argument
63 mlx5_core_dbg((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \
66 #define mlx5_fpga_err(__adev, format, ...) \ argument
67 mlx5_core_err((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \
70 #define mlx5_fpga_warn(__adev, format, ...) \ argument
74 #define mlx5_fpga_warn_ratelimited(__adev, format, ...) \ argument
76 format, __func__, __LINE__, ##__VA_ARGS__)
78 #define mlx5_fpga_notice(__adev, format, ...) \ argument
79 mlx5_core_info((__adev)->mdev, "FPGA: " format, ##__VA_ARGS__)
81 #define mlx5_fpga_info(__adev, format, ...) \ argument
[all …]
/openbmc/linux/drivers/media/test-drivers/vimc/
H A Dvimc-capture.c19 struct v4l2_pix_format format; member
72 *fmt = vcapture->format; in vimc_capture_get_format()
91 format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH, in vimc_capture_try_fmt_vid_cap()
93 format->height = clamp_t(u32, format->height, VIMC_FRAME_MIN_HEIGHT, in vimc_capture_try_fmt_vid_cap()
103 format->bytesperline = format->width * vpix->bpp; in vimc_capture_try_fmt_vid_cap()
104 format->sizeimage = format->bytesperline * format->height; in vimc_capture_try_fmt_vid_cap()
135 vcapture->format.width, vcapture->format.height, in vimc_capture_s_fmt_vid_cap()
136 vcapture->format.pixelformat, vcapture->format.colorspace, in vimc_capture_s_fmt_vid_cap()
137 vcapture->format.quantization, vcapture->format.xfer_func, in vimc_capture_s_fmt_vid_cap()
453 vcapture->format.bytesperline = vcapture->format.width * vpix->bpp; in vimc_capture_add()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/calcs/
H A Dcustom_float.c31 const struct custom_float_format *format, in build_custom_float() argument
40 (1LL << (format->mantissa_bits + 1)) - 1, in build_custom_float()
41 1LL << format->mantissa_bits); in build_custom_float()
57 *negative = format->sign; in build_custom_float()
115 format->mantissa_bits); in build_custom_float()
123 const struct custom_float_format *format, in setup_custom_float() argument
139 (1 << (format->mantissa_bits + 1)) - 1; in setup_custom_float()
142 (1 << (format->exponenta_bits + 1)) - 1; in setup_custom_float()
156 while (i < format->mantissa_bits) { in setup_custom_float()
165 while (j < format->exponenta_bits) { in setup_custom_float()
[all …]
/openbmc/linux/drivers/staging/media/omap4iss/
H A Diss_resizer.c589 if (!format) in resizer_get_format()
592 fmt->format = *format; in resizer_get_format()
613 if (!format) in resizer_set_format()
618 *format = fmt->format; in resizer_set_format()
625 *format = fmt->format; in resizer_set_format()
627 format, in resizer_set_format()
644 if (source_fmt->format.code != sink_fmt->format.code) in resizer_link_validate()
664 memset(&format, 0, sizeof(format)); in resizer_init_formats()
667 format.format.code = MEDIA_BUS_FMT_UYVY8_1X16; in resizer_init_formats()
668 format.format.width = 4096; in resizer_init_formats()
[all …]
/openbmc/linux/sound/core/oss/
H A Dpcm_plugin.c58 format = &plugin->src_format; in snd_pcm_plugin_alloc()
62 width = snd_pcm_format_physical_width(format->format); in snd_pcm_plugin_alloc()
94 size /= format->channels; in snd_pcm_plugin_alloc()
278 snd_pcm_format_t format) in snd_pcm_plug_formats() argument
326 return format; in snd_pcm_plug_slave_format()
357 switch (format) { in snd_pcm_plug_slave_format()
415 srcformat.format, in snd_pcm_plug_format_plugins()
419 dstformat.format, in snd_pcm_plug_format_plugins()
494 if (srcformat.format != dstformat.format) { in snd_pcm_plug_format_plugins()
495 tmpformat.format = dstformat.format; in snd_pcm_plug_format_plugins()
[all …]
/openbmc/linux/include/asm-generic/
H A Dbug.h131 #define WARN(condition, format...) ({ \ argument
134 __WARN_printf(TAINT_WARN, format); \
139 #define WARN_TAINT(condition, taint, format...) ({ \ argument
142 __WARN_printf(taint, format); \
151 #define WARN_ONCE(condition, format...) \ argument
152 DO_ONCE_LITE_IF(condition, WARN, 1, format)
174 #define WARN(condition, format...) ({ \ argument
176 no_printk(format); \
182 #define WARN_ONCE(condition, format...) WARN(condition, format) argument
183 #define WARN_TAINT(condition, taint, format...) WARN(condition, format) argument
[all …]
/openbmc/linux/drivers/media/platform/renesas/vsp1/
H A Dvsp1_hsit.c70 struct v4l2_mbus_framefmt *format; in hsit_set_format() local
89 fmt->format = *format; in hsit_set_format()
93 format->code = hsit->inverse ? MEDIA_BUS_FMT_AHSV8888_1X32 in hsit_set_format()
95 format->width = clamp_t(unsigned int, fmt->format.width, in hsit_set_format()
97 format->height = clamp_t(unsigned int, fmt->format.height, in hsit_set_format()
99 format->field = V4L2_FIELD_NONE; in hsit_set_format()
100 format->colorspace = V4L2_COLORSPACE_SRGB; in hsit_set_format()
102 fmt->format = *format; in hsit_set_format()
105 format = vsp1_entity_get_pad_format(&hsit->entity, config, in hsit_set_format()
107 *format = fmt->format; in hsit_set_format()
[all …]
H A Dvsp1_sru.c127 struct v4l2_mbus_framefmt *format; in sru_enum_frame_size() local
150 fse->min_width = format->width; in sru_enum_frame_size()
151 fse->min_height = format->height; in sru_enum_frame_size()
157 fse->max_width = format->width; in sru_enum_frame_size()
190 fmt->code = format->code; in sru_try_format()
199 input_area = format->width * format->height; in sru_try_format()
206 fmt->width = format->width * 2; in sru_try_format()
209 fmt->width = format->width; in sru_try_format()
210 fmt->height = format->height; in sru_try_format()
240 *format = fmt->format; in sru_set_format()
[all …]
/openbmc/openbmc/poky/scripts/
H A Dbuildstats-diff54 "option".format(path))
83 print(fmt_str.format(name, val.nevr, maxlen=maxlen))
89 print(fmt_str.format(name, val.nevr, maxlen=maxlen))
127 return "{:02d}:{:04.1f}".format(m, s)
129 return "{:d}:{:02d}:{:04.1f}".format(h, m, s)
135 return "{:.1f}s".format(val)
160 print("Ignoring tasks less than {} ({})".format(
187 '{:+.1f}%'.format(diff.reldiff),
191 key = 'len_{}'.format(i)
204 print("\nCumulative {}:".format(val_type))
[all …]
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_osd_afbcd.c60 switch (format) { in meson_gxm_afbcd_pixel_fmt()
125 priv->afbcd.format); in meson_gxm_afbcd_setup()
208 switch (format) { in meson_g12a_afbcd_pixel_fmt()
235 static int meson_g12a_afbcd_bpp(uint32_t format) in meson_g12a_afbcd_bpp() argument
237 switch (format) { in meson_g12a_afbcd_bpp()
256 switch (format) { in meson_g12a_afbcd_fmt_to_blk_mode()
344 priv->afbcd.format); in meson_g12a_afbcd_setup()
347 format |= VPU_MAFBC_YUV_TRANSFORM; in meson_g12a_afbcd_setup()
350 format |= VPU_MAFBC_BLOCK_SPLIT; in meson_g12a_afbcd_setup()
353 format |= VPU_MAFBC_TILED_HEADER_EN; in meson_g12a_afbcd_setup()
[all …]
/openbmc/linux/tools/power/cpupower/po/
H A Dfr.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
H A Dit.po73 #, c-format
80 #, c-format
87 #, c-format
92 #, c-format
97 #, c-format
102 #, c-format
107 #, c-format
112 #, c-format
117 #, c-format
124 #, c-format
[all …]
H A Dpt.po71 #, c-format
78 #, c-format
85 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
122 #, c-format
[all …]
H A Dcs.po76 #, c-format
83 #, c-format
90 #, c-format
95 #, c-format
100 #, c-format
105 #, c-format
110 #, c-format
115 #, c-format
120 #, c-format
127 #, c-format
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Dpmbus_utils.cpp22 void parseVoutMode(uint8_t voutModeValue, VoutDataFormat& format, in parseVoutMode() argument
32 format = VoutDataFormat::linear; in parseVoutMode()
35 format = VoutDataFormat::vid; in parseVoutMode()
38 format = VoutDataFormat::direct; in parseVoutMode()
41 format = VoutDataFormat::ieee; in parseVoutMode()
49 if (format == VoutDataFormat::linear) in parseVoutMode()
61 std::string toString(SensorDataFormat format) in toString() argument
64 switch (format) in toString()
76 std::string toString(VoutDataFormat format) in toString() argument
79 switch (format) in toString()
/openbmc/linux/tools/perf/ui/
H A Dutil.c9 static int perf_stdio__error(const char *format, va_list args) in perf_stdio__error() argument
12 vfprintf(stderr, format, args); in perf_stdio__error()
16 static int perf_stdio__warning(const char *format, va_list args) in perf_stdio__warning() argument
22 vfprintf(stderr, format, args); in perf_stdio__warning()
35 int ui__error(const char *format, ...) in ui__error() argument
40 va_start(args, format); in ui__error()
41 ret = perf_eops->error(format, args); in ui__error()
47 int ui__warning(const char *format, ...) in ui__warning() argument
54 va_start(args, format); in ui__warning()
55 ret = perf_eops->warning(format, args); in ui__warning()
/openbmc/openbmc/meta-nuvoton/recipes-bsp/images/npcm7xx-igps/
H A D0001-Adjust-paths-for-use-with-Bitbake.patch24 + <size format='FileSize'>Poleg_bootblock.bin.full</size> <!-- size in the header -->
36 + <size format='FileSize'>u-boot.bin.full</size> <!-- size in the header -->
39 + <content format='FileContent'>u-boot.bin.full</content> <!-- content the user should fill -->
52 + <content format='FileSize'>Poleg_bootblock.bin</content> <!-- content the user should fill -->
77 + <content format='FileSize'>Poleg_bootblock.bin</content> <!-- content the user should fill -->
101 - <content format='FileSize'>inputs/u-boot.bin</content> <!-- content the user should fill -->
102 + <content format='FileSize'>u-boot.bin</content> <!-- content the user should fill -->
114 + <content format='FileContent'>u-boot.bin</content> <!-- content the user should fill -->
126 - <content format='FileSize'>inputs/u-boot.bin</content> <!-- content the user should fill -->
127 + <content format='FileSize'>u-boot.bin</content> <!-- content the user should fill -->
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/selftest/cases/
H A Dmanifest.py36 .format(self.classname, manifest))
60 .format(self.classname, self.buildtarget))
65 .format(self.classname))
75 .format(self.classname, bbargs))
78 .format(self.classname, bbargs))
80 .format(self.classname))
110 .format(self.classname))
113 .format(self.classname, mdir)
150 .format(self.classname))
153 .format(self.classname, mdir)
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/
H A DCVE-2019-7578.patch9 If IMA ADPCM format chunk was too short, InitIMA_ADPCM() parsing it
28 -static int InitIMA_ADPCM(WaveFMT *format)
29 +static int InitIMA_ADPCM(WaveFMT *format, int length)
35 + if (length < sizeof(*format)) goto too_short;
36 IMA_ADPCM_state.wavefmt.encoding = SDL_SwapLE16(format->encoding);
41 SDL_SwapLE16(format->bitspersample);
42 rogue_feel = (Uint8 *)format+sizeof(*format);
43 + rogue_feel_end = (Uint8 *)format + length;
44 if ( sizeof(*format) == 16 ) {
60 - if ( InitIMA_ADPCM(format) < 0 ) {
[all …]

12345678910>>...187