Searched refs:txcnt (Results 1 – 3 of 3) sorted by relevance
/freebsd/sys/arm/freescale/vybrid/ |
H A D | vf_spi.c | 208 uint32_t txcnt; in spi_txrx() local 211 txcnt = 0; in spi_txrx() 214 txcnt++; in spi_txrx() 220 if (i == (bufsz - 1) || txcnt == SPI_FIFO_SIZE) in spi_txrx() 224 if (i == (bufsz - 1) || txcnt == SPI_FIFO_SIZE) { in spi_txrx() 225 txcnt = 0; in spi_txrx()
|
/freebsd/sys/dev/spibus/controller/allwinner/ |
H A D | aw_spi.c | 151 uint32_t txcnt; member 383 uint32_t reg, txcnt; in aw_spi_fill_txfifo() local 386 if (sc->txcnt == sc->txlen) in aw_spi_fill_txfifo() 391 txcnt = reg >> AW_SPI_FSR_TF_CNT_SHIFT; in aw_spi_fill_txfifo() 393 for (i = 0; i < (AW_SPI_FIFO_SIZE - txcnt); i++) { in aw_spi_fill_txfifo() 394 AW_SPI_WRITE_1(sc, AW_SPI_TXD, sc->txbuf[sc->txcnt++]); in aw_spi_fill_txfifo() 395 if (sc->txcnt == sc->txlen) in aw_spi_fill_txfifo() 442 if (sc->txcnt == sc->txlen) in aw_spi_intr() 471 sc->txcnt = 0; in aw_spi_xfer()
|
/freebsd/sys/net80211/ |
H A D | ieee80211_amrr.c | 254 KASSERT(is_enough(amn), ("txcnt %d", amn->amn_txcnt)); in amrr_update() 267 "AMRR: current rate %d, txcnt=%d, retrycnt=%d", in amrr_update() 290 "AMRR increasing rate %d (txcnt=%d retrycnt=%d)", in amrr_update() 313 "AMRR decreasing rate %d (txcnt=%d retrycnt=%d)", in amrr_update() 405 int txcnt, success, retrycnt; in amrr_tx_update_cb() 410 txcnt = stats->nframes; in amrr_tx_update_cb() 416 amn->amn_txcnt += txcnt; in amrr_tx_update_cb() 508 sbuf_printf(s, "txcnt: %u\n", amn->amn_txcnt); in amrr_node_stats() 404 int txcnt, success, retrycnt; amrr_tx_update_cb() local
|