| /linux/tools/objtool/include/objtool/ |
| H A D | warn.h | 45 #define ___WARN(severity, extra, format, ...) \ argument 47 "%s%s%s: objtool" extra ": " format "\n", \ 53 #define __WARN(severity, format, ...) \ argument 54 ___WARN(severity, "", format, ##__VA_ARGS__) 56 #define __WARN_LINE(severity, format, ...) \ argument 57 ___WARN(severity, " [%s:%d]", format, __FILE__, __LINE__, ##__VA_ARGS__) 59 #define __WARN_ELF(severity, format, ...) \ argument 60 __WARN_LINE(severity, "%s: " format " failed: %s", __func__, ##__VA_ARGS__, elf_errmsg(-1)) 62 #define __WARN_GLIBC(severity, format, ...) \ argument 63 __WARN_LINE(severity, "%s: " format " faile 65 __WARN_FUNC(severity,sec,offset,format,...) global() argument 74 WARN(format,...) global() argument 75 WARN_FUNC(sec,offset,format,...) global() argument 77 WARN_INSN(insn,format,...) global() argument 89 BT_INSN(insn,format,...) global() argument 106 ERROR(format,...) global() argument 107 ERROR_ELF(format,...) global() argument 108 ERROR_GLIBC(format,...) global() argument 109 ERROR_FUNC(sec,offset,format,...) global() argument 110 ERROR_INSN(insn,format,...) global() argument 126 __dbg(format,...) global() argument 139 __dbg_indent(format,...) global() argument [all...] |
| /linux/drivers/acpi/acpica/ |
| H A D | utxferror.c | 35 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 …]
|
| /linux/drivers/media/platform/xilinx/ |
| H A D | xilinx-vip.c | 60 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 …]
|
| /linux/scripts/gdb/linux/ |
| H A D | timerlist.py | 38 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 += " .offset: {} nsecs\n".format(base['offset']) 72 text = "cpu: {}\n".format(cpu) 74 text += " clock {}:\n".format(i) 84 text += "\n".join([s.format( [all...] |
| /linux/drivers/usb/atm/ |
| H A D | usbatm.h | 29 #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 …]
|
| /linux/include/net/ |
| H A D | net_debug.h | 12 const char *format, ...); 14 void netdev_emerg(const struct net_device *dev, const char *format, ...); 16 void netdev_alert(const struct net_device *dev, const char *format, ...); 18 void netdev_crit(const struct net_device *dev, const char *format, ...); 20 void netdev_err(const struct net_device *dev, const char *format, ...); 22 void netdev_warn(const struct net_device *dev, const char *format, ...); 24 void netdev_notice(const struct net_device *dev, const char *format, ...); 26 void netdev_info(const struct net_device *dev, const char *format, ...); 55 #define netdev_dbg(__dev, format, args...) \ argument 57 dynamic_netdev_dbg(__dev, format, ##args); \ [all …]
|
| /linux/drivers/gpu/drm/tegra/ |
| H A D | plane.c | 64 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 …]
|
| /linux/tools/power/cpupower/po/ |
| H A D | ka.po | 75 #, 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 …]
|
| H A D | fr.po | 73 #, 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 D | cs.po | 76 #, 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 …]
|
| H A D | pt.po | 71 #, 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 D | it.po | 73 #, 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 D | de.po | 73 #, c-format 82 #, c-format 91 #, c-format 96 #, c-format 101 #, c-format 106 #, c-format 111 #, c-format 117 #, c-format 123 #, c-format 132 #, c-format [all …]
|
| /linux/drivers/gpu/drm/sysfb/ |
| H A D | vesadrm.c | 154 const struct drm_format_info *format) in vesadrm_fill_gamma_lut() argument 159 switch (format->format) { in vesadrm_fill_gamma_lut() 173 &format->format); in vesadrm_fill_gamma_lut() 179 const struct drm_format_info *format, in vesadrm_load_gamma_lut() argument 185 switch (format->format) { in vesadrm_load_gamma_lut() 199 &format->format); in vesadrm_load_gamma_lut() 205 const struct drm_format_info *format) in vesadrm_fill_palette_lut() argument 210 switch (format->format) { in vesadrm_fill_palette_lut() 219 &format->format); in vesadrm_fill_palette_lut() 225 const struct drm_format_info *format, in vesadrm_load_palette_lut() argument [all …]
|
| /linux/tools/power/x86/intel_pstate_tracer/ |
| H A D | intel_pstate_tracer.py | 91 print(' *.png - a variety of PNG format plot files created from the trace contents and the additional calculations.') 94 print(' Maximum number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS)) 101 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 108 g_plot('set title "{} : cpu perf busy vs. sample : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetime.now())) 114 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_SAMPLE, C_CORE)) 115 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED)) 116 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost",\\'.format(C_SAMPLE, C_BOOST)) 117 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 4 axis x1y1 title "P-State"'.format(C_SAMPLE, C_TO)) 122 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 129 g_plot('set title "{} : perf busy : CPU {:0>3} : {:%F %H:%M}"'.format(testnam [all...] |
| /linux/drivers/hwmon/pmbus/ |
| H A D | adp1050.c | 21 .format[PSC_VOLTAGE_IN] = linear, 22 .format[PSC_VOLTAGE_OUT] = linear, 23 .format[PSC_CURRENT_IN] = linear, 24 .format[PSC_TEMPERATURE] = linear, 33 .format[PSC_VOLTAGE_IN] = linear, 34 .format[PSC_VOLTAGE_OUT] = linear, 35 .format[PSC_CURRENT_IN] = linear, 36 .format[PSC_TEMPERATURE] = linear, 47 .format[PSC_VOLTAGE_IN] = linear, 48 .format[PSC_VOLTAGE_OUT] = linear, [all …]
|
| /linux/sound/core/oss/ |
| H A D | pcm_plugin.c | 36 struct snd_pcm_plugin_format *format; in snd_pcm_plugin_alloc() local 43 format = &plugin->src_format; in snd_pcm_plugin_alloc() 45 format = &plugin->dst_format; in snd_pcm_plugin_alloc() 47 width = snd_pcm_format_physical_width(format->format); in snd_pcm_plugin_alloc() 50 size = array3_size(frames, format->channels, width); in snd_pcm_plugin_alloc() 68 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc() 74 c->area.step = format->channels * width; in snd_pcm_plugin_alloc() 77 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc() 79 size /= format in snd_pcm_plugin_alloc() 263 snd_pcm_plug_formats(const struct snd_mask * mask,snd_pcm_format_t format) snd_pcm_plug_formats() argument 305 snd_pcm_plug_slave_format(snd_pcm_format_t format,const struct snd_mask * format_mask) snd_pcm_plug_slave_format() argument 549 struct snd_pcm_plugin_format *format; snd_pcm_plug_client_channels_buf() local 658 snd_pcm_area_silence(const struct snd_pcm_channel_area * dst_area,size_t dst_offset,size_t samples,snd_pcm_format_t format) snd_pcm_area_silence() argument 705 snd_pcm_area_copy(const struct snd_pcm_channel_area * src_area,size_t src_offset,const struct snd_pcm_channel_area * dst_area,size_t dst_offset,size_t samples,snd_pcm_format_t format) snd_pcm_area_copy() argument [all...] |
| /linux/sound/core/ |
| H A D | pcm_misc.c | 27 static bool valid_format(snd_pcm_format_t format) 29 return format >= 0 && format <= SNDRV_PCM_FORMAT_LAST; 176 /* FIXME: the following format is not defined properly yet */ 240 * snd_pcm_format_signed - Check the PCM format is signed linear 241 * @format: the format to check 243 * Return: 1 if the given PCM format is signed linear, 0 if unsigned 246 int snd_pcm_format_signed(snd_pcm_format_t format) 249 if (!valid_format(format)) in snd_pcm_format_signed() argument 30 valid_format(snd_pcm_format_t format) valid_format() argument 268 snd_pcm_format_unsigned(snd_pcm_format_t format) snd_pcm_format_unsigned() argument 285 snd_pcm_format_linear(snd_pcm_format_t format) snd_pcm_format_linear() argument 298 snd_pcm_format_little_endian(snd_pcm_format_t format) snd_pcm_format_little_endian() argument 317 snd_pcm_format_big_endian(snd_pcm_format_t format) snd_pcm_format_big_endian() argument 335 snd_pcm_format_width(snd_pcm_format_t format) snd_pcm_format_width() argument 354 snd_pcm_format_physical_width(snd_pcm_format_t format) snd_pcm_format_physical_width() argument 374 snd_pcm_format_size(snd_pcm_format_t format,size_t samples) snd_pcm_format_size() argument 389 snd_pcm_format_silence_64(snd_pcm_format_t format) snd_pcm_format_silence_64() argument 409 snd_pcm_format_set_silence(snd_pcm_format_t format,void * data,unsigned int samples) snd_pcm_format_set_silence() argument [all...] |
| /linux/drivers/media/test-drivers/vimc/ |
| H A D | vimc-scaler.c | 144 struct v4l2_subdev_format *format) in vimc_scaler_set_fmt() argument 150 if (format->which == V4L2_SUBDEV_FORMAT_ACTIVE && vscaler->src_frame) in vimc_scaler_set_fmt() 153 fmt = v4l2_subdev_state_get_format(sd_state, format->pad); in vimc_scaler_set_fmt() 159 if (format->pad == VIMC_SCALER_SINK) { in vimc_scaler_set_fmt() 163 vpix = vimc_pix_map_by_code(format->format.code); in vimc_scaler_set_fmt() 165 fmt->code = format->format.code; in vimc_scaler_set_fmt() 170 fmt->colorspace = format->format.colorspace; in vimc_scaler_set_fmt() 171 fmt->ycbcr_enc = format->format.ycbcr_enc; in vimc_scaler_set_fmt() 172 fmt->quantization = format->format.quantization; in vimc_scaler_set_fmt() 173 fmt->xfer_func = format->format.xfer_func; in vimc_scaler_set_fmt() [all …]
|
| /linux/tools/include/nolibc/ |
| H A D | stdio.h | 305 * - for each group of literal characters in the format string. in __nolibc_printf() 338 static __attribute__((unused, format(printf, 3, 0))) in __nolibc_printf() 364 /* Output characters from the format string. */ in __nolibc_printf() 369 /* we're in a format sequence */ in __nolibc_printf() 600 /* Invalid format: back up to output the format characters */ in sscanf() 655 static __attribute__((unused, format(printf, 2, 0))) 661 static __attribute__((unused, format(printf, 1, 0))) 667 static __attribute__((unused, format(printf, 2, 3))) 679 static __attribute__((unused, format(print 505 vsscanf(const char * str,const char * format,va_list args) vsscanf() argument 591 sscanf(const char * str,const char * format,...) sscanf() argument [all...] |
| /linux/drivers/gpu/drm/meson/ |
| H A D | meson_osd_afbcd.c | 58 static int meson_gxm_afbcd_pixel_fmt(u64 modifier, uint32_t format) in meson_gxm_afbcd_pixel_fmt() argument 60 switch (format) { in meson_gxm_afbcd_pixel_fmt() 66 DRM_DEBUG("unsupported afbc format[%08x]\n", format); in meson_gxm_afbcd_pixel_fmt() 71 static bool meson_gxm_afbcd_supported_fmt(u64 modifier, uint32_t format) in meson_gxm_afbcd_supported_fmt() argument 79 return meson_gxm_afbcd_pixel_fmt(modifier, format) >= 0; in meson_gxm_afbcd_supported_fmt() 125 priv->afbcd.format); in meson_gxm_afbcd_setup() 206 static int meson_g12a_afbcd_pixel_fmt(u64 modifier, uint32_t format) in meson_g12a_afbcd_pixel_fmt() argument 208 switch (format) { in meson_g12a_afbcd_pixel_fmt() 230 DRM_DEBUG("unsupported afbc format[%08x]\n", format); in meson_g12a_afbcd_pixel_fmt() 235 static int meson_g12a_afbcd_bpp(uint32_t format) in meson_g12a_afbcd_bpp() argument [all …]
|
| /linux/drivers/gpu/drm/gud/ |
| H A D | gud_pipe.c | 51 static size_t gud_xrgb8888_to_r124(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_r124() argument 56 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_r124() 64 drm_WARN_ON_ONCE(fb->dev, format->char_per_block[0] != 1); in gud_xrgb8888_to_r124() 70 len = drm_format_info_min_pitch(format, 0, width) * height; in gud_xrgb8888_to_r124() 101 static size_t gud_xrgb8888_to_color(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_color() argument 105 unsigned int block_width = drm_format_info_block_width(format, 0); in gud_xrgb8888_to_color() 116 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); in gud_xrgb8888_to_color() 136 switch (format->format) { in gud_xrgb8888_to_color() 154 const struct drm_format_info *format, struct drm_rect *rect, in gud_prep_flush() argument 163 pitch = drm_format_info_min_pitch(format, 0, drm_rect_width(rect)); in gud_prep_flush() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| H A D | core.h | 62 #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 71 mlx5_core_warn((__adev)->mdev, "FPGA: %s:%d:(pid %d): " format, \ 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__) [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | task-analyzer.py | 330 fmt = " {{:^{}}}".format(sum(db["task_info"].values())) 331 fmt += " {{:^{}}}".format( 337 fmt += " {{:^{}}}".format( 341 fd_sum.write(fmt.format(*_header) + "\n") 352 fmt = "{{:>{}}}".format(db["task_info"]["pid"] * fix_csv_align) 353 fmt += "{}{{:>{}}}".format(separator, db["task_info"]["tid"] * fix_csv_align) 354 fmt += "{}{{:>{}}}".format(separator, db["task_info"]["comm"] * fix_csv_align) 355 fmt += "{}{{:>{}}}".format(separator, db["runtime_info"]["runs"] * fix_csv_align) 356 fmt += "{}{{:>{}}}".format(separator, db["runtime_info"]["acc"] * fix_csv_align) 357 fmt += "{}{{:>{}}}".format(separator, db["runtime_info"]["mean"] * fix_csv_align) [all …]
|
| /linux/tools/perf/ui/ |
| H A D | util.c | 9 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()
|