Lines Matching refs:tx_count
56 unsigned tx_count; member
322 hw->tx_count = 0; in au1550_spi_dma_txrxb()
418 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_dma_txrxb()
448 hw->tx_count = hw->len - au1xxx_get_dma_residue(hw->dma_tx_ch); in au1550_spi_dma_irq_callback()
470 hw->tx_count = hw->len; in au1550_spi_dma_irq_callback()
498 hw->tx_count += (size) / 8; \
499 if (hw->tx_count >= hw->len) \
520 hw->tx_count = 0; in au1550_spi_pio_txrxb()
527 while (hw->tx_count < hw->len) { in au1550_spi_pio_txrxb()
531 if (hw->tx_count >= hw->len) { in au1550_spi_pio_txrxb()
552 return hw->rx_count < hw->tx_count ? hw->rx_count : hw->tx_count; in au1550_spi_pio_txrxb()
607 if (!(stat & PSC_SPISTAT_TF) && hw->tx_count < hw->len) in au1550_spi_pio_irq_callback()