/Zephyr-latest/subsys/modem/backends/ |
D | modem_backend_uart_async.c | 25 if (!atomic_test_bit(&backend->async.state, in modem_backend_uart_async_is_uart_stopped() 27 !atomic_test_bit(&backend->async.state, in modem_backend_uart_async_is_uart_stopped() 29 !atomic_test_bit(&backend->async.state, in modem_backend_uart_async_is_uart_stopped() 31 !atomic_test_bit(&backend->async.state, in modem_backend_uart_async_is_uart_stopped() 41 return atomic_test_bit(&backend->async.state, in modem_backend_uart_async_is_open() 47 return ring_buf_size_get(&backend->async.receive_rb); in get_receive_buf_length() 59 atomic_clear_bit(&backend->async.state, in modem_backend_uart_async_event_handler() 68 atomic_clear_bit(&backend->async.state, in modem_backend_uart_async_event_handler() 75 if (!atomic_test_and_set_bit(&backend->async.state, in modem_backend_uart_async_event_handler() 77 uart_rx_buf_rsp(backend->uart, backend->async.receive_bufs[0], in modem_backend_uart_async_event_handler() [all …]
|
D | Kconfig | 22 bool "Modem UART backend module async implementation" 44 int "Modem async UART transmit timeout in milliseconds" 48 int "Modem async UART receive idle timeout in milliseconds"
|
/Zephyr-latest/drivers/serial/ |
D | uart_esp32.c | 121 struct uart_esp32_async_data async; member 501 data->async.cb = NULL; in uart_esp32_irq_callback_set() 502 data->async.user_data = NULL; in uart_esp32_irq_callback_set() 513 LOG_DBG("Async timer started for %d us", timeout); in uart_esp32_async_timer_start() 551 data->async.rx_counter++; in uart_esp32_isr() 552 uart_esp32_async_timer_start(&data->async.rx_timeout_work, data->async.rx_timeout); in uart_esp32_isr() 572 if (data->async.rx_counter != data->async.rx_len) { in uart_esp32_dma_rx_done() 574 (uint32_t)data->async.rx_buf + data->async.rx_counter, in uart_esp32_dma_rx_done() 575 data->async.rx_len - data->async.rx_counter); in uart_esp32_dma_rx_done() 577 data->uhci_dev->pkt_thres.thrs = data->async.rx_len - data->async.rx_counter; in uart_esp32_dma_rx_done() [all …]
|
D | uart_mcux_lpuart.c | 122 struct mcux_lpuart_async_data async; member 401 LOG_ERR("UART irq and async api are exclusive"); in mcux_lpuart_irq_callback_set() 409 data->async.user_callback = NULL; in mcux_lpuart_irq_callback_set() 410 data->async.user_data = NULL; in mcux_lpuart_irq_callback_set() 422 LOG_DBG("async timer started for %d us", timeout_us); in async_timer_start() 431 if (data->async.user_callback) { in async_user_callback() 432 data->async.user_callback(dev, evt, data->async.user_data); in async_user_callback() 440 (void)k_work_cancel_delayable(&data->async.tx_dma_params.timeout_work); in async_evt_tx_done() 442 LOG_DBG("TX done: %d", data->async.tx_dma_params.buf_len); in async_evt_tx_done() 445 .data.tx.buf = data->async.tx_dma_params.buf, in async_evt_tx_done() [all …]
|
D | uart_npcx.c | 97 struct uart_npcx_async_data async; member 356 data->async.user_callback = NULL; in uart_npcx_irq_callback_set() 357 data->async.user_data = NULL; in uart_npcx_irq_callback_set() 423 if (data->async.user_callback) { in async_user_callback() 424 data->async.user_callback(dev, evt, data->async.user_data); in async_user_callback() 431 struct uart_npcx_rx_dma_params *rx_dma_params = &data->async.rx_dma_params; in async_evt_rx_rdy() 454 (void)k_work_cancel_delayable(&data->async.tx_dma_params.timeout_work); in async_evt_tx_done() 456 LOG_DBG("TX done: %d", data->async.tx_dma_params.buf_len); in async_evt_tx_done() 459 .data.tx.buf = data->async.tx_dma_params.buf, in async_evt_tx_done() 460 .data.tx.len = data->async.tx_dma_params.buf_len}; in async_evt_tx_done() [all …]
|
D | uart_nrfx_uarte2.c | 47 /* Macro determining if any instance is enabled and using ASYNC API. */ 138 struct uarte_async_data *async; member 179 (!UARTE_INT_ASYNC || (((struct uarte_nrfx_data *)dev->data)->async == NULL)) 195 data->async->user_callback = callback; in callback_set() 196 data->async->user_data = user_data; in callback_set() 232 k_timer_stop(&data->async->tx_timer); in on_tx_done() 234 data->async->user_callback(dev, &evt, data->async->user_data); in on_tx_done() 242 if (data->async->err) { in on_rx_done() 244 evt.data.rx_stop.reason = UARTE_ERROR_FROM_MASK(data->async->err); in on_rx_done() 249 data->async->err = 0; in on_rx_done() [all …]
|
D | uart_nrfx_uarte.c | 226 struct uarte_async_cb *async; member 381 if (data->async && HW_RX_COUNTING_ENABLED(config)) { in uarte_disable_locked() 384 data->async->rx.total_byte_cnt = 0; in uarte_disable_locked() 385 data->async->rx.total_user_byte_cnt = 0; in uarte_disable_locked() 670 if (data->async) { in uarte_periph_enable() 676 for (int i = 0; i < data->async->rx.flush_cnt; i++) { in uarte_periph_enable() 776 ret = nrfx_gppi_channel_alloc(&data->async->rx.cnt.ppi); in uarte_nrfx_rx_counting_init() 783 nrfx_gppi_channel_endpoints_setup(data->async->rx.cnt.ppi, evt_addr, tsk_addr); in uarte_nrfx_rx_counting_init() 784 nrfx_gppi_channels_enable(BIT(data->async->rx.cnt.ppi)); in uarte_nrfx_rx_counting_init() 815 k_timer_init(&data->async->rx.timer, rx_timeout, NULL); in uarte_async_init() [all …]
|
D | uart_ns16550.c | 382 struct uart_ns16550_async_data async; member 827 if (data->async.tx_dma_params.dma_dev != NULL) { 845 if (data->async.tx_dma_params.dma_dev != NULL) { 846 data->async.next_rx_buffer = NULL; 847 data->async.next_rx_buffer_len = 0; 848 data->async.uart_dev = dev; 849 k_work_init_delayable(&data->async.rx_dma_params.timeout_work, 851 k_work_init_delayable(&data->async.tx_dma_params.timeout_work, 853 data->async.rx_dma_params.dma_cfg.head_block = 854 &data->async.rx_dma_params.active_dma_block; [all …]
|
/Zephyr-latest/tests/drivers/build_all/modem/ |
D | testcase.yaml | 16 drivers.modem.modem_hl7800.async.build: 24 drivers.modem.modem_ublox_sara.async.build: 32 drivers.modem.modem_quectel_bg9x.async.build: 40 drivers.modem.modem_esp_at.async.build: 48 drivers.modem.modem_cellular.async.build: 56 drivers.modem.modem_simcom_sim7080.async.build:
|
/Zephyr-latest/include/zephyr/dt-bindings/clock/ |
D | kinetis_pcc.h | 12 #define KINETIS_PCC_SRC_SOSC_ASYNC 1 /* System Oscillator async clock */ 13 #define KINETIS_PCC_SRC_SIRC_ASYNC 2 /* Slow IRC async clock */ 14 #define KINETIS_PCC_SRC_FIRC_ASYNC 3 /* Fast IRC async clock */ 15 #define KINETIS_PCC_SRC_SPLL_ASYNC 6 /* System PLL async clock */
|
/Zephyr-latest/subsys/mgmt/mcumgr/transport/ |
D | Kconfig.uart | 29 bool "Use async UART API when available" 31 The option enables use of UART async API when available for selected mcumgr uart port. 36 int "Number of async RX UART buffers" 46 int "Size of single async RX UART buffer"
|
/Zephyr-latest/tests/subsys/pm/device_runtime_api/src/ |
D | test_driver.c | 15 bool async; member 27 if (data->async) { in test_driver_action() 29 data->async = false; in test_driver_action() 44 data->async = true; in test_driver_pm_async()
|
/Zephyr-latest/samples/drivers/mspi/mspi_async/ |
D | sample.yaml | 2 name: MSPI Async Sample 4 sample.drivers.mspi.async:
|
/Zephyr-latest/tests/boards/frdm_k64f/i2c/ |
D | README.rst | 4 Tests the i2c transfer and transfer async APIs against the fxos8700 sensor 5 on the board using its FIFO with a async and sync transfer to compare
|
/Zephyr-latest/drivers/crypto/ |
D | Kconfig.smartbond | 14 bool "Support ASYNC crypto operations." 17 Enable ASYNC crypto operations.
|
/Zephyr-latest/tests/subsys/pm/power_states_api/src/ |
D | test_driver.h | 13 * @brief Async operation. 15 * The device simulates an async operation and shall
|
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/src/ |
D | main.c | 62 bool async; member 93 if (!td->async) { in work_handler() 201 static void run_test(bool m_same_size, bool s_same_size, bool async) in run_test() argument 207 tdata.async = async; in run_test() 211 if (!async) { in run_test() 255 static void test_basic(bool async) in test_basic() argument 271 run_test(true, true, async); in test_basic() 286 void test_basic_zero_len(bool async) in test_basic_zero_len() argument 322 run_test(true, true, async); in test_basic_zero_len() 339 static void test_short_rx(bool async) in test_short_rx() argument [all …]
|
/Zephyr-latest/drivers/sip_svc/ |
D | Kconfig.sip_smc_agilex | 13 int "Size of response buffer used for ASYNC transactions." 17 Size of response buffer used for ASYNC transactions.For Intel Agilex platform
|
/Zephyr-latest/dts/bindings/dai/ |
D | nxp,dai-sai.yaml | 69 1) The transmitter is ASYNC (0) 71 If this property is not specified, the transmitter will be set to ASYNC. 72 If one side is SYNC then the other MUST be ASYNC. Failing to meet this 82 1) The receiver is ASYNC (0) 84 If this property is not specified, the receiver will be set to ASYNC. 85 If one side is SYNC then the other MUST be ASYNC. Failing to meet this
|
/Zephyr-latest/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() 130 TC_PRINT("%s async\n", tsp->tag); in run_transit() 432 start_state.async = true; in ZTEST() 434 stop_state.async = true; in ZTEST() 439 "async req: %d", rc); in ZTEST() 442 check_result(-EAGAIN, "async req"); in ZTEST() 444 "async req trans"); in ZTEST() 451 check_result(start_state.retval, "async req"); in ZTEST() [all …]
|
/Zephyr-latest/tests/drivers/uart/uart_async_api/boards/ |
D | samc21n_xpro.overlay | 12 /* Configure DMA channels for async operation */ 22 /* configure DMA channels for async operation */
|
D | samd21_xpro.overlay | 16 /* Configure DMA channels for async operation */ 22 /* configure DMA channels for async operation */
|
D | same54_xpro.overlay | 18 /* Configure DMA channels for async operation */ 24 /* configure DMA channels for async operation */
|
D | saml21_xpro.overlay | 16 /* configure DMA channels for async operation */ 22 /* configure DMA channels for async operation */
|
/Zephyr-latest/tests/boards/frdm_k64f/i2c/src/ |
D | i2c.c | 114 TC_PRINT("fxos8700 async test pass\n"); in test_i2c_fxos8700_sync() 146 zassert_ok(res, "expected ok for async transfer start"); in test_i2c_fxos8700_async_cb() 154 TC_PRINT("fxos8700 async test ...\n"); in test_i2c_fxos8700_transfer_cb() 163 zassert_ok(res, "expected ok for async transfer start"); in test_i2c_fxos8700_transfer_cb() 169 TC_PRINT("fxos8700 async test pass\n"); in test_i2c_fxos8700_transfer_cb() 213 zassert_ok(res, "expected ok for async transfer start"); in test_i2c_fxos8700_transfer_signal()
|