/Zephyr-latest/drivers/modem/ |
D | modem_iface_uart_async.c | 34 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()
|
D | modem_iface_uart.h | 35 struct k_sem tx_sem; member
|
/Zephyr-latest/tests/net/icmp/src/ |
D | main.c | 67 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/ |
D | eth_stellaris.c | 94 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()
|
D | eth_stellaris_priv.h | 52 struct k_sem tx_sem; member
|
D | eth_w5500_priv.h | 97 struct k_sem tx_sem; member
|
D | eth_w5500.c | 200 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,
|
D | eth_gecko_priv.h | 88 struct k_sem tx_sem; member
|
D | eth_nxp_s32_gmac.c | 58 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); \
|
D | eth_sam_gmac_priv.h | 239 struct k_sem tx_sem; member
|
D | eth_gecko.c | 288 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/ |
D | mhz19b.c | 81 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()
|
D | mhz19b.h | 53 struct k_sem tx_sem; member
|
/Zephyr-latest/subsys/console/ |
D | tty.c | 43 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/ |
D | tty.h | 27 struct k_sem tx_sem; member
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell_uart.h | 62 struct k_sem tx_sem; member
|
/Zephyr-latest/drivers/ethernet/eth_nxp_enet_qos/ |
D | nxp_enet_qos_priv.h | 98 struct k_sem tx_sem; member
|
D | eth_nxp_enet_qos_mac.c | 81 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/ |
D | can_mcp2515.h | 34 struct k_sem tx_sem; member
|
D | can_renesas_ra.c | 169 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()
|
D | can_xmc4xxx.c | 64 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()
|
D | can_mcan.c | 367 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/ |
D | main.c | 35 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/ |
D | shell_uart.c | 37 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/ |
D | isotp.h | 440 struct k_sem tx_sem; member
|