Lines Matching refs:async_cb
66 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()
476 if (event.data.rx.len > 0 && data->async_cb) { in async_evt_rx_rdy()
477 data->async_cb(data->dev, &event, data->async_user_data); in async_evt_rx_rdy()
491 if (data->async_cb) { in async_evt_tx_done()
492 data->async_cb(data->dev, &event, data->async_user_data); in async_evt_tx_done()
506 if (data->async_cb) { in async_evt_tx_abort()
507 data->async_cb(data->dev, &event, data->async_user_data); in async_evt_tx_abort()
627 data->async_cb = callback; in uart_xmc4xxx_async_callback_set()