Lines Matching refs:tx_count
47 unsigned tx_count; member
313 hw->tx_count = 0; in au1550_spi_dma_txrxb()
409 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_dma_txrxb()
439 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch); in au1550_spi_dma_irq_callback()
461 hw->tx_count = hw->len; in au1550_spi_dma_irq_callback()
489 hw->tx_count += (size) / 8; \
490 if (hw->tx_count >= hw->len) \
511 hw->tx_count = 0; in au1550_spi_pio_txrxb()
518 while (hw->tx_count < hw->len) { in au1550_spi_pio_txrxb()
522 if (hw->tx_count >= hw->len) { in au1550_spi_pio_txrxb()
543 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_pio_txrxb()
598 if (!(stat & PSC_SPISTAT_TF) && hw->tx_count < hw->len) in au1550_spi_pio_irq_callback()