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

Function ti_sdma_read_4

freebsd/arm/ti/ti_sdma.c:160–164  ·  view source on GitHub ↗

* 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. */

Source from the content-addressed store, hash-verified

158 * 32-bit value read from the register.
159 */
160static inline uint32_t
161ti_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

Callers 7

ti_sdma_intrFunction · 0.85
ti_sdma_start_xferFunction · 0.85
ti_sdma_attachFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected