Home
last modified time | relevance | path

Searched refs:tx_sem (Results 1 – 25 of 35) sorted by relevance

12

/Zephyr-latest/drivers/modem/
Dmodem_iface_uart_async.c34 k_sem_give(&data->tx_sem); in iface_uart_async_callback()
123 k_sem_take(&data->tx_sem, K_FOREVER); in modem_iface_uart_async_write()
181 k_sem_init(&data->tx_sem, 0, 1); in modem_iface_uart_init()
Dmodem_iface_uart.h35 struct k_sem tx_sem; member
/Zephyr-latest/tests/net/icmp/src/
Dmain.c67 struct k_sem tx_sem; member
452 k_sem_give(&test->tx_sem); in icmp_handler()
490 k_sem_take(&send_ctx.tx_sem, SEM_WAIT_TIME); in ZTEST()
533 k_sem_take(&send_ctx.tx_sem, SEM_WAIT_TIME); in ZTEST()
572 k_sem_take(&offload_ctx.tx_sem, SEM_WAIT_TIME); in ZTEST()
611 k_sem_take(&offload_ctx.tx_sem, SEM_WAIT_TIME); in ZTEST()
651 k_sem_init(&send_ctx.tx_sem, 0, 1); in setup()
652 k_sem_init(&recv_ctx.tx_sem, 0, 1); in setup()
679 k_sem_init(&offload_ctx.tx_sem, 0, 1); in setup()
/Zephyr-latest/drivers/ethernet/
Deth_stellaris.c94 k_sem_take(&dev_data->tx_sem, K_FOREVER); in eth_stellaris_send()
261 k_sem_give(&dev_data->tx_sem); in eth_stellaris_isr()
268 k_sem_give(&dev_data->tx_sem); in eth_stellaris_isr()
299 k_sem_init(&dev_data->tx_sem, 0, 1); in eth_stellaris_init()
Deth_stellaris_priv.h52 struct k_sem tx_sem; member
Deth_w5500_priv.h97 struct k_sem tx_sem; member
Deth_w5500.c200 if (k_sem_take(&ctx->tx_sem, K_MSEC(10))) { in w5500_tx()
333 k_sem_give(&ctx->tx_sem); in w5500_thread()
607 .tx_sem = Z_SEM_INITIALIZER(w5500_0_runtime.tx_sem,
Deth_gecko_priv.h88 struct k_sem tx_sem; member
Deth_nxp_s32_gmac.c58 struct k_sem tx_sem; member
214 k_sem_init(&ctx->tx_sem, 0, 1); in eth_nxp_s32_init()
354 k_sem_reset(&ctx->tx_sem); in eth_nxp_s32_tx()
381 if (k_sem_take(&ctx->tx_sem, ETH_NXP_S32_DMA_TX_TIMEOUT) != 0) { in eth_nxp_s32_tx()
674 k_sem_give(&ctx->tx_sem); \
Deth_sam_gmac_priv.h239 struct k_sem tx_sem; member
Deth_gecko.c288 if (k_sem_take(&dev_data->tx_sem, K_MSEC(100)) != 0) { in eth_tx()
416 k_sem_give(&dev_data->tx_sem); in eth_isr()
619 k_sem_init(&dev_data->tx_sem, 1, ETH_TX_BUF_COUNT); in eth_iface_init()
/Zephyr-latest/drivers/sensor/mhz19b/
Dmhz19b.c81 ret = k_sem_take(&data->tx_sem, MHZ19B_WAIT); in mhz19b_send_cmd()
281 k_sem_give(&data->tx_sem); in mhz19b_uart_isr()
295 k_sem_give(&data->tx_sem); in mhz19b_uart_isr()
315 k_sem_init(&data->tx_sem, 1, 1); in mhz19b_init()
Dmhz19b.h53 struct k_sem tx_sem; member
/Zephyr-latest/subsys/console/
Dtty.c43 k_sem_give(&tty->tx_sem); in tty_uart_isr()
75 res = k_sem_take(&tty->tx_sem, in tty_putchar()
287 k_sem_init(&tty->tx_sem, size - 1, K_SEM_MAX_LIMIT); in tty_set_tx_buf()
/Zephyr-latest/include/zephyr/console/
Dtty.h27 struct k_sem tx_sem; member
/Zephyr-latest/include/zephyr/shell/
Dshell_uart.h62 struct k_sem tx_sem; member
/Zephyr-latest/drivers/ethernet/eth_nxp_enet_qos/
Dnxp_enet_qos_priv.h98 struct k_sem tx_sem; member
Deth_nxp_enet_qos_mac.c81 k_sem_take(&data->tx.tx_sem, K_FOREVER); in eth_nxp_enet_qos_tx()
154 k_sem_give(&data->tx.tx_sem); in tx_dma_done()
555 k_sem_init(&data->tx.tx_sem, 1, 1); in eth_nxp_enet_qos_mac_init()
/Zephyr-latest/drivers/can/
Dcan_mcp2515.h34 struct k_sem tx_sem; member
Dcan_renesas_ra.c169 struct k_sem tx_sem; member
338 k_sem_give(&data->tx_sem); in can_renesas_ra_call_tx_cb()
499 k_sem_give(&data->tx_sem); in can_renesas_ra_stop()
592 if (k_sem_take(&data->tx_sem, timeout) != 0) { in can_renesas_ra_send()
621 k_sem_give(&data->tx_sem); in can_renesas_ra_send()
931 k_sem_init(&data->tx_sem, 1, 1); in can_renesas_ra_init()
Dcan_xmc4xxx.c64 struct k_sem tx_sem; member
175 if (k_sem_take(&dev_data->tx_sem, timeout) != 0) { in can_xmc4xxx_send()
533 k_sem_give(&dev_data->tx_sem); in can_xmc4xxx_reset_tx_fifos()
559 k_sem_give(&dev_data->tx_sem); in can_xmc4xxx_tx_handler()
794 k_sem_init(&dev_data->tx_sem, CONFIG_CAN_XMC4XXX_MAX_TX_QUEUE, in can_xmc4xxx_init()
Dcan_mcan.c367 k_sem_give(&data->tx_sem); in can_mcan_stop()
489 k_sem_give(&data->tx_sem); in can_mcan_state_change_handler()
557 k_sem_give(&data->tx_sem); in can_mcan_tx_event_handler()
655 k_sem_give(&data->tx_sem); in can_mcan_line_0_isr()
985 err = k_sem_take(&data->tx_sem, timeout); in can_mcan_send()
1043 k_sem_give(&data->tx_sem); in can_mcan_send()
1394 k_sem_init(&data->tx_sem, cbs->num_tx, cbs->num_tx); in can_mcan_init()
/Zephyr-latest/tests/net/dhcpv6/src/
Dmain.c35 struct k_sem tx_sem; member
66 k_sem_give(&ctx->tx_sem); in test_send()
203 k_sem_init(&test_ctx.tx_sem, 0, 1); in dhcpv6_tests_setup()
221 k_sem_reset(&test_ctx.tx_sem); in dhcpv6_tests_before()
461 ret = k_sem_take(&test_ctx.tx_sem, K_SECONDS(1)); in ZTEST()
493 ret = k_sem_take(&test_ctx.tx_sem, K_SECONDS(1)); in ZTEST()
522 ret = k_sem_take(&test_ctx.tx_sem, K_SECONDS(1)); in ZTEST()
554 ret = k_sem_take(&test_ctx.tx_sem, K_SECONDS(1)); in ZTEST()
585 ret = k_sem_take(&test_ctx.tx_sem, K_SECONDS(1)); in ZTEST()
/Zephyr-latest/subsys/shell/backends/
Dshell_uart.c37 k_sem_give(&sh_uart->tx_sem); in async_callback()
246 k_sem_init(&sh_uart->tx_sem, 0, 1); in async_init()
398 err = k_sem_take(&sh_uart->tx_sem, K_FOREVER); in async_write()
/Zephyr-latest/include/zephyr/canbus/
Disotp.h440 struct k_sem tx_sem; member

12