Home
last modified time | relevance | path

Searched refs:reg_width (Results 1 – 1 of 1) sorted by relevance

/components/drivers/reset/
A Dreset-simple.c26 int reg_width = sizeof(rt_uint32_t); in reset_simple_update() local
27 int bank = id / (reg_width * 8); in reset_simple_update()
28 int offset = id % (reg_width * 8); in reset_simple_update()
32 reg = HWREG32(rsts->mmio_base + (bank * reg_width)); in reset_simple_update()
43 HWREG32(rsts->mmio_base + (bank * reg_width)) = reg; in reset_simple_update()
87 int reg_width = sizeof(rt_uint32_t); in reset_simple_status() local
88 int bank = rstc->id / (reg_width * 8); in reset_simple_status()
89 int offset = rstc->id % (reg_width * 8); in reset_simple_status()
92 value = HWREG32(rsts->mmio_base + (bank * reg_width)); in reset_simple_status()

Completed in 2 milliseconds