Lines Matching refs:tx_count
56 unsigned tx_count; member
323 hw->tx_count = 0; in au1550_spi_dma_txrxb()
419 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_dma_txrxb()
449 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch); in au1550_spi_dma_irq_callback()
471 hw->tx_count = hw->len; in au1550_spi_dma_irq_callback()
499 hw->tx_count += (size) / 8; \
500 if (hw->tx_count >= hw->len) \
521 hw->tx_count = 0; in au1550_spi_pio_txrxb()
528 while (hw->tx_count < hw->len) { in au1550_spi_pio_txrxb()
532 if (hw->tx_count >= hw->len) { in au1550_spi_pio_txrxb()
553 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_pio_txrxb()
608 if (!(stat & PSC_SPISTAT_TF) && hw->tx_count < hw->len) in au1550_spi_pio_irq_callback()