Home
last modified time | relevance | path

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

/freebsd-14.2/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-14.2/sys/arm/allwinner/
H A Daw_spi.c154 uint32_t rxlen; member
410 if (sc->rxcnt == sc->rxlen) in aw_spi_read_rxfifo()
418 if (sc->rxcnt < sc->rxlen) in aw_spi_read_rxfifo()
464 aw_spi_xfer(struct aw_spi_softc *sc, void *rxbuf, void *txbuf, uint32_t txlen, uint32_t rxlen) in aw_spi_xfer() argument
474 sc->rxlen = rxlen; in aw_spi_xfer()
/freebsd-14.2/sys/arm64/rockchip/
H A Drk_spi.c119 uint32_t rxlen; member
214 while (sc->rxidx < sc->rxlen && in rk_spi_empty_rxfifo()
244 sc->rxlen = len; in rk_spi_xfer_buf()
263 if (sc->rxidx != sc->rxlen || sc->txidx != sc->txlen) in rk_spi_xfer_buf()
/freebsd-14.2/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-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()
/freebsd-14.2/sys/dev/msk/
H A Dif_msk.c3175 int cons, rxlen; in msk_rxeof() local
3183 rxlen = status >> 16; in msk_rxeof()
3186 rxlen -= ETHER_VLAN_ENCAP_LEN; in msk_rxeof()
3200 ((status & GMR_FS_RX_OK) == 0) || (rxlen != len)) { in msk_rxeof()
3251 int cons, rxlen; in msk_jumbo_rxeof() local
3259 rxlen = status >> 16; in msk_jumbo_rxeof()
3262 rxlen -= ETHER_VLAN_ENCAP_LEN; in msk_jumbo_rxeof()
3265 ((status & GMR_FS_RX_OK) == 0) || (rxlen != len)) { in msk_jumbo_rxeof()