Lines Matching refs:ch_data
59 struct nxp_s32_sys_timer_chan_data ch_data[SYS_TIMER_NUM_CHANNELS]; member
118 struct nxp_s32_sys_timer_chan_data *ch_data = &data->ch_data[channel]; in stm_set_alarm() local
169 ch_data->callback = NULL; in stm_set_alarm()
180 struct nxp_s32_sys_timer_chan_data *ch_data = NULL; in stm_isr() local
194 ch_data = &data->ch_data[channel]; in stm_isr()
195 if (ch_data->callback) { in stm_isr()
196 cb = ch_data->callback; in stm_isr()
197 cb_args = ch_data->user_data; in stm_isr()
198 ch_data->callback = NULL; in stm_isr()
199 ch_data->user_data = NULL; in stm_isr()
239 struct nxp_s32_sys_timer_chan_data *ch_data = &data->ch_data[channel]; in nxp_s32_sys_timer_set_alarm() local
241 if (ch_data->callback) { in nxp_s32_sys_timer_set_alarm()
250 ch_data->callback = alarm_cfg->callback; in nxp_s32_sys_timer_set_alarm()
251 ch_data->user_data = alarm_cfg->user_data; in nxp_s32_sys_timer_set_alarm()
260 struct nxp_s32_sys_timer_chan_data *ch_data = &data->ch_data[channel]; in nxp_s32_sys_timer_cancel_alarm() local
263 ch_data->callback = NULL; in nxp_s32_sys_timer_cancel_alarm()
264 ch_data->user_data = NULL; in nxp_s32_sys_timer_cancel_alarm()
339 struct nxp_s32_sys_timer_chan_data *ch_data; in nxp_s32_sys_timer_init() local
361 ch_data = &data->ch_data[i]; in nxp_s32_sys_timer_init()
362 ch_data->callback = NULL; in nxp_s32_sys_timer_init()
363 ch_data->user_data = NULL; in nxp_s32_sys_timer_init()