Home
last modified time | relevance | path

Searched refs:digit (Results 1 – 13 of 13) sorted by relevance

/u-boot/include/
A Ddebug_uart.h154 static inline void printhex1(unsigned int digit) \
156 digit &= 0xf; \
157 _debug_uart_putc(digit > 9 ? digit - 10 + 'a' : digit + '0'); \
/u-boot/lib/libavb/
A Davb_property_descriptor.c141 int digit; in avb_property_lookup_uint64() local
146 digit = c - '0'; in avb_property_lookup_uint64()
148 digit = c - 'a' + 10; in avb_property_lookup_uint64()
150 digit = c - 'A' + 10; in avb_property_lookup_uint64()
156 parsed_val += digit; in avb_property_lookup_uint64()
/u-boot/tools/
A Dimg2srec.c73 uint32_t digit; in ExtractHex() local
80 if ((c >= '0') && (c <= '9')) digit = (uint32_t)(c - '0'); in ExtractHex()
81 else if ((c >= 'A') && (c <= 'F')) digit = (uint32_t)(c - 'A' + 10); in ExtractHex()
82 else if ((c >= 'a') && (c <= 'f')) digit = (uint32_t)(c - 'a' + 10); in ExtractHex()
85 num += digit; in ExtractHex()
95 uint32_t digit; in ExtractDecimal() local
102 if ((c >= '0') && (c <= '9')) digit = (uint32_t)(c - '0'); in ExtractDecimal()
105 num += digit; in ExtractDecimal()
/u-boot/lib/efi_loader/
A Defi_helper.c207 int id, i, digit; in efi_varname_is_load_option() local
213 digit = u16_tohex(var_name16[4 + i]); in efi_varname_is_load_option()
214 if (digit < 0) in efi_varname_is_load_option()
216 id = (id << 4) + digit; in efi_varname_is_load_option()
A Dhelloworld.c78 u16 digit; in print_uefi_revision() local
85 digit = *--buf; in print_uefi_revision()
86 if (digit == '0') { in print_uefi_revision()
90 *buf = digit; in print_uefi_revision()
/u-boot/doc/device-tree-bindings/sysinfo/
A Dgpio-sysinfo.txt4 forms a digit in a ternary revision number. This revision is then mapped to a
8 and 0, respectively. The first GPIO forms the least-significant digit of the
26 least-significant-digit first
/u-boot/common/
A DxyzModem.c139 int digit; in parse_num() local
152 if (_is_hex (c) && ((digit = _from_hex (c)) < radix)) in parse_num()
155 result = (result * radix) + digit; in parse_num()
/u-boot/drivers/mtd/
A Dcfi_flash.c1296 #define FLASH_SHOW_PROGRESS(scale, dots, digit, dots_sub) \ argument
1300 if ((digit % 5) == 0) \
1301 printf("%d", digit / 5); \
1304 digit--; \
1309 #define FLASH_SHOW_PROGRESS(scale, dots, digit, dots_sub) argument
1329 int digit = CONFIG_FLASH_SHOW_PROGRESS; in write_buff() local
1365 FLASH_SHOW_PROGRESS(scale, dots, digit, i); in write_buff()
1397 FLASH_SHOW_PROGRESS(scale, dots, digit, i); in write_buff()
1412 FLASH_SHOW_PROGRESS(scale, dots, digit, info->portwidth); in write_buff()
/u-boot/drivers/gpio/
A Dgpio-uclass.c1033 uint digit; in dm_gpio_get_values_as_int_base3() local
1044 digit = pd; in dm_gpio_get_values_as_int_base3()
1046 digit = 2; in dm_gpio_get_values_as_int_base3()
1047 log_debug("%c ", tristate[digit]); in dm_gpio_get_values_as_int_base3()
1048 vector = 3 * vector + digit; in dm_gpio_get_values_as_int_base3()
/u-boot/doc/usage/cmd/
A Dbootefi.rst75 letters *Boot* followed by a four digit hexadecimal number, e.g. *Boot0001* or
/u-boot/doc/android/
A Dfastboot-protocol.rst44 DATA00000000 where the 8 digit hexidecimal number represents
/u-boot/doc/develop/
A Dcheckpatch.rst788 Defines like: 1 << <digit> could be BIT(digit).
1027 Permission bits should use 4 digit octal permissions (like 0700 or 0444).
A Dbootstd.rst562 the least-sigificant digit on the right, counting like this:

Completed in 34 milliseconds