Searched refs:receive_rb (Results 1 – 5 of 5) sorted by relevance
/Zephyr-Core-3.7.0/subsys/modem/backends/ |
D | modem_backend_uart_isr.c | 26 struct ring_buf *receive_rb; in modem_backend_uart_isr_irq_handler_receive_ready() local 30 receive_rb = &backend->isr.receive_rdb[backend->isr.receive_rdb_used]; in modem_backend_uart_isr_irq_handler_receive_ready() 31 size = ring_buf_put_claim(receive_rb, &buffer, UINT32_MAX); in modem_backend_uart_isr_irq_handler_receive_ready() 39 ring_buf_put_finish(receive_rb, 0); in modem_backend_uart_isr_irq_handler_receive_ready() 40 ring_buf_reset(receive_rb); in modem_backend_uart_isr_irq_handler_receive_ready() 41 size = ring_buf_put_claim(receive_rb, &buffer, UINT32_MAX); in modem_backend_uart_isr_irq_handler_receive_ready() 46 ring_buf_put_finish(receive_rb, 0); in modem_backend_uart_isr_irq_handler_receive_ready() 49 ring_buf_put_finish(receive_rb, (uint32_t)ret); in modem_backend_uart_isr_irq_handler_receive_ready() 51 if (ring_buf_space_get(receive_rb) > ring_buf_capacity_get(receive_rb) / 20) { in modem_backend_uart_isr_irq_handler_receive_ready()
|
D | modem_backend_uart_async.c | 47 return ring_buf_size_get(&backend->async.receive_rb); in get_receive_buf_length() 114 received = ring_buf_put(&backend->async.receive_rb, in modem_backend_uart_async_event_handler() 121 ring_buf_reset(&backend->async.receive_rb); in modem_backend_uart_async_event_handler() 157 ring_buf_reset(&backend->async.receive_rb); in modem_backend_uart_async_open() 181 return ring_buf_capacity_get(&backend->async.receive_rb); in get_receive_buf_size() 251 received = ring_buf_get(&backend->async.receive_rb, buf, size); in modem_backend_uart_async_receive() 252 empty = ring_buf_is_empty(&backend->async.receive_rb); in modem_backend_uart_async_receive() 324 ring_buf_init(&backend->async.receive_rb, (receive_buf_size_quarter * 2), in modem_backend_uart_async_init()
|
/Zephyr-Core-3.7.0/include/zephyr/modem/backend/ |
D | uart.h | 36 struct ring_buf receive_rb; member
|
/Zephyr-Core-3.7.0/include/zephyr/modem/ |
D | cmux.h | 97 struct ring_buf receive_rb; member
|
/Zephyr-Core-3.7.0/subsys/modem/ |
D | modem_cmux.c | 593 ring_buf_reset(&dlci->receive_rb); in modem_cmux_on_dlci_frame_ua() 620 written = ring_buf_put(&dlci->receive_rb, cmux->frame.data, cmux->frame.data_len); in modem_cmux_on_dlci_frame_uih() 643 ring_buf_reset(&dlci->receive_rb); in modem_cmux_on_dlci_frame_sabm() 1041 return ring_buf_size_get(&dlci->receive_rb); in modem_cmux_dlci_get_receive_buf_length() 1046 return ring_buf_capacity_get(&dlci->receive_rb); in modem_cmux_dlci_get_receive_buf_size() 1129 ret = ring_buf_get(&dlci->receive_rb, buf, size); in modem_cmux_dlci_pipe_api_receive() 1278 ring_buf_init(&dlci->receive_rb, config->receive_buf_size, config->receive_buf); in modem_cmux_dlci_init()
|