/mcuboot-2.7.6/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 | 64 console_write(const char *str, int cnt) in console_write() argument 68 for (i = 0; i < cnt; i++) { in console_write()
|
/mcuboot-2.7.6/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-2.7.6/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-2.7.6/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-2.7.6/boot/zephyr/include/serial_adapter/ |
D | serial_adapter.h | 24 console_write(const char *str, int cnt);
|
/mcuboot-2.7.6/boot/cypress/cy_flash_pal/include/flash_map_backend/ |
D | flash_map_backend.h | 142 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *ret); 151 int flash_area_get_sectors(int idx, uint32_t *cnt, struct flash_sector *ret);
|
/mcuboot-2.7.6/boot/mynewt/src/ |
D | main.c | 59 static int boot_read(char *str, int cnt, int *newline); 66 boot_read(char *str, int cnt, int *newline) in boot_read() argument 87 return boot_uart_read(str, cnt, newline); in boot_read()
|
/mcuboot-2.7.6/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() 489 int flash_area_get_sectors(int idx, uint32_t *cnt, struct flash_sector *ret) in flash_area_get_sectors() argument 532 assert(sectors_n <= *cnt); in flash_area_get_sectors() 542 *cnt = sectors_n; in flash_area_get_sectors()
|
/mcuboot-2.7.6/sim/mcuboot-sys/csupport/storage/ |
D | flash_map.h | 144 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *ret);
|
/mcuboot-2.7.6/boot/bootutil/include/bootutil/ |
D | fault_injection_hardening.h | 288 #define FIH_LABEL(str, lin, cnt) __asm volatile ("FIH_LABEL_" str "_" #lin "_" #cnt "::" ::); argument
|
/mcuboot-2.7.6/sim/mcuboot-sys/csupport/ |
D | run.c | 349 int flash_area_to_sectors(int idx, int *cnt, struct flash_area *ret) in flash_area_to_sectors() argument 367 if (slot->num_areas > (uint32_t)*cnt) { in flash_area_to_sectors() 372 *cnt = slot->num_areas; in flash_area_to_sectors()
|