Home
last modified time | relevance | path

Searched refs:rx_sem (Results 1 – 22 of 22) sorted by relevance

/Zephyr-latest/tests/bluetooth/buf/src/
Dmain.c20 static K_SEM_DEFINE(rx_sem, 0, 1);
25 k_sem_give(&rx_sem); in bt_buf_rx_freed_cb()
45 err = k_sem_take(&rx_sem, K_NO_WAIT); in ZTEST()
57 err = k_sem_take(&rx_sem, K_NO_WAIT); in ZTEST()
69 err = k_sem_take(&rx_sem, K_NO_WAIT); in ZTEST()
/Zephyr-latest/drivers/modem/
Dmodem_iface_uart.h30 struct k_sem rx_sem; member
94 return k_sem_take(&data->rx_sem, timeout); in modem_iface_uart_rx_wait()
Dmodem_receiver.c130 k_sem_give(&ctx->rx_sem); in mdm_receiver_isr()
133 k_sem_give(&ctx->rx_sem); in mdm_receiver_isr()
236 k_sem_init(&ctx->rx_sem, 0, 1); in mdm_receiver_register()
Dmodem_receiver.h29 struct k_sem rx_sem; member
Dmodem_iface_uart_interrupt.c100 k_sem_give(&data->rx_sem); in modem_iface_uart_isr()
194 k_sem_init(&data->rx_sem, 0, 1); in modem_iface_uart_init()
Dmodem_iface_uart_async.c62 k_sem_give(&data->rx_sem); in iface_uart_async_callback()
180 k_sem_init(&data->rx_sem, 0, 1); in modem_iface_uart_init()
Dwncm14a2a.c1111 (void)k_sem_take(&ictx.mdm_ctx.rx_sem, K_FOREVER); in wncm14a2a_rx()
Dhl7800.c4673 (void)k_sem_take(&iface_ctx.mdm_ctx.rx_sem, K_FOREVER); in hl7800_rx()
/Zephyr-latest/drivers/ethernet/
Deth_renesas_ra.c54 struct k_sem rx_sem; member
144 k_sem_give(&ctx->rx_sem); in renesas_ra_eth_callback()
366 res = k_sem_take(&ctx->rx_sem, K_MSEC(CONFIG_PHY_MONITOR_PERIOD)); in renesas_ra_eth_thread()
406 .rx_sem = Z_SEM_INITIALIZER(eth_0_context.rx_sem, 0, UINT_MAX), \
Deth_nxp_imx_netc.c96 ret = k_sem_take(&data->rx_sem, K_FOREVER); in netc_eth_rx_thread()
136 k_sem_give(&data->rx_sem); in msgintr_isr()
216 k_sem_init(&data->rx_sem, 0, 1); in netc_eth_init_common()
Deth_nxp_imx_netc_priv.h108 struct k_sem rx_sem; member
Deth_gecko_priv.h89 struct k_sem rx_sem; member
Deth_nxp_s32_netc.c84 k_sem_init(&ctx->rx_sem, 0, 1); in nxp_s32_eth_initialize_common()
252 res = k_sem_take(&ctx->rx_sem, K_FOREVER); in nxp_s32_eth_rx_thread()
Deth_nxp_s32_netc_priv.h125 struct k_sem rx_sem; member
Deth_nxp_s32_gmac.c57 struct k_sem rx_sem; member
213 k_sem_init(&ctx->rx_sem, 0, 1); in eth_nxp_s32_init()
481 res = k_sem_take(&ctx->rx_sem, K_FOREVER); in eth_nxp_s32_rx_thread()
662 k_sem_give(&ctx->rx_sem); \
Deth_gecko.c340 res = k_sem_take(&dev_data->rx_sem, K_MSEC( in rx_thread()
391 k_sem_give(&dev_data->rx_sem); in eth_isr()
620 k_sem_init(&dev_data->rx_sem, 0, K_SEM_MAX_LIMIT); in eth_iface_init()
Deth_nxp_s32_netc_vsi.c97 k_sem_give(&ctx->rx_sem); \
Deth_nxp_s32_netc_psi.c280 k_sem_give(&ctx->rx_sem); \
/Zephyr-latest/drivers/sensor/mhz19b/
Dmhz19b.c88 k_sem_reset(&data->rx_sem); in mhz19b_send_cmd()
94 ret = k_sem_take(&data->rx_sem, MHZ19B_WAIT); in mhz19b_send_cmd()
279 k_sem_give(&data->rx_sem); in mhz19b_uart_isr()
314 k_sem_init(&data->rx_sem, 0, 1); in mhz19b_init()
Dmhz19b.h54 struct k_sem rx_sem; member
/Zephyr-latest/subsys/console/
Dtty.c64 k_sem_give(&tty->rx_sem); in tty_irq_input_hook()
147 res = k_sem_take(&tty->rx_sem, SYS_TIMEOUT_MS(tty->rx_timeout)); in tty_getchar()
273 k_sem_init(&tty->rx_sem, 0, K_SEM_MAX_LIMIT); in tty_set_rx_buf()
/Zephyr-latest/include/zephyr/console/
Dtty.h21 struct k_sem rx_sem; member