| 159 | } |
| 160 | |
| 161 | int |
| 162 | ti_prm_read_4(device_t dev, bus_addr_t addr, uint32_t *val) |
| 163 | { |
| 164 | struct ti_prm_softc *sc; |
| 165 | device_t parent; |
| 166 | |
| 167 | parent = device_get_parent(dev); |
| 168 | sc = device_get_softc(dev); |
| 169 | |
| 170 | ti_prcm_device_lock(parent); |
| 171 | ti_prcm_read_4(parent, addr, val); |
| 172 | ti_prcm_device_unlock(parent); |
| 173 | DPRINTF(sc->dev, "offset=%lx Read %x\n", addr, *val); |
| 174 | return (0); |
| 175 | } |
| 176 | |
| 177 | int |
| 178 | ti_prm_modify_4(device_t dev, bus_addr_t addr, uint32_t clr, uint32_t set) |
nothing calls this directly
no test coverage detected