/Zephyr-Core-2.7.6/drivers/serial/ |
D | uart_nrfx_uarte.c | 124 struct uarte_async_cb *async; member 504 return data->async->hw_rx_counting; in hw_rx_counting_enabled() 516 if (data->async) { in uarte_enable() 517 bool disabled = data->async->low_power_mask == 0; in uarte_enable() 519 data->async->low_power_mask |= mask; in uarte_enable() 525 for (int i = 0; i < data->async->rx_flush_cnt; i++) { in uarte_enable() 567 if (data->async && hw_rx_counting_enabled(data)) { in uart_disable() 570 data->async->rx_total_byte_cnt = 0; in uart_disable() 571 data->async->rx_total_user_byte_cnt = 0; in uart_disable() 603 data->async->hw_rx_counting = false; in uarte_nrfx_rx_counting_init() [all …]
|
/Zephyr-Core-2.7.6/kernel/ |
D | mailbox.c | 34 static inline void mbox_async_alloc(struct k_mbox_async **async) in mbox_async_alloc() argument 36 (void)k_stack_pop(&async_msg_free, (stack_data_t *)async, K_FOREVER); in mbox_async_alloc() 40 static inline void mbox_async_free(struct k_mbox_async *async) in mbox_async_free() argument 42 k_stack_push(&async_msg_free, (stack_data_t)async); in mbox_async_free() 327 struct k_mbox_async *async; in k_mbox_async_put() local 335 mbox_async_alloc(&async); in k_mbox_async_put() 337 async->thread.prio = _current->base.prio; in k_mbox_async_put() 339 async->tx_msg = *tx_msg; in k_mbox_async_put() 340 async->tx_msg._syncing_thread = (struct k_thread *)&async->thread; in k_mbox_async_put() 341 async->tx_msg._async_sem = sem; in k_mbox_async_put() [all …]
|
/Zephyr-Core-2.7.6/include/drivers/ |
D | spi.h | 397 struct k_poll_signal *async); 612 struct k_poll_signal *async) in spi_transceive_async() argument 617 return api->transceive_async(dev, config, tx_bufs, rx_bufs, async); in spi_transceive_async() 646 struct k_poll_signal *async) in spi_read_async() argument 648 return spi_transceive_async(dev, config, NULL, rx_bufs, async); in spi_read_async() 677 struct k_poll_signal *async) in spi_write_async() argument 679 return spi_transceive_async(dev, config, tx_bufs, NULL, async); in spi_write_async()
|
D | adc.h | 349 struct k_poll_signal *async); 444 struct k_poll_signal *async); 450 struct k_poll_signal *async) in z_impl_adc_read_async() argument 455 return api->read_async(dev, sequence, async); in z_impl_adc_read_async()
|
D | lora.h | 81 struct k_poll_signal *async); 162 struct k_poll_signal *async) in lora_send_async() argument 167 return api->send_async(dev, data, data_len, async); in lora_send_async()
|
/Zephyr-Core-2.7.6/drivers/adc/ |
D | adc_handlers.c | 74 struct k_poll_signal *async) in z_vrfy_adc_read_async() argument 87 Z_OOPS(Z_SYSCALL_OBJ(async, K_OBJ_POLL_SIGNAL)); in z_vrfy_adc_read_async() 90 (struct k_poll_signal *)async); in z_vrfy_adc_read_async()
|
D | adc_mcux_adc12.c | 135 struct k_poll_signal *async) in mcux_adc12_read_async() argument 140 adc_context_lock(&data->ctx, async ? true : false, async); in mcux_adc12_read_async()
|
D | adc_mcp320x.c | 140 struct k_poll_signal *async) in mcp320x_read_async() argument 145 adc_context_lock(&data->ctx, async ? true : false, async); in mcp320x_read_async()
|
D | adc_nrfx_adc.c | 230 struct k_poll_signal *async) in adc_nrfx_read_async() argument 234 adc_context_lock(&m_data.ctx, true, async); in adc_nrfx_read_async()
|
D | adc_mcux_lpadc.c | 161 struct k_poll_signal *async) in mcux_lpadc_read_async() argument 166 adc_context_lock(&data->ctx, async ? true : false, async); in mcux_lpadc_read_async()
|
D | adc_emul.c | 352 struct k_poll_signal *async) in adc_emul_read_async() argument 357 adc_context_lock(&data->ctx, async ? true : false, async); in adc_emul_read_async()
|
D | adc_mchp_xec.c | 206 struct k_poll_signal *async) in adc_xec_read_async() argument 211 adc_context_lock(&data->ctx, true, async); in adc_xec_read_async()
|
D | adc_cc32xx.c | 223 struct k_poll_signal *async) in adc_cc32xx_read_async() argument 225 return cc32xx_read(dev, sequence, true, async); in adc_cc32xx_read_async()
|
D | adc_nrfx_saadc.c | 357 struct k_poll_signal *async) in adc_nrfx_read_async() argument 361 adc_context_lock(&m_data.ctx, true, async); in adc_nrfx_read_async()
|
D | adc_sam_afec.c | 307 struct k_poll_signal *async) in adc_sam_read_async() argument 312 adc_context_lock(&data->ctx, true, async); in adc_sam_read_async()
|
/Zephyr-Core-2.7.6/tests/drivers/uart/uart_mix_fifo_poll/src/ |
D | main.c | 53 static bool async; variable 88 if (async && !async_rx_enabled) { in counter_top_handler() 103 } else if (!async && !int_driven) { in counter_top_handler() 125 async = true; in init_test() 127 async = false; in init_test() 242 if (async) { in int_async_thread_func() 314 if (async || int_driven) { in test_mixed_uart_access()
|
/Zephyr-Core-2.7.6/tests/drivers/uart/uart_async_api/boards/ |
D | atsamr21_xpro.overlay | 8 /* Configure DMA channels for async operation */ 25 /* Configure DMA channels for async operation */
|
D | atsamd21_xpro.overlay | 8 /* Configure DMA channels for async operation */
|
D | atsame54_xpro.overlay | 14 /* Configure DMA channels for async operation */
|
/Zephyr-Core-2.7.6/tests/lib/onoff/src/ |
D | main.c | 111 bool async; member 119 tsp->async = false; in reset_transit_state() 129 if (tsp->async) { in run_transit() 432 start_state.async = true; in test_basic_async() 434 stop_state.async = true; in test_basic_async() 555 start_state.async = true; in test_multi_start() 668 stop_state.async = true; in test_delayed_req() 722 start_state.async = true; in test_recheck_start() 758 stop_state.async = true; in test_recheck_stop() 841 reset_state.async = true; in test_multi_reset() [all …]
|
/Zephyr-Core-2.7.6/drivers/spi/ |
D | spi_test.c | 30 struct k_poll_signal *async) in vnd_spi_transceive_async() argument
|
D | spi_nrfx_spis.c | 193 struct k_poll_signal *async) in spi_nrfx_transceive_async() argument 195 return transceive(dev, spi_cfg, tx_bufs, rx_bufs, true, async); in spi_nrfx_transceive_async()
|
/Zephyr-Core-2.7.6/drivers/lora/ |
D | sx12xx_common.h | 32 uint32_t data_len, struct k_poll_signal *async);
|
D | sx12xx_common.c | 203 uint32_t data_len, struct k_poll_signal *async) in sx12xx_lora_send_async() argument 211 dev_data.operation_done = async; in sx12xx_lora_send_async()
|
/Zephyr-Core-2.7.6/doc/reference/api/ |
D | terminology.rst | 168 async section in API Terminology 171 A function is **async** (i.e. asynchronous) if it may return before the 184 Be aware that **async** is orthogonal to context-switching. Some APIs argument 189 If a function is both **no-wait** and **async** then selecting the
|