| 202 | } |
| 203 | |
| 204 | int |
| 205 | ti_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 | } |
| 214 | int |
| 215 | ti_prcm_read_4(device_t dev, bus_addr_t addr, uint32_t *val) |
| 216 | { |
no test coverage detected