Home
last modified time | relevance | path

Searched refs:async (Results 1 – 25 of 70) sorted by relevance

123

/Zephyr-Core-2.7.6/drivers/serial/
Duart_nrfx_uarte.c124 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/
Dmailbox.c34 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/
Dspi.h397 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()
Dadc.h349 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()
Dlora.h81 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/
Dadc_handlers.c74 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()
Dadc_mcux_adc12.c135 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()
Dadc_mcp320x.c140 struct k_poll_signal *async) in mcp320x_read_async() argument
145 adc_context_lock(&data->ctx, async ? true : false, async); in mcp320x_read_async()
Dadc_nrfx_adc.c230 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()
Dadc_mcux_lpadc.c161 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()
Dadc_emul.c352 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()
Dadc_mchp_xec.c206 struct k_poll_signal *async) in adc_xec_read_async() argument
211 adc_context_lock(&data->ctx, true, async); in adc_xec_read_async()
Dadc_cc32xx.c223 struct k_poll_signal *async) in adc_cc32xx_read_async() argument
225 return cc32xx_read(dev, sequence, true, async); in adc_cc32xx_read_async()
Dadc_nrfx_saadc.c357 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()
Dadc_sam_afec.c307 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/
Dmain.c53 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/
Datsamr21_xpro.overlay8 /* Configure DMA channels for async operation */
25 /* Configure DMA channels for async operation */
Datsamd21_xpro.overlay8 /* Configure DMA channels for async operation */
Datsame54_xpro.overlay14 /* Configure DMA channels for async operation */
/Zephyr-Core-2.7.6/tests/lib/onoff/src/
Dmain.c111 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/
Dspi_test.c30 struct k_poll_signal *async) in vnd_spi_transceive_async() argument
Dspi_nrfx_spis.c193 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/
Dsx12xx_common.h32 uint32_t data_len, struct k_poll_signal *async);
Dsx12xx_common.c203 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/
Dterminology.rst168 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

123