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

Function ti_prcm_read_4

freebsd/arm/ti/ti_prcm.c:214–224  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 return (0);
213}
214int
215ti_prcm_read_4(device_t dev, bus_addr_t addr, uint32_t *val)
216{
217 struct ti_prcm_softc *sc;
218
219 sc = device_get_softc(dev);
220
221 *val = bus_space_read_4(sc->bst, sc->bsh, addr);
222 DPRINTF(sc->dev, "offset=%lx Read %x\n", addr, *val);
223 return (0);
224}
225
226int
227ti_prcm_modify_4(device_t dev, bus_addr_t addr, uint32_t clr, uint32_t set)

Callers 2

omap4_prcm_resetFunction · 0.85
ti_prm_read_4Function · 0.85

Calls 2

device_get_softcFunction · 0.85
bus_space_read_4Function · 0.85

Tested by

no test coverage detected