Lines Matching refs:rx
135 void *rx; member
399 rxtx_gap = ((priv->rx_end - priv->rx) - (priv->tx_end - priv->tx)) / in tx_max()
408 u32 rx_left = (priv->rx_end - priv->rx) / (priv->bits_per_word >> 3); in rx_max()
444 *(u8 *)(priv->rx) = rxw; in dw_reader()
446 *(u16 *)(priv->rx) = rxw; in dw_reader()
448 priv->rx += priv->bits_per_word >> 3; in dw_reader()
457 } while (priv->rx_end > priv->rx); in poll_transfer()
486 u8 *rx = din; in dw_spi_xfer() local
502 if (rx && tx) in dw_spi_xfer()
504 else if (rx) in dw_spi_xfer()
519 priv->rx = rx; in dw_spi_xfer()
520 priv->rx_end = priv->rx + priv->len; in dw_spi_xfer()
525 dev_dbg(dev, "cr0=%08x rx=%p tx=%p len=%d [bytes]\n", cr0, rx, tx, in dw_spi_xfer()
611 priv->rx = NULL; in dw_spi_exec_op()
621 priv->rx = op->data.buf.in; in dw_spi_exec_op()
622 priv->rx_end = priv->rx + op->data.nbytes; in dw_spi_exec_op()
625 while (priv->rx != priv->rx_end) in dw_spi_exec_op()