Searched refs:rtc_st (Results 1 – 1 of 1) sorted by relevance
164 struct rtc_status *rtc_st = &nhw_rtc_st[i]; in nhw_rtc_init() local166 rtc_st->NRF_RTC_regs = &NRF_RTC_regs[i]; in nhw_rtc_init()167 rtc_st->n_CCs = RTC_n_CCs[i]; in nhw_rtc_init()169 rtc_st->counter_startT_sub_us = TIME_NEVER; in nhw_rtc_init()171 rtc_st->cc_timers = (bs_time_t *)bs_malloc(sizeof(bs_time_t)*RTC_n_CCs[i]); in nhw_rtc_init()173 for (int j = 0 ; j < rtc_st->n_CCs ; j++) { in nhw_rtc_init()174 rtc_st->cc_timers[j] = TIME_NEVER; in nhw_rtc_init()176 rtc_st->overflow_timer = TIME_NEVER; in nhw_rtc_init()177 rtc_st->overflow_timer_sub_us = TIME_NEVER; in nhw_rtc_init()180 rtc_st->dppi_map = nhw_rtc_dppi_map[i]; in nhw_rtc_init()[all …]