Searched refs:partial_size (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/lib/utils/ |
D | ring_buffer.c | 60 uint32_t partial_size; in ring_buf_put() local 65 partial_size = ring_buf_put_claim(buf, &dst, size); in ring_buf_put() 66 memcpy(dst, data, partial_size); in ring_buf_put() 67 total_size += partial_size; in ring_buf_put() 68 size -= partial_size; in ring_buf_put() 69 data += partial_size; in ring_buf_put() 70 } while (size && partial_size); in ring_buf_put() 127 uint32_t partial_size; in ring_buf_get() local 132 partial_size = ring_buf_get_claim(buf, &src, size); in ring_buf_get() 134 memcpy(data, src, partial_size); in ring_buf_get() [all …]
|
/Zephyr-latest/drivers/modem/ |
D | modem_iface_uart_interrupt.c | 57 uint32_t partial_size = 0; in modem_iface_uart_isr() local 72 if (!partial_size) { in modem_iface_uart_isr() 73 partial_size = ring_buf_put_claim(&data->rx_rb, &dst, in modem_iface_uart_isr() 76 if (!partial_size) { in modem_iface_uart_isr() 86 rx = uart_fifo_read(ctx->iface.dev, dst, partial_size); in modem_iface_uart_isr() 93 partial_size -= rx; in modem_iface_uart_isr()
|
/Zephyr-latest/drivers/wifi/eswifi/ |
D | eswifi_bus_uart.c | 62 uint32_t partial_size = 0; in eswifi_iface_uart_isr() local 69 if (!partial_size) { in eswifi_iface_uart_isr() 70 partial_size = ring_buf_put_claim(&uart->rx_rb, &dst, in eswifi_iface_uart_isr() 73 if (!partial_size) { in eswifi_iface_uart_isr() 79 rx = uart_fifo_read(uart->dev, dst, partial_size); in eswifi_iface_uart_isr() 86 partial_size -= rx; in eswifi_iface_uart_isr()
|