Home
last modified time | relevance | path

Searched refs:top_callback (Results 1 – 16 of 16) sorted by relevance

/Zephyr-latest/drivers/counter/
Dtimer_dtmr_cmsdk_apb.c37 counter_top_callback_t top_callback; member
81 data->top_callback = top_cfg->callback; in dtmr_cmsdk_apb_set_top_value()
140 if (data->top_callback) { in dtmr_cmsdk_apb_isr()
141 data->top_callback(dev, data->top_user_data); in dtmr_cmsdk_apb_isr()
Dtimer_tmr_cmsdk_apb.c34 counter_top_callback_t top_callback; member
87 data->top_callback = top_cfg->callback; in tmr_cmsdk_apb_set_top_value()
139 if (data->top_callback) { in tmr_cmsdk_apb_isr()
140 data->top_callback(dev, data->top_user_data); in tmr_cmsdk_apb_isr()
Dcounter_mcux_lptmr.c32 counter_top_callback_t top_callback; member
77 data->top_callback = cfg->callback; in mcux_lptmr_set_top_value()
122 if (data->top_callback) { in mcux_lptmr_isr()
123 data->top_callback(dev, data->top_user_data); in mcux_lptmr_isr()
Dcounter_mcux_gpt.c36 counter_top_callback_t top_callback; member
140 if ((status & kGPT_RollOverFlag) && data->top_callback) { in mcux_gpt_isr()
141 data->top_callback(dev, data->top_user_data); in mcux_gpt_isr()
165 data->top_callback = cfg->callback; in mcux_gpt_set_top_value()
Dcounter_nxp_pit.c33 counter_top_callback_t top_callback; member
114 data->top_callback = cfg->callback; in nxp_pit_set_top_value()
173 data->top_callback(dev, data->top_user_data); in nxp_pit_isr()
190 if (data->top_callback) { in nxp_pit_isr()
191 data->top_callback(dev, data->top_user_data); in nxp_pit_isr()
Dcounter_gecko_rtcc.c38 counter_top_callback_t top_callback; member
116 dev_data->top_callback = cfg->callback; in counter_gecko_set_top_value()
332 if (dev_data->top_callback) { in ISR_DIRECT_DECLARE()
333 dev_data->top_callback(dev, dev_data->top_user_data); in ISR_DIRECT_DECLARE()
Dcounter_mcux_rtc.c21 counter_top_callback_t top_callback; member
166 data->top_callback = cfg->callback; in mcux_rtc_set_top_value()
208 (data->top_callback)) { in mcux_rtc_isr()
209 data->top_callback(dev, data->top_user_data); in mcux_rtc_isr()
Dcounter_mcux_tpm.c36 counter_top_callback_t top_callback; member
150 if ((status & kTPM_TimeOverflowFlag) && data->top_callback) { in mcux_tpm_isr()
151 data->top_callback(dev, data->top_user_data); in mcux_tpm_isr()
193 data->top_callback = cfg->callback;
Dcounter_mcux_ctimer.c31 counter_top_callback_t top_callback; member
162 data->top_callback = cfg->callback; in mcux_lpc_ctimer_set_top_value()
245 if (((interrupt_stat & (0x01 << NUM_CHANNELS)) != 0) && data->top_callback) { in mcux_lpc_ctimer_isr()
246 data->top_callback(dev, data->top_user_data); in mcux_lpc_ctimer_isr()
Dcounter_xlnx_axi_timer.c52 counter_top_callback_t top_callback; member
205 data->top_callback = cfg->callback; in xlnx_axi_timer_set_top_value()
286 if (data->top_callback) { in xlnx_axi_timer_isr()
287 data->top_callback(dev, data->top_user_data); in xlnx_axi_timer_isr()
Dcounter_mcux_qtmr.c39 counter_top_callback_t top_callback; member
73 if ((status & kQTMR_OverflowFlag) && data->top_callback) { in mcux_qtmr_timer_handler()
74 data->top_callback(dev, data->top_user_data); in mcux_qtmr_timer_handler()
233 data->top_callback = cfg->callback; in mcux_qtmr_set_top_value()
Dcounter_gecko_stimer.c86 static void top_callback(sl_sleeptimer_timer_handle_t *handle, void *data) in top_callback() function
118 error_code = sl_sleeptimer_start_timer(&top_timer, dev_data->top_data.ticks, top_callback, in counter_gecko_start()
163 error_code = sl_sleeptimer_start_periodic_timer(&top_timer, cfg->ticks, top_callback, in counter_gecko_set_top_value()
Dcounter_mcux_lpc_rtc.c17 counter_top_callback_t top_callback; member
54 if (data->top_callback) { in mcux_lpc_rtc_isr()
55 data->top_callback(dev, data->top_user_data); in mcux_lpc_rtc_isr()
361 data->top_callback = cfg->callback; in mcux_lpc_rtc_highres_set_top_value()
Dcounter_max32_rtc.c28 counter_top_callback_t top_callback; member
108 data->top_callback = counter_cfg->callback; in api_set_top_value()
Dcounter_max32_timer.c20 counter_top_callback_t top_callback; member
235 if (data->top_callback) { in counter_max32_isr()
236 data->top_callback(dev, data->top_user_data); in counter_max32_isr()
Dcounter_andes_atcpit100.c65 counter_top_callback_t top_callback; member
97 if (data->top_callback) { in atcpit100_irq_handler()
98 data->top_callback(dev, data->top_user_data); in atcpit100_irq_handler()
372 data->top_callback = cfg->callback; in atcpit100_set_top_value()