Lines Matching refs:rx_buf
91 void *rx_buf; member
183 data, (unsigned)(priv->rx_buf), size); in zynq_qspi_read_data()
185 if (priv->rx_buf) { in zynq_qspi_read_data()
188 *((u8 *)priv->rx_buf) = data; in zynq_qspi_read_data()
189 priv->rx_buf += 1; in zynq_qspi_read_data()
192 *((u16 *)priv->rx_buf) = data; in zynq_qspi_read_data()
193 priv->rx_buf += 2; in zynq_qspi_read_data()
196 *((u16 *)priv->rx_buf) = data; in zynq_qspi_read_data()
197 priv->rx_buf += 2; in zynq_qspi_read_data()
199 *((u8 *)priv->rx_buf) = byte3; in zynq_qspi_read_data()
200 priv->rx_buf += 1; in zynq_qspi_read_data()
204 memcpy(priv->rx_buf, &data, size); in zynq_qspi_read_data()
205 priv->rx_buf += 4; in zynq_qspi_read_data()
315 !priv->rx_buf) in zynq_qspi_fill_tx_fifo()
319 offset = (priv->rx_buf) ? offsets[0] : offsets[len]; in zynq_qspi_fill_tx_fifo()
378 if (priv->rx_buf) { in zynq_qspi_irq_poll()
379 memcpy(priv->rx_buf, &data, 4); in zynq_qspi_irq_poll()
380 priv->rx_buf += 4; in zynq_qspi_irq_poll()
462 if (!priv->tx_buf && !priv->rx_buf && priv->len) { in zynq_qspi_transfer()
523 priv->rx_buf = din; in zynq_qspi_xfer()