Searched refs:user_callback (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/drivers/serial/ |
D | uart_nrfx_uart.c | 394 static void user_callback(const struct device *dev, struct uart_event *event) in user_callback() function 462 user_callback(dev, &evt); in uart_nrfx_tx_abort() 546 user_callback(dev, &event); in rx_rdy_evt() 555 user_callback(dev, &event); in buf_released_evt() 563 user_callback(dev, &event); in rx_disabled_evt() 592 user_callback(dev, &event); in rx_isr() 630 user_callback(dev, &event); in rx_isr() 673 user_callback(dev, &event); in tx_isr() 705 user_callback(dev, &event); in error_isr() 775 user_callback(DEVICE_DT_INST_GET(0), &evt); in tx_timeout()
|
D | uart_nrfx_uarte2.c | 115 uart_callback_t user_callback; member 195 data->async->user_callback = callback; in callback_set() 234 data->async->user_callback(dev, &evt, data->async->user_data); in on_tx_done() 251 data->async->user_callback(dev, &evt, data->async->user_data); in on_rx_done() 257 data->async->user_callback(dev, &evt, data->async->user_data); in on_rx_done() 263 data->async->user_callback(dev, &evt, data->async->user_data); in on_rx_done() 316 data->async->user_callback(dev, &evt, data->async->user_data); in on_rx_buf_req() 328 data->async->user_callback(dev, &evt, data->async->user_data); in on_rx_disabled()
|
D | uart_npcx.c | 70 uart_callback_t user_callback; member 356 data->async.user_callback = 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() 515 data->async.user_callback = callback; in uart_npcx_async_callback_set() 844 if (data->async.user_callback) { in uart_npcx_isr()
|
D | uart_nrfx_uarte.c | 192 uart_callback_t user_callback; member 946 static void user_callback(const struct device *dev, struct uart_event *evt) in user_callback() function 950 if (data->async->user_callback) { in user_callback() 951 data->async->user_callback(dev, evt, data->async->user_data); in user_callback() 965 user_callback(dev, &evt); in notify_uart_rx_rdy() 975 user_callback(dev, &evt); in rx_buf_release() 984 user_callback(dev, (struct uart_event *)&evt); in notify_rx_disable() 1203 data->async->user_callback = callback; in uarte_nrfx_callback_set() 1392 user_callback(dev, &evt); in error_isr() 1421 user_callback(dev, &evt); in rxstarted_isr() [all …]
|
D | uart_mcux_lpuart.c | 98 uart_callback_t user_callback; member 409 data->async.user_callback = NULL; in mcux_lpuart_irq_callback_set() 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() 712 data->async.user_callback = callback; in mcux_lpuart_callback_set()
|
D | uart_ns16550.c | 321 uart_callback_t user_callback; member 1421 if (data->async.user_callback) { 1422 data->async.user_callback(dev, evt, data->async.user_data); 1602 data->async.user_callback = callback;
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_ll_stm32.c | 128 rtc_alarm_callback user_callback; member 312 if (p_rtc_alrm->user_callback != NULL) { in rtc_stm32_isr() 313 p_rtc_alrm->user_callback(dev, (uint16_t)id, p_rtc_alrm->user_data); in rtc_stm32_isr() 780 p_rtc_alrm->user_callback = NULL; in rtc_stm32_alarm_set_time() 926 p_rtc_alrm->user_callback = callback; in rtc_stm32_alarm_set_callback()
|