Home
last modified time | relevance | path

Searched refs:txlen (Results 1 – 6 of 6) sorted by relevance

/freebsd-14.2/sys/contrib/dev/athk/ath10k/
H A Dbmi.c271 u32 txlen; in ath10k_bmi_write_memory() local
287 txlen = roundup(txlen, 4); in ath10k_bmi_write_memory()
302 txlen = min(txlen, length); in ath10k_bmi_write_memory()
304 address += txlen; in ath10k_bmi_write_memory()
305 buffer += txlen; in ath10k_bmi_write_memory()
359 u32 txlen; in ath10k_bmi_lz_data_large() local
393 buffer += txlen; in ath10k_bmi_lz_data_large()
394 length -= txlen; in ath10k_bmi_lz_data_large()
411 u32 txlen; in ath10k_bmi_lz_data() local
438 buffer += txlen; in ath10k_bmi_lz_data()
[all …]
/freebsd-14.2/sys/arm/allwinner/
H A Daw_spi.c153 uint32_t txlen; member
387 if (sc->txcnt == sc->txlen) in aw_spi_fill_txfifo()
396 if (sc->txcnt == sc->txlen) in aw_spi_fill_txfifo()
443 if (sc->txcnt == sc->txlen) in aw_spi_intr()
464 aw_spi_xfer(struct aw_spi_softc *sc, void *rxbuf, void *txbuf, uint32_t txlen, uint32_t rxlen) in aw_spi_xfer() argument
473 sc->txlen = txlen; in aw_spi_xfer()
498 AW_SPI_WRITE_4(sc, AW_SPI_MBC, txlen); in aw_spi_xfer()
499 AW_SPI_WRITE_4(sc, AW_SPI_MTC, txlen); in aw_spi_xfer()
500 AW_SPI_WRITE_4(sc, AW_SPI_BCC, txlen); in aw_spi_xfer()
/freebsd-14.2/sys/riscv/sifive/
H A Dsifive_spi.c184 uint32_t txlen, uint32_t rxlen) in sfspi_xfer_buf() argument
188 KASSERT(txlen == rxlen, ("TX and RX lengths must be equal")); in sfspi_xfer_buf()
192 while (txlen) { in sfspi_xfer_buf()
193 bytes = (txlen > SFSPI_FIFO_DEPTH) ? SFSPI_FIFO_DEPTH : txlen; in sfspi_xfer_buf()
198 txlen -= bytes; in sfspi_xfer_buf()
/freebsd-14.2/sys/arm64/rockchip/
H A Drk_spi.c118 uint32_t txlen; member
226 while (sc->txidx < sc->txlen && txlevel < sc->fifo_size) { in rk_spi_fill_txfifo()
231 if (sc->txidx != sc->txlen) in rk_spi_fill_txfifo()
247 sc->txlen = len; in rk_spi_xfer_buf()
263 if (sc->rxidx != sc->rxlen || sc->txidx != sc->txlen) in rk_spi_xfer_buf()
394 if (sc->txidx == sc->txlen) { in rk_spi_intr()
/freebsd-14.2/sys/arm/freescale/imx/
H A Dimx_spi.c139 uint32_t txlen; member
286 while (sc->txidx < sc->txlen && sc->fifocnt < FIFO_SIZE) { in spi_fill_txfifo()
295 if (sc->txidx == sc->txlen) in spi_fill_txfifo()
342 if (sc->txidx == sc->txlen) { in spi_intr()
389 sc->txlen = len; in spi_xfer_buf()
401 if (sc->rxidx != sc->rxlen || sc->txidx != sc->txlen) in spi_xfer_buf()
/freebsd-14.2/contrib/bearssl/src/int/
H A Di62_modpow2.c260 size_t txlen; in br_i62_modpow_opt() local
262 txlen = mw31num + 1; in br_i62_modpow_opt()
263 if (twlen < txlen) { in br_i62_modpow_opt()
267 (uint32_t *)tmp, (uint32_t *)tmp + txlen); in br_i62_modpow_opt()