Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/athk/ath10k/
H A Dbmi.c163 u32 rxlen; in ath10k_bmi_read_memory() local
175 rxlen = min_t(u32, length, BMI_MAX_DATA_SIZE); in ath10k_bmi_read_memory()
179 cmd.read_mem.len = __cpu_to_le32(rxlen); in ath10k_bmi_read_memory()
182 &resp, &rxlen); in ath10k_bmi_read_memory()
189 memcpy(buffer, resp.read_mem.payload, rxlen); in ath10k_bmi_read_memory()
190 address += rxlen; in ath10k_bmi_read_memory()
191 buffer += rxlen; in ath10k_bmi_read_memory()
192 length -= rxlen; in ath10k_bmi_read_memory()
/freebsd/sys/dev/spibus/controller/allwinner/
H A Daw_spi.c153 uint32_t rxlen; member
408 if (sc->rxcnt == sc->rxlen) in aw_spi_read_rxfifo()
416 if (sc->rxcnt < sc->rxlen) in aw_spi_read_rxfifo()
462 aw_spi_xfer(struct aw_spi_softc *sc, void *rxbuf, void *txbuf, uint32_t txlen, uint32_t rxlen) in aw_spi_xfer() argument
472 sc->rxlen = rxlen; in aw_spi_xfer()
/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c118 uint32_t rxlen; member
213 while (sc->rxidx < sc->rxlen && in rk_spi_empty_rxfifo()
243 sc->rxlen = len; in rk_spi_xfer_buf()
262 if (sc->rxidx != sc->rxlen || sc->txidx != sc->txlen) in rk_spi_xfer_buf()
/freebsd/sys/arm/freescale/imx/
H A Dimx_spi.c136 uint32_t rxlen; member
276 while (sc->rxidx < sc->rxlen && (RD4(sc, ECSPI_STATREG) & SREG_RR)) { in spi_empty_rxfifo()
386 sc->rxlen = len; in spi_xfer_buf()
401 if (sc->rxidx != sc->rxlen || sc->txidx != sc->txlen) in spi_xfer_buf()
/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()
/freebsd/sys/dev/msk/
H A Dif_msk.c3155 int cons, rxlen; in msk_rxeof() local
3163 rxlen = status >> 16; in msk_rxeof()
3166 rxlen -= ETHER_VLAN_ENCAP_LEN; in msk_rxeof()
3180 ((status & GMR_FS_RX_OK) == 0) || (rxlen != len)) { in msk_rxeof()
3231 int cons, rxlen; in msk_jumbo_rxeof() local
3239 rxlen = status >> 16; in msk_jumbo_rxeof()
3242 rxlen -= ETHER_VLAN_ENCAP_LEN; in msk_jumbo_rxeof()
3245 ((status & GMR_FS_RX_OK) == 0) || (rxlen != len)) { in msk_jumbo_rxeof()