Lines Matching refs:regs
24 uintptr_t regs; member
36 volatile uintptr_t regs = cfg->regs; in ot_aontimer_setup() local
38 sys_write32(0, regs + OT_REG_WDOG_COUNT_OFFSET); in ot_aontimer_setup()
39 sys_write32(1, regs + OT_REG_WDOG_CTRL_OFFSET); in ot_aontimer_setup()
42 (void) sys_read32(regs + OT_REG_WDOG_CTRL_OFFSET); in ot_aontimer_setup()
43 sys_write32(0, regs + OT_REG_WDOG_REGWEN_OFFSET); in ot_aontimer_setup()
51 volatile uintptr_t regs = cfg->regs; in ot_aontimer_disable() local
53 if (!sys_read32(regs + OT_REG_WDOG_REGWEN_OFFSET)) { in ot_aontimer_disable()
58 uint32_t ctrl_val = sys_read32(regs + OT_REG_WDOG_CTRL_OFFSET); in ot_aontimer_disable()
63 sys_write32(ctrl_val & ~BIT(0), regs + OT_REG_WDOG_CTRL_OFFSET); in ot_aontimer_disable()
90 volatile uintptr_t reg_base = dev_cfg->regs; in ot_aontimer_install_timeout()
166 volatile uintptr_t regs = cfg->regs; in ot_aontimer_feed() local
168 sys_write32(0, regs + OT_REG_WDOG_COUNT_OFFSET); in ot_aontimer_feed()
171 sys_write32(BIT(1), regs + OT_REG_INTR_STATE_OFFSET); in ot_aontimer_feed()
179 volatile uintptr_t regs = cfg->regs; in wdt_ot_isr() local
186 sys_write32(BIT(1), regs + OT_REG_INTR_STATE_OFFSET); in wdt_ot_isr()
203 .regs = (volatile uintptr_t) DT_INST_REG_ADDR(0),