Lines Matching refs:rtc_regs
130 struct rtc_regs {
187 uint32_t fman_rtc_get_events(struct rtc_regs *regs);
195 uint32_t fman_rtc_get_interrupt_mask(struct rtc_regs *regs);
203 void fman_rtc_set_interrupt_mask(struct rtc_regs *regs, uint32_t mask);
212 uint32_t fman_rtc_get_event(struct rtc_regs *regs, uint32_t ev_mask);
220 uint32_t fman_rtc_check_and_clear_event(struct rtc_regs *regs);
227 void fman_rtc_ack_event(struct rtc_regs *regs, uint32_t events);
234 void fman_rtc_enable_interupt(struct rtc_regs *regs, uint32_t mask);
241 void fman_rtc_disable_interupt(struct rtc_regs *regs, uint32_t mask);
249 uint32_t fman_rtc_get_timer_ctrl(struct rtc_regs *regs);
256 void fman_rtc_set_timer_ctrl(struct rtc_regs *regs, uint32_t val);
264 uint32_t fman_rtc_get_frequency_compensation(struct rtc_regs *regs);
271 void fman_rtc_set_frequency_compensation(struct rtc_regs *regs, uint32_t val);
280 uint64_t fman_rtc_get_trigger_stamp(struct rtc_regs *regs, int id);
288 void fman_rtc_set_timer_alarm_l(struct rtc_regs *regs, int index,
297 void fman_rtc_set_timer_alarm(struct rtc_regs *regs, int index, int64_t val);
305 void fman_rtc_set_timer_fiper(struct rtc_regs *regs, int index, uint32_t val);
312 void fman_rtc_set_timer_offset(struct rtc_regs *regs, int64_t val);
320 static inline uint64_t fman_rtc_get_timer(struct rtc_regs *regs)
335 static inline void fman_rtc_set_timer(struct rtc_regs *regs, int64_t val)
348 void fman_rtc_timers_soft_reset(struct rtc_regs *regs);
355 void fman_rtc_clear_external_trigger(struct rtc_regs *regs, int id);
362 void fman_rtc_clear_periodic_pulse(struct rtc_regs *regs, int id);
368 void fman_rtc_enable(struct rtc_regs *regs, bool reset_clock);
376 bool fman_rtc_is_enabled(struct rtc_regs *regs);
382 void fman_rtc_disable(struct rtc_regs *regs);
396 void fman_rtc_init(struct rtc_cfg *cfg, struct rtc_regs *regs, int num_alarms,
407 void fman_rtc_set_alarm(struct rtc_regs *regs, int id, uint32_t val, bool enable);
416 void fman_rtc_set_periodic_pulse(struct rtc_regs *regs, int id, uint32_t val,
426 void fman_rtc_set_ext_trigger(struct rtc_regs *regs, int id, bool enable,