Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/athk/ath10k/
H A Dbmi.c271 u32 txlen; in ath10k_bmi_write_memory() local
283 txlen = min(length, BMI_MAX_DATA_SIZE - hdrlen); in ath10k_bmi_write_memory()
286 memcpy(cmd.write_mem.payload, buffer, txlen); in ath10k_bmi_write_memory()
287 txlen = roundup(txlen, 4); in ath10k_bmi_write_memory()
291 cmd.write_mem.len = __cpu_to_le32(txlen); in ath10k_bmi_write_memory()
293 ret = ath10k_hif_exchange_bmi_msg(ar, &cmd, hdrlen + txlen, 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()
306 length -= txlen; in ath10k_bmi_write_memory()
[all …]
/freebsd/sys/dev/spibus/controller/allwinner/
H A Daw_spi.c152 uint32_t txlen; member
385 if (sc->txcnt == sc->txlen) in aw_spi_fill_txfifo()
394 if (sc->txcnt == sc->txlen) in aw_spi_fill_txfifo()
441 if (sc->txcnt == sc->txlen) in aw_spi_intr()
462 aw_spi_xfer(struct aw_spi_softc *sc, void *rxbuf, void *txbuf, uint32_t txlen, uint32_t rxlen) in aw_spi_xfer() argument
471 sc->txlen = txlen; in aw_spi_xfer()
496 AW_SPI_WRITE_4(sc, AW_SPI_MBC, txlen); in aw_spi_xfer()
497 AW_SPI_WRITE_4(sc, AW_SPI_MTC, txlen); in aw_spi_xfer()
498 AW_SPI_WRITE_4(sc, AW_SPI_BCC, txlen); in aw_spi_xfer()
/freebsd/sys/riscv/sifive/
H A Dsifive_spi.c183 uint32_t txlen, uint32_t rxlen) in sfspi_xfer_buf() argument
187 KASSERT(txlen == rxlen, ("TX and RX lengths must be equal")); in sfspi_xfer_buf()
191 while (txlen) { in sfspi_xfer_buf()
192 bytes = (txlen > SFSPI_FIFO_DEPTH) ? SFSPI_FIFO_DEPTH : txlen; in sfspi_xfer_buf()
197 txlen -= bytes; in sfspi_xfer_buf()
/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c117 uint32_t txlen; member
225 while (sc->txidx < sc->txlen && txlevel < sc->fifo_size) { in rk_spi_fill_txfifo()
230 if (sc->txidx != sc->txlen) in rk_spi_fill_txfifo()
246 sc->txlen = len; in rk_spi_xfer_buf()
262 if (sc->rxidx != sc->rxlen || sc->txidx != sc->txlen) in rk_spi_xfer_buf()
392 if (sc->txidx == sc->txlen) { in rk_spi_intr()
/freebsd/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/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()