* pl310_read4 - read a 32-bit value from the PL310 registers * pl310_write4 - write a 32-bit value from the PL310 registers * @off: byte offset within the register set to read from * @val: the value to write into the register * * * LOCKING: * None * * RETURNS: * nothing in case of write function, if read function returns the value read. */
| 166 | * nothing in case of write function, if read function returns the value read. |
| 167 | */ |
| 168 | static __inline uint32_t |
| 169 | pl310_read4(struct pl310_softc *sc, bus_size_t off) |
| 170 | { |
| 171 | |
| 172 | return bus_read_4(sc->sc_mem_res, off); |
| 173 | } |
| 174 | |
| 175 | static __inline void |
| 176 | pl310_write4(struct pl310_softc *sc, bus_size_t off, uint32_t val) |
no outgoing calls
no test coverage detected