Lines Matching refs:tx
186 const void *tx; member
251 tx_left = (rs->tx_end - rs->tx) / rs->n_bytes; in tx_max()
355 txw = *(u8 *)(rs->tx); in rockchip_spi_pio_writer()
357 txw = *(u16 *)(rs->tx); in rockchip_spi_pio_writer()
360 rs->tx += rs->n_bytes; in rockchip_spi_pio_writer()
384 if (rs->tx) { in rockchip_spi_pio_transfer()
385 remain = rs->tx_end - rs->tx; in rockchip_spi_pio_transfer()
398 if (rs->tx) in rockchip_spi_pio_transfer()
470 if (rs->tx) { in rockchip_spi_prepare_dma()
519 if (rs->tx) in rockchip_spi_config()
587 rs->tx = xfer->tx_buf; in rockchip_spi_transfer_one()
588 rs->tx_end = rs->tx + xfer->len; in rockchip_spi_transfer_one()
596 if (rs->tx && rs->rx) in rockchip_spi_transfer_one()
598 else if (rs->tx) in rockchip_spi_transfer_one()