Home
last modified time | relevance | path

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

12345678910>>...78

/linux/drivers/gpu/drm/
H A Ddrm_fourcc.c175 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 = DRM_FORMAT_C4, .depth = 4, .num_planes = 1, in __drm_format_info()
184 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
185 { .format = DRM_FORMAT_D1, .depth = 1, .num_planes = 1, in __drm_format_info()
187 { .format = DRM_FORMAT_D2, .depth = 2, .num_planes = 1, in __drm_format_info()
189 { .format = DRM_FORMAT_D4, .depth = 4, .num_planes = 1, in __drm_format_info()
191 …{ .format = DRM_FORMAT_D8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
192 { .format = DRM_FORMAT_R1, .depth = 1, .num_planes = 1, in __drm_format_info()
[all …]
/linux/drivers/acpi/acpica/
H A Dutprint.c318 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 == '0') { in vsnprintf()
356 } else if (*format == '+') { in vsnprintf()
358 } else if (*format == ' ') { in vsnprintf()
360 } 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 …]
/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 …]
/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 += " .offset: {} nsecs\n".format(base['offset'])
72 text = "cpu: {}\n".format(cpu)
74 text += " clock {}:\n".format(i)
84 text += "\n".join([s.format(f, cpu_base[f]) for s, f in fmts])
[all …]
/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 …]
/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 …]
/linux/include/net/
H A Dnet_debug.h12 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 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 …]
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 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 …]
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 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 …]
/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py96 … 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 Dpcm_plugin.c51 struct snd_pcm_plugin_format *format; in snd_pcm_plugin_alloc() local
58 format = &plugin->src_format; in snd_pcm_plugin_alloc()
60 format = &plugin->dst_format; in snd_pcm_plugin_alloc()
62 width = snd_pcm_format_physical_width(format->format); in snd_pcm_plugin_alloc()
65 size = array3_size(frames, format->channels, width); in snd_pcm_plugin_alloc()
83 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
89 c->area.step = format->channels * width; in snd_pcm_plugin_alloc()
92 if (snd_BUG_ON(size % format->channels)) in snd_pcm_plugin_alloc()
94 size /= format->channels; in snd_pcm_plugin_alloc()
95 for (channel = 0; channel < format->channels; channel++, c++) { in snd_pcm_plugin_alloc()
[all …]
/linux/net/bluetooth/
H A Dlib.c246 void bt_info(const char *format, ...) in bt_info() argument
251 va_start(args, format); in bt_info()
253 vaf.fmt = format; in bt_info()
266 void bt_warn(const char *format, ...) in bt_warn() argument
271 va_start(args, format); in bt_warn()
273 vaf.fmt = format; in bt_warn()
286 void bt_err(const char *format, ...) in bt_err() argument
291 va_start(args, format); in bt_err()
293 vaf.fmt = format; in bt_err()
319 void bt_dbg(const char *format, ...) in bt_dbg() argument
[all …]
/linux/sound/core/
H A Dpcm_misc.c45 static bool valid_format(snd_pcm_format_t format) in valid_format() argument
47 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; in valid_format()
264 int snd_pcm_format_signed(snd_pcm_format_t format) in snd_pcm_format_signed() argument
267 if (!valid_format(format)) in snd_pcm_format_signed()
269 val = pcm_formats[(INT)format].signd; in snd_pcm_format_signed()
283 int snd_pcm_format_unsigned(snd_pcm_format_t format) in snd_pcm_format_unsigned() argument
287 val = snd_pcm_format_signed(format); in snd_pcm_format_unsigned()
300 int snd_pcm_format_linear(snd_pcm_format_t format) in snd_pcm_format_linear() argument
302 return snd_pcm_format_signed(format) >= 0; in snd_pcm_format_linear()
313 int snd_pcm_format_little_endian(snd_pcm_format_t format) in snd_pcm_format_little_endian() argument
[all …]
/linux/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c144 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 Dstdio.h250 static __attribute__((unused, format(printf, 4, 0)))
389 static __attribute__((unused, format(printf, 2, 0)))
395 static __attribute__((unused, format(printf, 1, 0)))
401 static __attribute__((unused, format(printf, 2, 3)))
413 static __attribute__((unused, format(printf, 1, 2)))
425 static __attribute__((unused, format(printf, 2, 0)))
437 static __attribute__((unused, format(printf, 2, 3)))
459 static __attribute__((unused, format(printf, 3, 0)))
472 static __attribute__((unused, format(printf, 3, 4)))
485 static __attribute__((unused, format(printf, 2, 0)))
[all …]
/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,
54 .format[PSC_VOLTAGE_OUT] = linear,
55 .format[PSC_CURRENT_IN] = linear,
[all …]
/linux/drivers/gpu/drm/meson/
H A Dmeson_osd_afbcd.c58 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/media/platform/ti/omap3isp/
H A Dispccp2.c289 u32 val, format; in ccp2_lcx_config() local
291 switch (config->format) { in ccp2_lcx_config()
293 format = ISPCCP2_LCx_CTRL_FORMAT_RAW8_DPCM10_VP; in ccp2_lcx_config()
297 format = ISPCCP2_LCx_CTRL_FORMAT_RAW10_VP; /* RAW10+VP */ in ccp2_lcx_config()
311 ISPCCP2_LCx_CTRL_FORMAT_MASK_15_0, format); in ccp2_lcx_config()
318 ISPCCP2_LCx_CTRL_FORMAT_MASK, format); in ccp2_lcx_config()
352 struct v4l2_mbus_framefmt *format; in ccp2_if_configure() local
374 format = &ccp2->formats[CCP2_PAD_SINK]; in ccp2_if_configure()
378 ccp2->if_cfg.format = format->code; in ccp2_if_configure()
379 ccp2->if_cfg.data_size = format->height; in ccp2_if_configure()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/basics/
H A Dcustom_float.c30 const struct custom_float_format *format, in build_custom_float() argument
35 uint32_t exp_offset = (1 << (format->exponenta_bits - 1)) - 1; in build_custom_float()
38 dc_fixpt_from_fraction((1LL << (format->mantissa_bits + 1)) - 1, in build_custom_float()
39 1LL << format->mantissa_bits); in build_custom_float()
51 *negative = format->sign; in build_custom_float()
93 mantiss = dc_fixpt_shl(mantiss, format->mantissa_bits); in build_custom_float()
100 static bool setup_custom_float(const struct custom_float_format *format, in setup_custom_float() argument
115 (1 << (format->mantissa_bits + 1)) - 1; in setup_custom_float()
118 (1 << (format->exponenta_bits + 1)) - 1; in setup_custom_float()
132 while (i < format->mantissa_bits) { in setup_custom_float()
[all …]
/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
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 Dtask-analyzer.py330 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 …]

12345678910>>...78