Searched refs:format (Results 1 - 25 of 125) sorted by relevance

12345

/u-boot/drivers/usb/dwc3/
H A Dlinux-compat.h14 #define dev_WARN(dev, format, arg...) debug(format, ##arg)
/u-boot/drivers/video/
H A Dsimplefb.c19 const char *format; local
55 format = ofnode_read_string(node, "format");
56 debug("%s: %dx%d@%s\n", __func__, uc_priv->xsize, uc_priv->ysize, format);
58 if (!format) {
59 log_err("%s: please add required property \"format\"\n", __func__);
63 if (strcmp(format, "r5g6b5") == 0) {
65 } else if (strcmp(format, "a8b8g8r8") == 0 ||
66 strcmp(format, "x8b8g8r8") == 0) {
68 uc_priv->format
[all...]
/u-boot/tools/
H A Dkey2dtsi.py18 return ' '.join(['{:02x}'.format(byte) for byte in byte_array])
48 out.write('\t\tkey-{} {{\n'.format(key_name))
49 out.write('\t\t\tkey-name-hint = "{}";\n'.format(key_name))
50 out.write('\t\t\talgo = "{},rsa{}";\n'.format(args.hash, key.size_in_bits()))
51 out.write('\t\t\trsa,num-bits = <{}>;\n'.format(key.size_in_bits()))
52 out.write('\t\t\trsa,modulus = [{}];\n'.format(int_to_bytestr(key.n)))
53 out.write('\t\t\trsa,exponent = [{}];\n'.format(int_to_bytestr(key.e, 8)))
54 out.write('\t\t\trsa,r-squared = [{}];\n'.format(int_to_bytestr(r_squared)))
55 out.write('\t\t\trsa,n0-inverse = <0x{:x}>;\n'.format(n0_inverse))
/u-boot/include/linux/
H A Dbug.h23 #define WARN(condition, format...) ({ \
26 printf(format); \
41 #define WARN_ONCE(condition, format...) ({ \
47 WARN(1, format); \
/u-boot/cmd/
H A Dprintf.c12 * This file provides a shell printf like format string expansion as required
13 * for the setexpr <name> fmt <format> <value> command.
19 /* Usage: printf format [argument...]
42 * The 'format' argument is re-used as many times as necessary
53 //config: printf is used to format and print specified strings.
121 * @char: format string with optional arguments
123 static void printf_str(struct print_inf *inf, char *format, ...) argument
143 va_start(args, format);
144 i = vsnprintf(inf->str + inf->offset, remaining, format, args);
386 static void print_direc(struct print_inf *inf, char *format, unsigne argument
615 char *format; local
[all...]
/u-boot/lib/
H A Dtpm-common.c22 int pack_byte_string(u8 *str, size_t size, const char *format, ...) argument
29 va_start(args, format);
30 for (; *format; format++) {
31 switch (*format) {
53 debug("Couldn't recognize format string\n");
63 switch (*format) {
83 int unpack_byte_string(const u8 *str, size_t size, const char *format, ...) argument
91 va_start(args, format);
92 for (; *format; forma
[all...]
H A Dtpm-utils.h23 * the format string: 'b' means unsigned byte, 'w' unsigned word,
32 * @param format format string
36 int pack_byte_string(u8 *str, size_t size, const char *format, ...);
40 * the format string: 'b' means unsigned byte, 'w' unsigned word,
47 * @param format format string
51 int unpack_byte_string(const u8 *str, size_t size, const char *format, ...);
/u-boot/drivers/usb/musb-new/
H A Dmusb_debug.h14 #define yprintk(facility, format, args...) \
15 do { printk(facility "%s %d: " format , \
/u-boot/include/
H A Dfastboot.h72 * @format: printf style format string
75 const char *format, ...)
76 __attribute__ ((format (__printf__, 3, 4)));
H A Dvsprintf.h148 * @fmt: printf() format string for message, which should not include
152 __attribute__ ((format (__printf__, 1, 2), noreturn));
171 * @fmt: The format string to use
172 * @...: Arguments for the format string
177 * See the vsprintf() documentation for format string extensions over C99.
180 __attribute__ ((format (__printf__, 2, 3)));
186 * @fmt: The format string to use
187 * @args: Arguments for the format string
193 * See the vsprintf() documentation for format string extensions over C99.
226 * @fmt: The format strin
[all...]
H A Dmipi_dsi.h55 * struct mipi_dsi_packet - represents a MIPI DSI packet in protocol format
122 u32 lanes, u32 format, unsigned int *lane_mbps);
198 * @format: pixel format for video mode
209 enum mipi_dsi_pixel_format format; member in struct:mipi_dsi_device
215 * given pixel format defined by the MIPI DSI
217 * @fmt: MIPI DSI pixel format
219 * Returns: The number of bits per pixel of the given pixel format.
242 * @format: pixel format fo
248 enum mipi_dsi_pixel_format format; member in struct:mipi_dsi_panel_plat
[all...]
/u-boot/arch/m68k/include/asm/
H A Dptrace.h29 unsigned format:4; /* frame format specifier */ member in struct:pt_regs
/u-boot/drivers/fastboot/
H A Dfb_common.c40 * @format: printf style format string
43 const char *format, ...)
48 if (format) {
49 va_start(args, format);
52 format, args);
42 fastboot_response(const char *tag, char *response, const char *format, ...) argument
/u-boot/test/py/tests/test_fs/test_squashfs/
H A Dtest_sqfs_load.py42 out = u_boot_console.run_command('md5sum {} {}'.format(address, count))
58 out = u_boot_console.run_command('sqfsload host 0 {} {}'.format(address, file))
106 out = u_boot_console.run_command('sqfsload host 0 {} {}'.format(address, file))
145 u_boot_console.run_command('host bind 0 {}'.format(image_path))
/u-boot/test/py/tests/test_efi_secboot/
H A Dconftest.py27 check_call('rm -rf {}'.format(mnt_point), shell=True)
28 check_call('mkdir -p {}'.format(mnt_point), shell=True)
35 # *.auth: signed signature list in signature database format
116 check_call('virt-make-fs --partition=gpt --size=+1M --type=vfat {} {}'.format(
118 check_call('rm -rf {}'.format(mnt_point), shell=True)
152 check_call('rm -rf {}'.format(mnt_point), shell=True)
153 check_call('mkdir -p {}'.format(mnt_point), shell=True)
235 check_call('virt-make-fs --partition=gpt --size=+1M --type=vfat {} {}'.format(mnt_point, image_path), shell=True)
236 check_call('rm -rf {}'.format(mnt_point), shell=True)
/u-boot/dts/upstream/scripts/
H A Dmerge-new-release.sh22 export GIT_AUTHOR_DATE=$(git log -1 --format=%ad "${v%-dts}")
40 export GIT_COMMITTER_DATE="$(git for-each-ref --format='%(taggerdate)' "refs/tags/${v%-dts}")"
/u-boot/common/
H A Dcli_hush_modern.c90 #define bb_error_msg_and_die(format, ...) do { \
91 panic("HUSH: " format, __VA_ARGS__); \
99 static int __maybe_unused fdprintf(int fd, const char *format, ...) argument
106 va_start(args, format);
107 i = vprintf(format, args);
/u-boot/tools/buildman/
H A Dkconfiglib.py83 format.
223 matches the .config format produced by the C implementations down to the
233 that undefined corresponds to n (.config uses Makefile format, making the line
463 Kconfig symbols depend on hardware information stored in some other format).
983 self._unset_match = _re_match(r"# {}([^ ]+) is not set".format(
1152 Loads symbol values from a file in the .config format. Equivalent to
1224 .format(filename)
1227 .format(defconfig, filename)
1231 msg = " configuration '{}'".format(filename)
1291 .format(va
[all...]
/u-boot/test/py/tests/test_fs/
H A Dconftest.py249 pytest.skip('Creating failed for filesystem: ' + fs_type + '. {}'.format(err))
255 pytest.skip('Preparing mount folder failed for filesystem: ' + fs_type + '. {}'.format(err))
263 pytest.skip('Mounting to folder failed for filesystem: ' + fs_type + '. {}'.format(err))
330 pytest.skip('Setup failed for filesystem: ' + fs_type + '. {}'.format(err))
371 pytest.skip('Creating failed for filesystem: ' + fs_type + '. {}'.format(err))
377 pytest.skip('Preparing mount folder failed for filesystem: ' + fs_type + '. {}'.format(err))
385 pytest.skip('Mounting to folder failed for filesystem: ' + fs_type + '. {}'.format(err))
500 pytest.skip('Creating failed for filesystem: ' + fs_type + '. {}'.format(err))
506 pytest.skip('Preparing mount folder failed for filesystem: ' + fs_type + '. {}'.format(err))
514 pytest.skip('Mounting to folder failed for filesystem: ' + fs_type + '. {}'.format(er
[all...]
H A Dtest_erofs.py119 out = u_boot_console.run_command('erofsload host 0 {} {}'.format(address, file))
125 out = u_boot_console.run_command('md5sum {} {}'.format(address, hex(int(size))))
170 out = u_boot_console.run_command('erofsload host 0 {} {}'.format(address, file))
212 u_boot_console.run_command('host bind 0 {}'.format(image_path))
/u-boot/drivers/video/rockchip/
H A Drk_lvds.c34 * @format: Data format that RGB data will packing as
42 int format; member in struct:rk_lvds_priv
74 /* Select data transfer format */
75 val = priv->format;
191 priv->format = ret;
194 /* default set it as format jeida */
195 priv->format = LVDS_FORMAT_JEIDA;
202 priv->format |= LVDS_24BIT;
204 priv->format |
[all...]
/u-boot/test/dm/
H A Ddsi_host.c29 u32 format,
26 dm_test_dsi_host_phy_get_lane_mbps(void *priv_data, struct display_timing *timings, u32 lanes, u32 format, unsigned int *lane_mbps) argument
/u-boot/lib/zstd/common/
H A Derror_private.h77 void _force_has_format_string(const char *format, ...) { argument
78 (void)format;
/u-boot/test/py/tests/
H A Dtest_bind.py21 .format(uclass, drv, leaf))
138 'bind {} {} simple_bus'.format(child2_uclass, child2_index))
150 response = u_boot_console.run_command('unbind simple_bus {}'.format(child_of_child2_index))
160 'bind {} {} simple_bus'.format(child2_uclass, child2_index))
174 'unbind {} {} simple_bus'.format(child2_uclass, child2_index))
186 'unbind {} {} simple_bus'.format(child2_uclass, child2_index))
/u-boot/scripts/kconfig/tests/
H A Dconftest.py100 print("[command]\n{}\n".format(' '.join(command)))
102 print("[retcode]\n{}\n".format(self.retcode))
111 print("[output for '{}']".format(out_file))
151 return self._run_conf('--defconfig={}'.format(defconfig_path))
160 return self._run_conf('--{}config'.format(mode), extra_env=extra_env)

Completed in 386 milliseconds

12345