/mcuboot-latest/boot/zephyr/ |
D | flash_map_legacy.c | 60 int flash_area_get_sectors(int idx, uint32_t *cnt, struct flash_sector *ret) in flash_area_get_sectors() argument 63 uint32_t max_cnt = *cnt; in flash_area_get_sectors() 74 if (*cnt < 1) { in flash_area_get_sectors() 79 *cnt = 0; in flash_area_get_sectors() 80 while (rem_len > 0 && *cnt < max_cnt) { in flash_area_get_sectors() 87 ret[*cnt].fs_off = FLASH_AREA_IMAGE_SECTOR_SIZE * (*cnt); in flash_area_get_sectors() 88 ret[*cnt].fs_size = FLASH_AREA_IMAGE_SECTOR_SIZE; in flash_area_get_sectors() 89 *cnt = *cnt + 1; in flash_area_get_sectors() 93 if (*cnt >= max_cnt) { in flash_area_get_sectors()
|
D | serial_adapter.c | 78 console_write(const char *str, int cnt) in console_write() argument 82 for (i = 0; i < cnt; i++) { in console_write()
|
/mcuboot-latest/boot/mynewt/boot_uart/src/ |
D | boot_uart.c | 40 int cnt; member 75 bs_uart_tx.cnt = 0; in boot_uart_close() 103 boot_uart_read(char *str, int cnt, int *newline) in boot_uart_read() argument 111 for (i = 0; i < cnt; i++) { in boot_uart_read() 141 if (!bs_uart_tx.cnt) { in bs_tx_char() 145 bs_uart_tx.cnt--; in bs_tx_char() 158 boot_uart_write(const char *ptr, int cnt) in boot_uart_write() argument 165 boot_uart_write(const char *ptr, int cnt) in boot_uart_write() argument 171 bs_uart_tx.cnt = cnt; in boot_uart_write() 175 while (bs_uart_tx.cnt); in boot_uart_write()
|
/mcuboot-latest/boot/espressif/port/esp32s3/ |
D | serial_adapter.c | 78 void console_write(const char *str, int cnt) in console_write() argument 85 usb_serial_jtag_ll_write_txfifo((const uint8_t *)str, cnt); in console_write() 94 write_len = tx_len < cnt ? tx_len : cnt; in console_write() 96 cnt -= write_len; in console_write() 100 } while (cnt > 0); in console_write() 104 int console_read(char *str, int cnt, int *newline) in console_read() argument 118 } while (!(read_len == cnt || str[read_len - 1] == '\n')); in console_read() 135 if (read_len == cnt - 1|| str[read_len - 1] == '\n') { in console_read()
|
/mcuboot-latest/boot/espressif/port/esp32c3/ |
D | serial_adapter.c | 75 void console_write(const char *str, int cnt) in console_write() argument 82 usb_serial_jtag_ll_write_txfifo((const uint8_t *)str, cnt); in console_write() 91 write_len = tx_len < cnt ? tx_len : cnt; in console_write() 93 cnt -= write_len; in console_write() 97 } while (cnt > 0); in console_write() 101 int console_read(char *str, int cnt, int *newline) in console_read() argument 114 } while (!(read_len == cnt || str[read_len - 1] == '\n')); in console_read() 131 if (read_len == cnt - 1|| str[read_len - 1] == '\n') { in console_read()
|
/mcuboot-latest/boot/espressif/port/esp32c6/ |
D | serial_adapter.c | 75 void console_write(const char *str, int cnt) in console_write() argument 82 usb_serial_jtag_ll_write_txfifo((const uint8_t *)str, cnt); in console_write() 91 write_len = tx_len < cnt ? tx_len : cnt; in console_write() 93 cnt -= write_len; in console_write() 97 } while (cnt > 0); in console_write() 101 int console_read(char *str, int cnt, int *newline) in console_read() argument 114 } while (!(read_len == cnt || str[read_len - 1] == '\n')); in console_read() 131 if (read_len == cnt - 1|| str[read_len - 1] == '\n') { in console_read()
|
/mcuboot-latest/boot/espressif/port/esp32h2/ |
D | serial_adapter.c | 75 void console_write(const char *str, int cnt) in console_write() argument 82 usb_serial_jtag_ll_write_txfifo((const uint8_t *)str, cnt); in console_write() 91 write_len = tx_len < cnt ? tx_len : cnt; in console_write() 93 cnt -= write_len; in console_write() 97 } while (cnt > 0); in console_write() 101 int console_read(char *str, int cnt, int *newline) in console_read() argument 114 } while (!(read_len == cnt || str[read_len - 1] == '\n')); in console_read() 131 if (read_len == cnt - 1|| str[read_len - 1] == '\n') { in console_read()
|
/mcuboot-latest/boot/espressif/port/esp32c2/ |
D | serial_adapter.c | 70 void console_write(const char *str, int cnt) in console_write() argument 78 write_len = tx_len < cnt ? tx_len : cnt; in console_write() 80 cnt -= write_len; in console_write() 84 } while (cnt > 0); in console_write() 87 int console_read(char *str, int cnt, int *newline) in console_read() argument 101 if (read_len == cnt - 1|| str[read_len - 1] == '\n') { in console_read()
|
/mcuboot-latest/boot/espressif/port/esp32s2/ |
D | serial_adapter.c | 73 void console_write(const char *str, int cnt) in console_write() argument 81 write_len = tx_len < cnt ? tx_len : cnt; in console_write() 83 cnt -= write_len; in console_write() 87 } while (cnt > 0); in console_write() 90 int console_read(char *str, int cnt, int *newline) in console_read() argument 104 if (read_len == cnt - 1|| str[read_len - 1] == '\n') { in console_read()
|
/mcuboot-latest/boot/mynewt/boot_uart/include/boot_uart/ |
D | boot_uart.h | 25 int boot_uart_read(char *str, int cnt, int *newline); 26 void boot_uart_write(const char *ptr, int cnt);
|
/mcuboot-latest/boot/boot_serial/include/boot_serial/ |
D | boot_serial.h | 36 int (*read)(char *str, int cnt, int *newline); 37 void (*write)(const char *ptr, int cnt);
|
/mcuboot-latest/boot/espressif/port/esp32/ |
D | serial_adapter.c | 68 void console_write(const char *str, int cnt) in console_write() argument 74 } while (tx_len < cnt); in console_write() 76 uart_ll_write_txfifo(serial_boot_uart_dev, (const uint8_t *)str, cnt); in console_write() 79 int console_read(char *str, int cnt, int *newline) in console_read() argument 92 if (read_len == cnt || str[read_len - 1] == '\n') { in console_read()
|
/mcuboot-latest/boot/espressif/include/serial_adapter/ |
D | serial_adapter.h | 13 void console_write(const char *str, int cnt);
|
/mcuboot-latest/boot/zephyr/include/serial_adapter/ |
D | serial_adapter.h | 24 console_write(const char *str, int cnt);
|
/mcuboot-latest/boot/mynewt/src/ |
D | main.c | 63 static int boot_read(char *str, int cnt, int *newline); 70 boot_read(char *str, int cnt, int *newline) in boot_read() argument 91 return boot_uart_read(str, cnt, newline); in boot_read()
|
/mcuboot-latest/boot/cypress/cy_flash_pal/ |
D | cy_flash_map.c | 381 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *fa) in flash_area_to_sectors() argument 388 (void)cnt; in flash_area_to_sectors() 395 (void)cnt; in flash_area_to_sectors() 484 int flash_area_get_sectors(int idx, uint32_t *cnt, struct flash_sector *ret) in flash_area_get_sectors() argument 527 assert(sectors_n <= *cnt); in flash_area_get_sectors() 537 *cnt = sectors_n; in flash_area_get_sectors()
|
/mcuboot-latest/boot/cypress/cy_flash_pal/include/flash_map_backend/ |
D | flash_map_backend.h | 172 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *ret); 179 int flash_area_get_sectors(int idx, uint32_t *cnt, struct flash_sector *ret);
|
/mcuboot-latest/sim/mcuboot-sys/csupport/storage/ |
D | flash_map.h | 161 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *ret);
|
/mcuboot-latest/boot/bootutil/include/bootutil/ |
D | fault_injection_hardening.h | 280 #define FIH_LABEL(str, lin, cnt) __asm volatile ("FIH_LABEL_" str "_" #lin "_" #cnt "::" ::); argument
|
/mcuboot-latest/boot/espressif/include/flash_map_backend/ |
D | flash_map_backend.h | 93 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *fa);
|
/mcuboot-latest/sim/mcuboot-sys/csupport/ |
D | run.c | 370 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *ret) in flash_area_to_sectors() argument 388 if (slot->num_areas > (uint32_t)*cnt) { in flash_area_to_sectors() 393 *cnt = slot->num_areas; in flash_area_to_sectors()
|
/mcuboot-latest/boot/espressif/port/ |
D | esp_mcuboot.c | 411 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *fa) in flash_area_to_sectors() argument
|