Lines Matching full:backend
10 #include <zephyr/modem/backend/uart.h>
16 struct modem_backend_uart *backend = CONTAINER_OF( in modem_backend_uart_receive_ready_handler() local
19 modem_pipe_notify_receive_ready(&backend->pipe); in modem_backend_uart_receive_ready_handler()
24 struct modem_backend_uart *backend = in modem_backend_uart_transmit_idle_handler() local
27 modem_pipe_notify_transmit_idle(&backend->pipe); in modem_backend_uart_transmit_idle_handler()
30 struct modem_pipe *modem_backend_uart_init(struct modem_backend_uart *backend, in modem_backend_uart_init() argument
40 memset(backend, 0x00, sizeof(*backend)); in modem_backend_uart_init()
41 backend->uart = config->uart; in modem_backend_uart_init()
42 k_work_init_delayable(&backend->receive_ready_work, in modem_backend_uart_init()
44 k_work_init(&backend->transmit_idle_work, modem_backend_uart_transmit_idle_handler); in modem_backend_uart_init()
47 if (modem_backend_uart_async_is_supported(backend)) { in modem_backend_uart_init()
48 modem_backend_uart_async_init(backend, config); in modem_backend_uart_init()
49 return &backend->pipe; in modem_backend_uart_init()
54 modem_backend_uart_isr_init(backend, config); in modem_backend_uart_init()
56 return &backend->pipe; in modem_backend_uart_init()