Home
last modified time | relevance | path

Searched refs:async_cb (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/serial/
Dserial_test.c38 uart_callback_t async_cb; member
153 data->async_cb = NULL; in irq_callback_set()
325 data->async_cb = callback; in serial_vnd_callback_set()
342 if (data->async_cb == NULL) { in serial_vnd_api_tx()
358 data->async_cb(dev, &evt, data->async_cb_user_data); in serial_vnd_api_tx()
374 __ASSERT_NO_MSG(data->async_cb); in async_rx_run()
388 data->async_cb(dev, &evt, data->async_cb_user_data); in async_rx_run()
398 data->async_cb(dev, &evt, data->async_cb_user_data); in async_rx_run()
413 if (data->async_cb == NULL) { in serial_vnd_rx_enable()
Duart_sam0.c71 uart_callback_t async_cb; member
174 if (dev_data->async_cb) { in uart_sam0_tx_halt()
175 dev_data->async_cb(dev_data->dev, in uart_sam0_tx_halt()
197 if (!dev_data->async_cb) { in uart_sam0_notify_rx_processed()
216 dev_data->async_cb(dev_data->dev, in uart_sam0_notify_rx_processed()
241 if (dev_data->async_cb) { in uart_sam0_dma_rx_done()
249 dev_data->async_cb(dev, &evt, dev_data->async_cb_data); in uart_sam0_dma_rx_done()
257 if (dev_data->async_cb) { in uart_sam0_dma_rx_done()
262 dev_data->async_cb(dev, &evt, dev_data->async_cb_data); in uart_sam0_dma_rx_done()
299 dev_data->async_cb(dev, &evt, dev_data->async_cb_data); in uart_sam0_dma_rx_done()
[all …]
Duart_xmc4xxx.c66 uart_callback_t async_cb; member
365 data->async_cb = NULL; in uart_xmc4xxx_irq_callback_set()
399 if (data->async_cb) { in async_evt_rx_buf_request()
400 data->async_cb(data->dev, &evt, data->async_user_data); in async_evt_rx_buf_request()
426 if (data->async_cb) { in async_evt_rx_release_buffer()
427 data->async_cb(data->dev, &event, data->async_user_data); in async_evt_rx_release_buffer()
438 if (data->dma_rx.buffer_len == 0 || data->async_cb == NULL) { in async_evt_rx_stopped()
450 data->async_cb(data->dev, &event, data->async_user_data); in async_evt_rx_stopped()
462 if (data->async_cb) { in async_evt_rx_disabled()
463 data->async_cb(data->dev, &event, data->async_user_data); in async_evt_rx_disabled()
[all …]
Duart_stm32.h100 uart_callback_t async_cb; member
Duart_stm32.c1092 data->async_cb = NULL; in uart_stm32_irq_callback_set()
1104 if (data->async_cb) { in async_user_callback()
1105 data->async_cb(data->uart_dev, event, data->async_user_data); in async_user_callback()
1352 data->async_cb = callback; in uart_stm32_async_callback_set()
/Zephyr-latest/samples/drivers/mspi/mspi_async/src/
Dmain.c33 void async_cb(struct mspi_callback_context *mspi_cb_ctx, uint32_t status) in async_cb() function
159 (mspi_callback_handler_t)async_cb, &cb_ctx1); in main()
175 (mspi_callback_handler_t)async_cb, &cb_ctx2); in main()
/Zephyr-latest/subsys/debug/
Dmipi_stp_decoder.c374 static void async_cb(uint64_t data, uint64_t ts) in async_cb() function
429 STP_ITEM(STP_ASYNC, (0xff, 0xff, 0xff), 6, 16, false, async_cb),