Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/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()
440 if (data->async_cb) { in async_evt_rx_disabled()
441 data->async_cb(data->dev, &event, data->async_user_data); in async_evt_rx_disabled()
454 if (event.data.rx.len > 0 && data->async_cb) { in async_evt_rx_rdy()
455 data->async_cb(data->dev, &event, data->async_user_data); in async_evt_rx_rdy()
[all …]
Duart_stm32.h98 uart_callback_t async_cb; member
Duart_stm32.c1071 data->async_cb = NULL; in uart_stm32_irq_callback_set()
1083 if (data->async_cb) { in async_user_callback()
1084 data->async_cb(data->uart_dev, event, data->async_user_data); in async_user_callback()
1292 data->async_cb = callback; in uart_stm32_async_callback_set()