* ti_sdma_read_4 - reads a 32-bit value from one of the DMA registers * @sc: DMA device context * @off: The offset of a register from the DMA register address range * * * RETURNS: * 32-bit value read from the register. */
| 158 | * 32-bit value read from the register. |
| 159 | */ |
| 160 | static inline uint32_t |
| 161 | ti_sdma_read_4(struct ti_sdma_softc *sc, bus_size_t off) |
| 162 | { |
| 163 | return bus_read_4(sc->sc_mem_res, off); |
| 164 | } |
| 165 | |
| 166 | /** |
| 167 | * ti_sdma_write_4 - writes a 32-bit value to one of the DMA registers |
no outgoing calls
no test coverage detected