/Zephyr-latest/tests/bluetooth/buf/src/ |
D | main.c | 20 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/ |
D | modem_iface_uart.h | 30 struct k_sem rx_sem; member 94 return k_sem_take(&data->rx_sem, timeout); in modem_iface_uart_rx_wait()
|
D | modem_receiver.c | 130 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()
|
D | modem_receiver.h | 29 struct k_sem rx_sem; member
|
D | modem_iface_uart_interrupt.c | 100 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()
|
D | modem_iface_uart_async.c | 62 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()
|
D | wncm14a2a.c | 1111 (void)k_sem_take(&ictx.mdm_ctx.rx_sem, K_FOREVER); in wncm14a2a_rx()
|
D | hl7800.c | 4673 (void)k_sem_take(&iface_ctx.mdm_ctx.rx_sem, K_FOREVER); in hl7800_rx()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_renesas_ra.c | 54 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), \
|
D | eth_nxp_imx_netc.c | 96 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()
|
D | eth_nxp_imx_netc_priv.h | 108 struct k_sem rx_sem; member
|
D | eth_gecko_priv.h | 89 struct k_sem rx_sem; member
|
D | eth_nxp_s32_netc.c | 84 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()
|
D | eth_nxp_s32_netc_priv.h | 125 struct k_sem rx_sem; member
|
D | eth_nxp_s32_gmac.c | 57 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); \
|
D | eth_gecko.c | 340 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()
|
D | eth_nxp_s32_netc_vsi.c | 97 k_sem_give(&ctx->rx_sem); \
|
D | eth_nxp_s32_netc_psi.c | 280 k_sem_give(&ctx->rx_sem); \
|
/Zephyr-latest/drivers/sensor/mhz19b/ |
D | mhz19b.c | 88 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()
|
D | mhz19b.h | 54 struct k_sem rx_sem; member
|
/Zephyr-latest/subsys/console/ |
D | tty.c | 64 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/ |
D | tty.h | 21 struct k_sem rx_sem; member
|