Lines Matching refs:size
177 * - Set the size of the word to be transferred as 32 bit
243 * @size: Number of bytes to be read (1..4)
245 static void zynq_qspi_rxfifo_op(struct zynq_qspi *xqspi, unsigned int size)
252 memcpy(xqspi->rxbuf, ((u8 *)&data) + 4 - size, size);
253 xqspi->rxbuf += size;
256 xqspi->rx_bytes -= size;
264 * @size: Number of bytes to be written (1..4)
266 static void zynq_qspi_txfifo_op(struct zynq_qspi *xqspi, unsigned int size)
275 memcpy(&data, xqspi->txbuf, size);
276 xqspi->txbuf += size;
281 xqspi->tx_bytes -= size;
282 zynq_qspi_write(xqspi, offset[size - 1], data);