Home
last modified time | relevance | path

Searched refs:timeout_work (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_uart.c75 struct k_work_delayable timeout_work; member
118 CONTAINER_OF(dwork, struct ec_host_cmd_uart_ctx, timeout_work); in rx_timeout()
159 k_work_reschedule(&hc_uart->timeout_work, UART_REQ_RX_TIMEOUT); in uart_callback()
195 (void)k_work_cancel_delayable(&hc_uart->timeout_work); in uart_callback()
261 k_work_init_delayable(&hc_uart->timeout_work, rx_timeout); in ec_host_cmd_uart_init()
/Zephyr-latest/drivers/serial/
Duart_xmc4xxx.c50 struct k_work_delayable timeout_work; member
171 async_timer_start(&data->dma_rx.timeout_work, data->dma_rx.timeout); in uart_xmc4xxx_isr()
515 CONTAINER_OF(dwork, struct uart_dma_stream, timeout_work); in uart_xmc4xxx_async_rx_timeout()
534 async_timer_start(&data->dma_rx.timeout_work, data->dma_rx.timeout); in uart_xmc4xxx_async_rx_timeout()
544 k_work_cancel_delayable(&data->dma_tx.timeout_work); in uart_xmc4xxx_async_tx_abort()
569 CONTAINER_OF(dwork, struct uart_dma_stream, timeout_work); in uart_xmc4xxx_async_tx_timeout()
587 k_work_init_delayable(&data->dma_rx.timeout_work, uart_xmc4xxx_async_rx_timeout); in uart_xmc4xxx_async_init()
605 k_work_init_delayable(&data->dma_tx.timeout_work, uart_xmc4xxx_async_tx_timeout); in uart_xmc4xxx_async_init()
683 async_timer_start(&data->dma_tx.timeout_work, data->dma_tx.timeout); in uart_xmc4xxx_async_tx()
734 k_work_cancel_delayable(&data->dma_rx.timeout_work); in uart_xmc4xxx_dma_rx_cb()
[all …]
Duart_npcx.c57 struct k_work_delayable timeout_work; member
64 struct k_work_delayable timeout_work; member
454 (void)k_work_cancel_delayable(&data->async.tx_dma_params.timeout_work); in async_evt_tx_done()
578 async_timer_start(&data->async.tx_dma_params.timeout_work, timeout); in uart_npcx_async_tx()
600 k_work_cancel_delayable(&data->async.tx_dma_params.timeout_work); in uart_npcx_async_tx_abort()
625 CONTAINER_OF(dwork, struct uart_npcx_tx_dma_params, timeout_work); in uart_npcx_async_tx_timeout()
706 k_work_cancel_delayable(&rx_dma_params->timeout_work); in uart_npcx_async_rx_disable()
759 CONTAINER_OF(dwork, struct uart_npcx_rx_dma_params, timeout_work); in uart_npcx_async_rx_timeout()
806 async_timer_start(&rx_dma_params->timeout_work, rx_dma_params->timeout_us); in uart_npcx_async_dma_rx_complete()
855 async_timer_start(&data->async.rx_dma_params.timeout_work, in uart_npcx_isr()
[all …]
Duart_stm32.h82 struct k_work_delayable timeout_work; member
Duart_mcux_flexcomm.c59 struct k_work_delayable timeout_work; member
68 struct k_work_delayable timeout_work; member
479 k_work_schedule(&data->tx_data.timeout_work, K_USEC(timeout)); in mcux_flexcomm_uart_tx()
504 (void)k_work_cancel_delayable(&data->tx_data.timeout_work); in mcux_flexcomm_uart_tx_abort()
660 (void)k_work_cancel_delayable(&data->rx_data.timeout_work); in mcux_flexcomm_uart_rx_disable()
752 (void)k_work_cancel_delayable(&data->tx_data.timeout_work); in mcux_flexcomm_uart_dma_tx_callback()
768 (void)k_work_cancel_delayable(&data->rx_data.timeout_work); in mcux_flexcomm_uart_dma_rx_callback()
920 k_work_init_delayable(&data->tx_data.timeout_work, in flexcomm_uart_async_init()
922 k_work_init_delayable(&data->rx_data.timeout_work, in flexcomm_uart_async_init()
965 k_work_reschedule(&data->rx_data.timeout_work, in mcux_flexcomm_isr()
Duart_mcux_lpuart.c80 struct k_work_delayable timeout_work; member
88 struct k_work_delayable timeout_work; member
440 (void)k_work_cancel_delayable(&data->async.tx_dma_params.timeout_work); in async_evt_tx_done()
537 (void)k_work_cancel_delayable(&data->async.rx_dma_params.timeout_work); in mcux_lpuart_rx_disable()
771 async_timer_start(&data->async.tx_dma_params.timeout_work, timeout_us); in mcux_lpuart_tx()
786 (void)k_work_cancel_delayable(&data->async.tx_dma_params.timeout_work); in mcux_lpuart_tx_abort()
876 timeout_work); in mcux_lpuart_async_rx_timeout()
891 timeout_work); in mcux_lpuart_async_tx_timeout()
925 async_timer_start(&data->async.rx_dma_params.timeout_work, in mcux_lpuart_async_isr()
1060 k_work_init_delayable(&data->async.rx_dma_params.timeout_work, in mcux_lpuart_configure_async()
[all …]
Duart_ns16550.c300 struct k_work_delayable timeout_work; member
311 struct k_work_delayable timeout_work; member
849 k_work_init_delayable(&data->async.rx_dma_params.timeout_work,
851 k_work_init_delayable(&data->async.tx_dma_params.timeout_work,
1300 async_timer_start(&dev_data->async.rx_dma_params.timeout_work,
1309 async_timer_start(&dev_data->async.rx_dma_params.timeout_work,
1432 (void)k_work_cancel_delayable(&data->async.tx_dma_params.timeout_work);
1519 (void)k_work_cancel_delayable(&data->async.rx_dma_params.timeout_work);
1639 async_timer_start(&data->async.tx_dma_params.timeout_work, timeout_us);
1662 (void)k_work_cancel_delayable(&data->async.tx_dma_params.timeout_work);
[all …]
Duart_stm32.c1275 async_timer_start(&data->dma_rx.timeout_work, in uart_stm32_isr()
1426 (void)k_work_cancel_delayable(&data->dma_rx.timeout_work); in uart_stm32_async_rx_disable()
1462 (void)k_work_cancel_delayable(&data->dma_tx.timeout_work); in uart_stm32_dma_tx_cb()
1518 (void)k_work_cancel_delayable(&data->dma_rx.timeout_work); in uart_stm32_dma_rx_cb()
1540 k_work_reschedule(&data->dma_rx.timeout_work, K_TICKS(1)); in uart_stm32_dma_rx_cb()
1597 async_timer_start(&data->dma_tx.timeout_work, data->dma_tx.timeout); in uart_stm32_async_tx()
1696 (void)k_work_cancel_delayable(&data->dma_tx.timeout_work); in uart_stm32_async_tx_abort()
1715 struct uart_dma_stream, timeout_work); in uart_stm32_async_rx_timeout()
1733 struct uart_dma_stream, timeout_work); in uart_stm32_async_tx_timeout()
1798 k_work_init_delayable(&data->dma_rx.timeout_work, in uart_stm32_async_init()
[all …]
/Zephyr-latest/subsys/bluetooth/host/classic/
Davrcp.c37 struct k_work_delayable timeout_work; member
50 timeout_work)
233 k_work_init_delayable(&avrcp->timeout_work, avrcp_timeout); in avrcp_connected()
362 k_work_cancel_delayable(&avrcp->timeout_work); in avrcp_recv()
539 k_work_reschedule(&avrcp->timeout_work, AVRCP_TIMEOUT); in avrcp_send()
Davdtp.c47 timeout_work)
316 k_work_cancel_delayable(&session->timeout_work); in avdtp_discover_handler()
408 k_work_cancel_delayable(&session->timeout_work); in avdtp_get_capabilities_handler()
508 k_work_cancel_delayable(&session->timeout_work); in avdtp_process_configuration()
619 k_work_cancel_delayable(&session->timeout_work); in avdtp_open_handler()
690 k_work_cancel_delayable(&session->timeout_work); in avdtp_start_handler()
766 k_work_cancel_delayable(&session->timeout_work); in avdtp_close_handler()
835 k_work_cancel_delayable(&session->timeout_work); in avdtp_suspend_handler()
910 k_work_cancel_delayable(&session->timeout_work); in avdtp_abort_handler()
1000 k_work_init_delayable(&session->timeout_work, avdtp_timeout); in avdtp_send()
[all …]
Davdtp_internal.h216 struct k_work_delayable timeout_work; member
/Zephyr-latest/subsys/net/lib/dhcpv4/
Ddhcpv4.c47 static struct k_work_delayable timeout_work; variable
382 k_work_reschedule(&timeout_work, K_NO_WAIT); in dhcpv4_immediate_timeout()
397 k_work_reschedule(&timeout_work, K_NO_WAIT); in dhcpv4_set_timeout()
880 k_work_reschedule(&timeout_work, in dhcpv4_timeout()
1851 (void)k_work_cancel_delayable(&timeout_work); in net_dhcpv4_stop()
1896 k_work_init_delayable(&timeout_work, dhcpv4_timeout); in net_dhcpv4_init()
Ddhcpv4_server.c65 struct k_work_delayable timeout_work; member
101 k_work_cancel_delayable(&ctx->timeout_work); in dhcpv4_server_timeout_recalc()
103 k_work_reschedule(&ctx->timeout_work, timeout); in dhcpv4_server_timeout_recalc()
1394 CONTAINER_OF(dwork, struct dhcpv4_server_ctx, timeout_work); in dhcpv4_server_timeout()
1637 k_work_init_delayable(&server_ctx[slot].timeout_work, in net_dhcpv4_server_start()
1712 k_work_cancel_delayable_sync(&server_ctx[slot].timeout_work, &sync); in net_dhcpv4_server_stop()
/Zephyr-latest/drivers/modem/
Dmodem_cellular.c132 struct k_work_delayable timeout_work; member
538 k_work_schedule(&data->timeout_work, timeout); in modem_cellular_start_timer()
543 k_work_cancel_delayable(&data->timeout_work); in modem_cellular_stop_timer()
550 CONTAINER_OF(dwork, struct modem_cellular_data, timeout_work); in modem_cellular_timeout_handler()
1711 k_work_init_delayable(&data->timeout_work, modem_cellular_timeout_handler); in modem_cellular_init()
/Zephyr-latest/subsys/bluetooth/host/
Datt.c109 struct k_work_delayable timeout_work; member
619 k_work_reschedule(&chan->timeout_work, BT_ATT_TIMEOUT); in chan_rebegin_att_timeout()
929 k_work_cancel_delayable(&chan->timeout_work); in att_handle_rsp()
2581 k_work_cancel_delayable(&chan->timeout_work); in att_error_rsp()
3143 timeout_work); in att_timeout()
3206 k_work_init_delayable(&att_chan->timeout_work, att_timeout); in bt_att_connected()