Lines Matching refs:CC_timers
88 bs_time_t *CC_timers; //[n_CCs] When each compare match is expected to happen member
133 nhw_grtc_st.CC_timers = (bs_time_t *)bs_calloc(nhw_grtc_st.n_cc, sizeof(bs_time_t)); in nhw_grtc_init()
155 free(nhw_grtc_st.CC_timers); in nhw_grtc_free()
156 nhw_grtc_st.CC_timers = NULL; in nhw_grtc_free()
198 if (nhw_grtc_st.CC_timers[cc] < Timer_GRTC) { in nhw_GRTC_update_master_timer()
199 Timer_GRTC = nhw_grtc_st.CC_timers[cc]; in nhw_GRTC_update_master_timer()
213 nhw_grtc_st.CC_timers[cc] = nhw_GRTC_counter_to_time(inst, cc_value); in nhw_GRTC_update_cc_timer()
214 if (nhw_grtc_st.CC_timers[cc] < nsi_hws_get_time()) { in nhw_GRTC_update_cc_timer()
215 nhw_grtc_st.CC_timers[cc] = nsi_hws_get_time(); in nhw_GRTC_update_cc_timer()
218 nhw_grtc_st.CC_timers[cc] = TIME_NEVER; in nhw_GRTC_update_cc_timer()
558 if (nhw_grtc_st.CC_timers[cc] == Timer_GRTC) { in nhw_GRTC_timer_triggered()