/linux-master/drivers/acpi/acpica/ |
H A D | uterror.c | 28 * format - Printf format string + additional args 42 u16 node_flags, const char *format, ...) 56 va_start(arg_list, format); 57 acpi_os_vprintf(format, arg_list); 70 * format - Printf format string + additional args 84 char *pathname, u16 node_flags, const char *format, ...) 98 va_start(arg_list, format); 99 acpi_os_vprintf(format, arg_lis 39 acpi_ut_predefined_warning(const char *module_name, u32 line_number, char *pathname, u16 node_flags, const char *format, ...) argument 82 acpi_ut_predefined_info(const char *module_name, u32 line_number, char *pathname, u16 node_flags, const char *format, ...) argument 124 acpi_ut_predefined_bios_error(const char *module_name, u32 line_number, char *pathname, u16 node_flags, const char *format, ...) argument [all...] |
/linux-master/scripts/gdb/linux/ |
H A D | lists.py | 28 .format(head.type)) 32 .format(head.address)) 51 .format(head.type)) 72 gdb.write("Starting with: {}\n".format(c)) 83 'prev@{p_addr}={p}\n'.format( 92 'current@{current_addr}={current}\n'.format( 101 'next@{n_addr}={n}\n'.format( 110 'current@{current_addr}={current}\n'.format( 118 gdb.write("list is consistent: {} node(s)\n".format(nb))
|
/linux-master/tools/thermal/lib/ |
H A D | log.c | 34 extern void logit(int level, const char *format, ...) argument 38 va_start(args, format); 41 vsyslog(level, format, args); 44 vfprintf(stderr, format, args); 47 vfprintf(stdout, format, args);
|
/linux-master/drivers/hwmon/pmbus/ |
H A D | pm6764tr.c | 33 .format[PSC_VOLTAGE_IN] = linear, 34 .format[PSC_VOLTAGE_OUT] = vid, 35 .format[PSC_TEMPERATURE] = linear, 36 .format[PSC_CURRENT_OUT] = linear, 37 .format[PSC_POWER] = linear,
|
H A D | mp5023.c | 14 .format[PSC_VOLTAGE_IN] = direct, 15 .format[PSC_VOLTAGE_OUT] = direct, 16 .format[PSC_CURRENT_OUT] = direct, 17 .format[PSC_POWER] = direct, 18 .format[PSC_TEMPERATURE] = direct,
|
H A D | mpq8785.c | 21 info->format[PSC_VOLTAGE_OUT] = linear; 25 info->format[PSC_VOLTAGE_OUT] = direct, 39 .format[PSC_VOLTAGE_IN] = direct, 40 .format[PSC_CURRENT_OUT] = direct, 41 .format[PSC_TEMPERATURE] = direct,
|
H A D | ir38064.c | 31 .format[PSC_VOLTAGE_IN] = linear, 32 .format[PSC_VOLTAGE_OUT] = direct, 33 .format[PSC_CURRENT_OUT] = linear, 34 .format[PSC_POWER] = linear, 35 .format[PSC_TEMPERATURE] = linear,
|
H A D | tps40422.c | 17 .format[PSC_VOLTAGE_IN] = linear, 18 .format[PSC_VOLTAGE_OUT] = linear, 19 .format[PSC_TEMPERATURE] = linear,
|
H A D | lt7182s.c | 85 .format[PSC_VOLTAGE_IN] = linear, 86 .format[PSC_VOLTAGE_OUT] = linear, 87 .format[PSC_CURRENT_IN] = linear, 88 .format[PSC_CURRENT_OUT] = linear, 89 .format[PSC_TEMPERATURE] = linear, 90 .format[PSC_POWER] = linear, 143 /* Set data format to IEEE754 if configured */ 148 info->format[PSC_VOLTAGE_IN] = ieee754; 149 info->format[PSC_VOLTAGE_OUT] = ieee754; 150 info->format[PSC_CURRENT_I [all...] |
/linux-master/drivers/gpu/drm/qxl/ |
H A D | qxl_dumb.c | 41 uint32_t pitch, format; local 49 format = SPICE_SURFACE_FMT_16_565; 52 format = SPICE_SURFACE_FMT_32_xRGB; 61 surf.format = format;
|
/linux-master/drivers/media/platform/renesas/vsp1/ |
H A D | vsp1_brx.c | 62 * The BRx can't perform format conversion, all sink and source formats must be 63 * identical. We pick the format on the first sink pad (pad 0) and propagate it 110 struct v4l2_mbus_framefmt *format; local 114 /* Default to YUV if the requested format is not supported. */ 121 /* The BRx can't perform format conversion. */ 122 format = vsp1_entity_get_pad_format(&brx->entity, sd_state, 124 fmt->code = format->code; 140 struct v4l2_mbus_framefmt *format; local 151 brx_try_format(brx, state, fmt->pad, &fmt->format); 153 format 223 struct v4l2_mbus_framefmt *format; local 289 struct v4l2_mbus_framefmt *format; local [all...] |
/linux-master/drivers/comedi/drivers/ni_routing/tools/ |
H A D | convert_csv_to_c.py | 20 '\t.family = "{}",'.format(name), 45 lines.append('\t\t[B({})] = {{'.format(D0_sig)) 48 sys.stderr.write('Invalid register format: {}\n'.format(repr(value))) 51 raise RuntimeError('Invalid register values format') 52 lines.append('\t\t\t[B({})]\t= {},'.format(D1_sig, value)) 93 .format(name=name, **indents) ] 100 .format(keyname=keyname, valname=valname, D0_sig=D0_sig, **indents) 103 lines.append( '{I3}{D1_sig},'.format(D1_sig=D1_sig, **indents) ) 104 lines.append( '{I3}0, /* Termination */'.format(**indent [all...] |
/linux-master/tools/testing/selftests/tc-testing/plugin-lib/ |
H A D | scapyPlugin.py | 28 print('{}.post_execute: no scapy info in test case'.format(self.sub_class)) 46 .format(self.sub_class)) 47 print('{}'.format(missing_keys))
|
/linux-master/tools/virtio/linux/ |
H A D | kernel.h | 51 #define __printf(a,b) __attribute__((format(printf,a,b))) 128 #define pr_err(format, ...) fprintf (stderr, format, ## __VA_ARGS__) 130 #define pr_debug(format, ...) fprintf (stderr, format, ## __VA_ARGS__) 132 #define pr_debug(format, ...) do {} while (0) 134 #define dev_err(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS__) 135 #define dev_warn(dev, format, ...) fprintf (stderr, format, ## __VA_ARGS_ [all...] |
/linux-master/drivers/staging/media/atomisp/pci/runtime/frame/interface/ |
H A D | ia_css_frame.h | 41 /* @brief Sets the given format to the frame info 45 * @param[in] format The format to be set to info 49 enum ia_css_frame_format format); 57 * @param[in] format The format to be set to info 64 enum ia_css_frame_format format, 141 unsigned int ia_css_frame_pad_width(unsigned int width, enum ia_css_frame_format format);
|
/linux-master/drivers/gpu/drm/gud/ |
H A D | gud_pipe.c | 52 static size_t gud_xrgb8888_to_r124(u8 *dst, const struct drm_format_info *format, argument 57 unsigned int block_width = drm_format_info_block_width(format, 0); 65 WARN_ON_ONCE(format->char_per_block[0] != 1); 71 len = drm_format_info_min_pitch(format, 0, width) * height; 102 static size_t gud_xrgb8888_to_color(u8 *dst, const struct drm_format_info *format, argument 106 unsigned int block_width = drm_format_info_block_width(format, 0); 117 len = drm_format_info_min_pitch(format, 0, width) * drm_rect_height(rect); 137 switch (format->format) { 155 const struct drm_format_info *format, struc 153 gud_prep_flush(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 gud_set_buffer_req *req, struct drm_format_conv_state *fmtcnv_state) argument 269 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) argument 325 const struct drm_format_info *format; local 460 const struct drm_format_info *format = fb->format; local [all...] |
/linux-master/drivers/mtd/nand/raw/ |
H A D | r852.h | 93 /* ECC syndrome format - read from reg #0 will return two copies of these for 145 #define dbg(format, ...) \ 147 pr_debug(format "\n", ## __VA_ARGS__) 149 #define dbg_verbose(format, ...) \ 151 pr_debug(format "\n", ## __VA_ARGS__) 154 #define message(format, ...) \ 155 pr_info(format "\n", ## __VA_ARGS__)
|
/linux-master/drivers/infiniband/hw/hfi1/ |
H A D | vnic.h | 98 #define v_dbg(format, arg...) \ 99 netdev_dbg(vinfo->netdev, format, ## arg) 100 #define v_err(format, arg...) \ 101 netdev_err(vinfo->netdev, format, ## arg) 102 #define v_info(format, arg...) \ 103 netdev_info(vinfo->netdev, format, ## arg)
|
/linux-master/tools/lib/perf/ |
H A D | internal.h | 8 const char *format, ...) 9 __attribute__((format(printf, 2, 3)));
|
/linux-master/drivers/usb/musb/ |
H A D | musb_debug.h | 13 #define yprintk(facility, format, args...) \ 14 do { printk(facility "%s %d: " format , \
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | sh_css_stream_format.c | 20 enum atomisp_input_format format) 24 switch (format) { 19 sh_css_stream_format_2_bits_per_subpixel( enum atomisp_input_format format) argument
|
/linux-master/sound/core/ |
H A D | pcm_misc.c | 45 static bool valid_format(snd_pcm_format_t format) argument 47 return (INT)format >= 0 && (INT)format <= (INT)SNDRV_PCM_FORMAT_LAST; 194 /* FIXME: the following format is not defined properly yet */ 258 * snd_pcm_format_signed - Check the PCM format is signed linear 259 * @format: the format to check 261 * Return: 1 if the given PCM format is signed linear, 0 if unsigned 264 int snd_pcm_format_signed(snd_pcm_format_t format) argument 267 if (!valid_format(format)) 283 snd_pcm_format_unsigned(snd_pcm_format_t format) argument 300 snd_pcm_format_linear(snd_pcm_format_t format) argument 313 snd_pcm_format_little_endian(snd_pcm_format_t format) argument 332 snd_pcm_format_big_endian(snd_pcm_format_t format) argument 350 snd_pcm_format_width(snd_pcm_format_t format) argument 369 snd_pcm_format_physical_width(snd_pcm_format_t format) argument 389 snd_pcm_format_size(snd_pcm_format_t format, size_t samples) argument 404 snd_pcm_format_silence_64(snd_pcm_format_t format) argument 424 snd_pcm_format_set_silence(snd_pcm_format_t format, void *data, unsigned int samples) argument [all...] |
/linux-master/fs/bcachefs/ |
H A D | bkey.c | 54 const struct bkey_format *format) 58 BUG_ON(bkeyp_val_u64s(format, packed) != 61 BUG_ON(packed->u64s < bkeyp_key_u64s(format, packed)); 63 tmp = __bch2_bkey_unpack_key(format, packed); 68 prt_printf(&buf, "keys differ: format u64s %u fields %u %u %u %u %u\n", 69 format->key_u64s, 70 format->bits_per_field[0], 71 format->bits_per_field[1], 72 format->bits_per_field[2], 73 format 52 bch2_bkey_pack_verify(const struct bkey_packed *packed, const struct bkey *unpacked, const struct bkey_format *format) argument 99 bch2_bkey_pack_verify(const struct bkey_packed *packed, const struct bkey *unpacked, const struct bkey_format *format) argument 105 const struct bkey_format *format; member in struct:pack_state 112 pack_state_init(const struct bkey_format *format, struct bkey_packed *k) argument 136 const struct bkey_format *format; member in struct:unpack_state 143 unpack_state_init(const struct bkey_format *format, const struct bkey_packed *k) argument 266 __bch2_bkey_unpack_key(const struct bkey_format *format, const struct bkey_packed *in) argument 291 __bkey_unpack_pos(const struct bkey_format *format, const struct bkey_packed *in) argument 317 bch2_bkey_pack_key(struct bkey_packed *out, const struct bkey *in, const struct bkey_format *format) argument 366 bch2_bkey_pack(struct bkey_packed *dst, const struct bkey_i *src, const struct bkey_format *format) argument 793 compile_bkey_field(const struct bkey_format *format, u8 *out, enum bch_bkey_fields field, unsigned dst_offset, unsigned dst_size, bool *eax_zeroed) argument 977 bch2_compile_bkey_format(const struct bkey_format *format, void *_out) argument [all...] |
/linux-master/drivers/media/platform/renesas/rzg2l-cru/ |
H A D | rzg2l-ip.c | 105 fmt->format = *src_format; 111 if (!rzg2l_cru_ip_code_to_fmt(fmt->format.code)) 114 sink_format->code = fmt->format.code; 117 sink_format->colorspace = fmt->format.colorspace; 118 sink_format->xfer_func = fmt->format.xfer_func; 119 sink_format->ycbcr_enc = fmt->format.ycbcr_enc; 120 sink_format->quantization = fmt->format.quantization; 121 sink_format->width = clamp_t(u32, fmt->format.width, 123 sink_format->height = clamp_t(u32, fmt->format.height, 126 fmt->format [all...] |
/linux-master/tools/power/x86/intel_pstate_tracer/ |
H A D | intel_pstate_tracer.py | 93 print(' *.png - a variety of PNG format plot files created from the trace contents and the additional calculations.') 96 print(' Maximum 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_index, datetime.now())) 116 g_plot('plot "' + file_name + '" using {:d}:{:d} with linespoints linestyle 1 axis x1y2 title "performance",\\'.format(C_SAMPLE, C_CORE)) 117 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 2 axis x1y2 title "scaled-busy",\\'.format(C_SAMPLE, C_SCALED)) 118 g_plot('"' + file_name + '" using {:d}:{:d} with linespoints linestyle 3 axis x1y2 title "io-boost",\\'.format(C_SAMPLE, C_BOOST)) 119 g_plot('"' + file_name + '" 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(testnam [all...] |