Home
last modified time | relevance | path

Searched refs:curr_offset (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/subsys/usb/device/class/
Dmsc.c236 static uint16_t curr_offset; variable
282 curr_offset = 0U; in msd_init()
460 if (n > BLOCK_SIZE - curr_offset) { in thread_memory_read_done()
461 n = BLOCK_SIZE - curr_offset; in thread_memory_read_done()
465 &page[curr_offset], n, NULL) != 0) { in thread_memory_read_done()
469 curr_offset += n; in thread_memory_read_done()
470 if (curr_offset >= BLOCK_SIZE) { in thread_memory_read_done()
471 curr_offset -= BLOCK_SIZE; in thread_memory_read_done()
493 if (!curr_offset) { in memoryRead()
534 curr_offset = 0U; in infoTransfer()
[all …]
/Zephyr-latest/subsys/logging/frontends/
Dlog_frontend_dict_uart.c188 static size_t curr_offset; in uart_isr_callback() local
196 curr_offset = 0; in uart_isr_callback()
203 size_t rem = len - curr_offset; in uart_isr_callback()
206 uint8_t *d = &pkt->data[curr_offset]; in uart_isr_callback()
208 curr_offset += uart_fifo_fill(dev, d, rem); in uart_isr_callback()