Lines Matching defs:regs

59 static inline uint32_t btimer_fast_idx(struct mec_btmr_regs *regs)  in btimer_fast_idx()
98 int mec_hal_btimer_init(struct mec_btmr_regs *regs, uint32_t freq_div, in mec_hal_btimer_init()
138 int mec_hal_btimer_has_counter32(struct mec_btmr_regs *regs) in mec_hal_btimer_has_counter32()
151 int mec_hal_btimer_reset(struct mec_btmr_regs *regs, uint32_t flags) in mec_hal_btimer_reset()
178 bool mec_hal_btimer_is_enabled(struct mec_btmr_regs *regs) in mec_hal_btimer_is_enabled()
187 uint32_t mec_hal_btimer_freq(struct mec_btmr_regs *regs) in mec_hal_btimer_freq()
199 int mec_hal_btimer_girq_ctrl(struct mec_btmr_regs *regs, uint8_t enable) in mec_hal_btimer_girq_ctrl()
212 int mec_hal_btimer_girq_status_clr(struct mec_btmr_regs *regs) in mec_hal_btimer_girq_status_clr()
225 void mec_hal_btimer_pre_and_reload(struct mec_btmr_regs *regs, uint32_t preload, in mec_hal_btimer_pre_and_reload()
240 void mec_hal_btimer_start_load(struct mec_btmr_regs *regs, uint32_t initial_count, in mec_hal_btimer_start_load()
271 bool mec_hal_btimer_is_started(struct mec_btmr_regs *regs) in mec_hal_btimer_is_started()
282 bool mec_hal_btimer_is_counting_up(struct mec_btmr_regs *regs) in mec_hal_btimer_is_counting_up()
291 void mec_hal_btimer_auto_restart(struct mec_btmr_regs *regs, uint8_t enable) in mec_hal_btimer_auto_restart()
300 bool mec_hal_btimer_is_auto_restart(struct mec_btmr_regs *regs) in mec_hal_btimer_is_auto_restart()
311 void mec_hal_btimer_reload_run(struct mec_btmr_regs *regs, uint32_t new_count) in mec_hal_btimer_reload_run()
318 void mec_hal_btimer_intr_clr(struct mec_btmr_regs *regs) in mec_hal_btimer_intr_clr()
326 void mec_hal_btimer_intr_en(struct mec_btmr_regs *regs, uint8_t enable) in mec_hal_btimer_intr_en()
347 struct mec_btmr_regs *regs = (struct mec_btmr_regs *)btimer_instances[i].base_addr; in mec_hal_btimer_pm_save_disable() local
357 struct mec_btmr_regs *regs = (struct mec_btmr_regs *)btimer_instances[i].base_addr; in mec_hal_btimer_pm_restore() local