MCPcopy Create free account
hub / github.com/F-Stack/f-stack / omap4_prcm_reset

Function omap4_prcm_reset

freebsd/arm/ti/ti_prcm.c:335–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333#define PRM_RSTCTRL_RESET 0x2
334
335static void
336omap4_prcm_reset(void)
337{
338 uint32_t reg;
339
340 ti_prcm_read_4(ti_prcm_sc->dev, PRM_RSTCTRL, &reg);
341 reg = reg | PRM_RSTCTRL_RESET;
342 ti_prcm_write_4(ti_prcm_sc->dev, PRM_RSTCTRL, reg);
343 ti_prcm_read_4(ti_prcm_sc->dev, PRM_RSTCTRL, &reg);
344}

Callers

nothing calls this directly

Calls 2

ti_prcm_read_4Function · 0.85
ti_prcm_write_4Function · 0.85

Tested by

no test coverage detected