Searched refs:digit (Results 1 – 8 of 8) sorted by relevance
/u-boot/include/ |
A D | debug_uart.h | 154 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 D | avb_property_descriptor.c | 141 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 D | img2srec.c | 73 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/common/ |
A D | xyzModem.c | 135 int digit; in parse_num() local 148 if (_is_hex (c) && ((digit = _from_hex (c)) < radix)) in parse_num() 151 result = (result * radix) + digit; in parse_num()
|
/u-boot/drivers/mtd/ |
A D | cfi_flash.c | 1303 #define FLASH_SHOW_PROGRESS(scale, dots, digit, dots_sub) \ argument 1307 if ((digit % 5) == 0) \ 1308 printf("%d", digit / 5); \ 1311 digit--; \ 1316 #define FLASH_SHOW_PROGRESS(scale, dots, digit, dots_sub) argument 1336 int digit = CONFIG_FLASH_SHOW_PROGRESS; in write_buff() local 1372 FLASH_SHOW_PROGRESS(scale, dots, digit, i); in write_buff() 1404 FLASH_SHOW_PROGRESS(scale, dots, digit, i); in write_buff() 1419 FLASH_SHOW_PROGRESS(scale, dots, digit, info->portwidth); in write_buff()
|
/u-boot/cmd/ |
A D | efidebug.c | 1061 int id, i, digit; in do_efi_boot_dump() local 1100 digit = u16_tohex(var_name16[4 + i]); in do_efi_boot_dump() 1101 if (digit < 0) in do_efi_boot_dump() 1103 id = (id << 4) + digit; in do_efi_boot_dump()
|
/u-boot/doc/usage/ |
A D | bootefi.rst | 60 letters *Boot* followed by a four digit hexadecimal number, e.g. *Boot0001* or
|
/u-boot/doc/android/ |
A D | fastboot-protocol.rst | 44 DATA00000000 where the 8 digit hexidecimal number represents
|
Completed in 14 milliseconds