Home
last modified time | relevance | path

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

/freebsd/sys/arm/xilinx/
H A Dzy7_qspi.c89 int rx_bytes_rcvd; member
278 nbytes = MIN(4, sc->rx_bytes - sc->rx_bytes_rcvd); in zy7_qspi_read_fifo()
287 if (sc->rx_bytes_rcvd < sc->cmd->rx_cmd_sz) { in zy7_qspi_read_fifo()
290 sc->rx_bytes_rcvd); in zy7_qspi_read_fifo()
291 memcpy((uint8_t *)sc->cmd->rx_cmd + sc->rx_bytes_rcvd, in zy7_qspi_read_fifo()
293 sc->rx_bytes_rcvd += n; in zy7_qspi_read_fifo()
301 (sc->rx_bytes_rcvd - sc->cmd->rx_cmd_sz), in zy7_qspi_read_fifo()
303 sc->rx_bytes_rcvd += nbytes; in zy7_qspi_read_fifo()
306 } while (sc->rx_bytes_rcvd < sc->rx_bytes && in zy7_qspi_read_fifo()
356 if (sc->rx_bytes_rcvd < sc->rx_bytes && in zy7_qspi_intr()
[all …]
H A Dzy7_spi.c79 int rx_bytes_rcvd; member
179 if (sc->rx_bytes_rcvd < sc->cmd->rx_cmd_sz) in zy7_spi_read_fifo()
181 *((uint8_t *)sc->cmd->rx_cmd + sc->rx_bytes_rcvd) = in zy7_spi_read_fifo()
186 (sc->rx_bytes_rcvd - sc->cmd->rx_cmd_sz)) = in zy7_spi_read_fifo()
189 sc->rx_bytes_rcvd++; in zy7_spi_read_fifo()
191 } while (sc->rx_bytes_rcvd < sc->rx_bytes && in zy7_spi_read_fifo()
241 if (sc->rx_bytes_rcvd < sc->rx_bytes && in zy7_spi_intr()
244 if (sc->rx_bytes_rcvd == sc->rx_bytes) in zy7_spi_intr()
279 sc->rx_bytes_rcvd == sc->rx_bytes) { in zy7_spi_intr()
532 sc->rx_bytes_rcvd = 0; in zy7_spi_transfer()