Lines Matching refs:async_cb
71 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()
743 if (evt.data.tx.len != 0U && dev_data->async_cb) { in uart_sam0_isr()
744 dev_data->async_cb(dev, &evt, dev_data->async_cb_data); in uart_sam0_isr()
756 if (dev_data->rx_next_len == 0U && dev_data->async_cb) { in uart_sam0_isr()
761 dev_data->async_cb(dev, &evt, dev_data->async_cb_data); in uart_sam0_isr()
941 dev_data->async_cb = NULL; in uart_sam0_irq_callback_set()
955 dev_data->async_cb = callback; in uart_sam0_callback_set()
1151 if (dev_data->async_cb) { in uart_sam0_rx_disable()
1152 dev_data->async_cb(dev, &evt, dev_data->async_cb_data); in uart_sam0_rx_disable()
1166 if (dev_data->async_cb) { in uart_sam0_rx_disable()
1167 dev_data->async_cb(dev, &next_evt, dev_data->async_cb_data); in uart_sam0_rx_disable()
1172 if (dev_data->async_cb) { in uart_sam0_rx_disable()
1173 dev_data->async_cb(dev, &evt, dev_data->async_cb_data); in uart_sam0_rx_disable()