Searched refs:txcnt (Results 1 – 3 of 3) sorted by relevance
211 uint32_t txcnt; in spi_txrx() local214 txcnt = 0; in spi_txrx()217 txcnt++; in spi_txrx()223 if (i == (bufsz - 1) || txcnt == SPI_FIFO_SIZE) in spi_txrx()227 if (i == (bufsz - 1) || txcnt == SPI_FIFO_SIZE) { in spi_txrx()228 txcnt = 0; in spi_txrx()
156 uint32_t txcnt; member388 uint32_t reg, txcnt; in aw_spi_fill_txfifo() local391 if (sc->txcnt == sc->txlen) in aw_spi_fill_txfifo()396 txcnt = reg >> AW_SPI_FSR_TF_CNT_SHIFT; in aw_spi_fill_txfifo()398 for (i = 0; i < (AW_SPI_FIFO_SIZE - txcnt); i++) { in aw_spi_fill_txfifo()399 AW_SPI_WRITE_1(sc, AW_SPI_TXD, sc->txbuf[sc->txcnt++]); in aw_spi_fill_txfifo()400 if (sc->txcnt == sc->txlen) in aw_spi_fill_txfifo()446 if (sc->txcnt == sc->txlen) in aw_spi_intr()474 sc->txcnt = 0; in aw_spi_xfer()
406 int txcnt, success, retrycnt; in amrr_tx_update_cb() local411 txcnt = stats->nframes; in amrr_tx_update_cb()417 amn->amn_txcnt += txcnt; in amrr_tx_update_cb()