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

Function ti_prcm_write_4

freebsd/arm/ti/ti_prcm.c:204–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204int
205ti_prcm_write_4(device_t dev, bus_addr_t addr, uint32_t val)
206{
207 struct ti_prcm_softc *sc;
208
209 sc = device_get_softc(dev);
210 DPRINTF(sc->dev, "offset=%lx write %x\n", addr, val);
211 bus_space_write_4(sc->bst, sc->bsh, addr, val);
212 return (0);
213}
214int
215ti_prcm_read_4(device_t dev, bus_addr_t addr, uint32_t *val)
216{

Callers 3

am335x_prcm_resetFunction · 0.85
omap4_prcm_resetFunction · 0.85
ti_prm_write_4Function · 0.85

Calls 2

device_get_softcFunction · 0.85
bus_space_write_4Function · 0.85

Tested by

no test coverage detected