Home
last modified time | relevance | path

Searched refs:rxbytes (Results 1 – 1 of 1) sorted by relevance

/u-boot/drivers/spi/
A Dxilinx_spi.c188 static u32 xilinx_spi_read_rxfifo(struct udevice *bus, u8 *rxp, u32 rxbytes) in xilinx_spi_read_rxfifo() argument
195 while (rxbytes && !(readl(&regs->spisr) & SPISR_RX_EMPTY)) { in xilinx_spi_read_rxfifo()
200 rxbytes--; in xilinx_spi_read_rxfifo()
219 u32 rxbytes = bytes; in xilinx_spi_startup_block() local
230 xilinx_spi_read_rxfifo(bus, rxp, rxbytes); in xilinx_spi_startup_block()
253 u32 rxbytes = bytes; in xilinx_spi_xfer() local
281 while (txbytes && rxbytes) { in xilinx_spi_xfer()
297 count = xilinx_spi_read_rxfifo(bus, rxp, rxbytes); in xilinx_spi_xfer()
298 rxbytes -= count; in xilinx_spi_xfer()
301 debug("rxbytes:0x%x rxp:0x%p\n", rxbytes, rxp); in xilinx_spi_xfer()

Completed in 3 milliseconds