| /linux/drivers/gpu/drm/ |
| H A D | drm_fourcc.c | 4 * DRM core format related functions 38 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 113 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 147 * Computes a DRM 4CC pixel format code for the given color mode using 148 * drm_driver_color_mode(). The color mode is in the format used and the 172 * Internal function to query information for a given format. See 175 const struct drm_format_info *__drm_format_info(u32 format) in __drm_format_info() argument 178 { .format = DRM_FORMAT_C1, .depth = 1, .num_planes = 1, in __drm_format_info() 180 { .format = DRM_FORMAT_C2, .depth = 2, .num_planes = 1, in __drm_format_info() 182 { .format in __drm_format_info() 407 drm_format_info(u32 format) drm_format_info() argument [all...] |
| /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 | utprint.c | 309 * format - Standard printf format 318 int vsnprintf(char *string, acpi_size size, const char *format, va_list args) in vsnprintf() argument 339 for (; *format; ++format) { in vsnprintf() 340 if (*format != '%') { in vsnprintf() 341 pos = acpi_ut_bound_string_output(pos, end, *format); in vsnprintf() 351 ++format; in vsnprintf() 352 if (*format == '#') { in vsnprintf() 354 } else if (*format in vsnprintf() 568 snprintf(char * string,acpi_size size,const char * format,...) snprintf() argument 593 sprintf(char * string,const char * format,...) sprintf() argument 619 vprintf(const char * format,va_list args) vprintf() argument 646 printf(const char * format,...) printf() argument 672 vfprintf(FILE * file,const char * format,va_list args) vfprintf() argument 700 fprintf(FILE * file,const char * format,...) fprintf() argument [all...] |
| 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/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/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/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 …]
|
| /linux/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_entity.c | 110 void vsp1_entity_adjust_color_space(struct v4l2_mbus_framefmt *format) in vsp1_entity_adjust_color_space() argument 112 u8 xfer_func = format->xfer_func; in vsp1_entity_adjust_color_space() 113 u8 ycbcr_enc = format->ycbcr_enc; in vsp1_entity_adjust_color_space() 114 u8 quantization = format->quantization; in vsp1_entity_adjust_color_space() 116 vsp1_adjust_color_space(format->code, &format->colorspace, &xfer_func, in vsp1_entity_adjust_color_space() 119 format->xfer_func = xfer_func; in vsp1_entity_adjust_color_space() 120 format->ycbcr_enc = ycbcr_enc; in vsp1_entity_adjust_color_space() 121 format->quantization = quantization; in vsp1_entity_adjust_color_space() 159 * @fmt: V4L2 subdev format 206 struct v4l2_mbus_framefmt *format; vsp1_subdev_enum_mbus_code() local 265 struct v4l2_mbus_framefmt *format; vsp1_subdev_enum_frame_size() local 308 struct v4l2_mbus_framefmt *format; vsp1_subdev_set_pad_format() local 384 struct v4l2_subdev_format format = { vsp1_entity_init_state() local [all...] |
| H A D | vsp1_brx.c | 68 * The BRx can't perform format conversion, all sink and source formats must be 69 * identical. We pick the format on the first sink pad (pad 0) and propagate it 96 struct v4l2_mbus_framefmt *format; in brx_try_format() local 100 /* Default to YUV if the requested format is not supported. */ in brx_try_format() 109 /* The BRx can't perform format conversion. */ in brx_try_format() 110 format = v4l2_subdev_state_get_format(sd_state, in brx_try_format() 112 fmt->code = format->code; in brx_try_format() 114 fmt->colorspace = format->colorspace; in brx_try_format() 115 fmt->xfer_func = format->xfer_func; in brx_try_format() 116 fmt->ycbcr_enc = format in brx_try_format() 132 struct v4l2_mbus_framefmt *format; brx_set_format() local 214 struct v4l2_mbus_framefmt *format; brx_set_selection() local 281 struct v4l2_mbus_framefmt *format; brx_configure_stream() local [all...] |
| /linux/drivers/gpu/drm/imx/dcss/ |
| H A D | dcss-plane.c | 72 u32 format, in dcss_plane_format_mod_supported() argument 77 switch (format) { in dcss_plane_format_mod_supported() 105 static bool dcss_plane_can_rotate(const struct drm_format_info *format, in dcss_plane_can_rotate() argument 112 if (!format->is_yuv && linear_format) in dcss_plane_can_rotate() 115 else if (!format->is_yuv && in dcss_plane_can_rotate() 120 else if (format->is_yuv && linear_format && in dcss_plane_can_rotate() 121 (format->format == DRM_FORMAT_NV12 || in dcss_plane_can_rotate() 122 format->format in dcss_plane_can_rotate() 221 const struct drm_format_info *format = fb->format; dcss_plane_atomic_set_base() local [all...] |
| /linux/tools/power/x86/intel_pstate_tracer/ |
| H A D | intel_pstate_tracer.py | 96 … number of CPUs is {0:d}. If there are more the script will abort with an error.'.format(MAX_CPUS)) 103 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 110 …g_plot('set title "{} : cpu perf busy vs. sample : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu… 116 … {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_SAMPLE, C_CORE)) 117 …{:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED… 118 …ng {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost",\\'.format(C_SAMPLE, C_BOOST)) 119 … '" using {:d}:{:d} with linespoints linestyle 4 axis x1y1 title "P-State"'.format(C_SAMPLE, C_TO)) 124 file_name = 'cpu{:0>3}.csv'.format(cpu_index) 131 …g_plot('set title "{} : perf busy : CPU {:0>3} : {:%F %H:%M}"'.format(testname, cpu_index, datetim… 135 …{:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_ELAPSED, C_CORE)) [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/net/bluetooth/ |
| H A D | lib.c | 241 * @format: Message's format string 243 void bt_info(const char *format, ...) 248 va_start(args, format); in bt_info() 250 vaf.fmt = format; in bt_info() 261 * @format: Message's format string 263 void bt_warn(const char *format, ...) 268 va_start(args, format); in bt_warn() 270 vaf.fmt = format; in bt_warn() 246 bt_info(const char * format,...) bt_info() argument 266 bt_warn(const char * format,...) bt_warn() argument 286 bt_err(const char * format,...) bt_err() argument 319 bt_dbg(const char * format,...) bt_dbg() argument 346 bt_warn_ratelimited(const char * format,...) bt_warn_ratelimited() argument 369 bt_err_ratelimited(const char * format,...) bt_err_ratelimited() argument [all...] |
| /linux/drivers/media/test-drivers/vimc/ |
| H A D | vimc-capture.c | 19 struct v4l2_pix_format format; member 70 *fmt = vcapture->format; in vimc_capture_get_format() 78 f->fmt.pix = vcapture->format; in vimc_capture_g_fmt_vid_cap() 86 struct v4l2_pix_format *format = &f->fmt.pix; in vimc_capture_try_fmt_vid_cap() local 89 format->width = clamp_t(u32, format->width, VIMC_FRAME_MIN_WIDTH, in vimc_capture_try_fmt_vid_cap() 91 format->height = clamp_t(u32, format->height, VIMC_FRAME_MIN_HEIGHT, in vimc_capture_try_fmt_vid_cap() 95 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap() 97 format->pixelformat = fmt_default.pixelformat; in vimc_capture_try_fmt_vid_cap() 98 vpix = vimc_pix_map_by_pixelformat(format->pixelformat); in vimc_capture_try_fmt_vid_cap() 101 format->bytesperline = format->width * vpix->bpp; in vimc_capture_try_fmt_vid_cap() [all …]
|
| 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/sound/core/ |
| H A D | pcm_misc.c | 30 static bool valid_format(snd_pcm_format_t format) in valid_format() argument 32 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; in valid_format() 249 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed() argument 252 if (!valid_format(format)) in snd_pcm_format_signed() 254 val = pcm_formats[(INT)format].signd; in snd_pcm_format_signed() 268 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned() argument 272 val = snd_pcm_format_signed(format); in snd_pcm_format_unsigned() 285 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear() argument 287 return snd_pcm_format_signed(format) >= 0; in snd_pcm_format_linear() 298 int snd_pcm_format_little_endian(snd_pcm_format_t format) in snd_pcm_format_little_endian() argument [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/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, struc in gud_prep_flush() argument 275 gud_flush_rect(struct gud_device * gdrm,struct drm_framebuffer * fb,const struct iosys_map * src,bool cached_reads,const struct drm_format_info * format,struct drm_rect * rect,struct drm_format_conv_state * fmtcnv_state) gud_flush_rect() argument 329 const struct drm_format_info *format; gud_flush_damage() local 465 const struct drm_format_info *format; gud_plane_atomic_check() local [all...] |