Lines Matching refs:tx
186 const void *tx; member
251 tx_left = (rs->tx_end - rs->tx) / rs->n_bytes; in tx_max()
350 txw = *(u8 *)(rs->tx); in rockchip_spi_pio_writer()
352 txw = *(u16 *)(rs->tx); in rockchip_spi_pio_writer()
355 rs->tx += rs->n_bytes; in rockchip_spi_pio_writer()
379 if (rs->tx) { in rockchip_spi_pio_transfer()
380 remain = rs->tx_end - rs->tx; in rockchip_spi_pio_transfer()
393 if (rs->tx) in rockchip_spi_pio_transfer()
465 if (rs->tx) { in rockchip_spi_prepare_dma()
514 if (rs->tx) in rockchip_spi_config()
582 rs->tx = xfer->tx_buf; in rockchip_spi_transfer_one()
583 rs->tx_end = rs->tx + xfer->len; in rockchip_spi_transfer_one()
591 if (rs->tx && rs->rx) in rockchip_spi_transfer_one()
593 else if (rs->tx) in rockchip_spi_transfer_one()