Home
last modified time | relevance | path

Searched refs:sc_rxbuf (Results 1 – 22 of 22) sorted by relevance

/src/sys/dev/uart/
H A Duart_bus.h109 uint16_t *sc_rxbuf; member
183 xc = sc->sc_rxbuf[ptr++]; in uart_rx_get()
207 return ((ptr == sc->sc_rxput) ? -1 : sc->sc_rxbuf[ptr]); in uart_rx_peek()
218 sc->sc_rxbuf[sc->sc_rxput] = xc; in uart_rx_put()
H A Duart_core.c329 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in uart_intr_overrun()
353 kdb_alt_break(sc->sc_rxbuf[rxp++], &sc->sc_altbrk); in uart_intr_rxready()
636 sc->sc_rxbuf = malloc(sc->sc_rxbufsz * sizeof(*sc->sc_rxbuf), in uart_bus_attach()
764 free(sc->sc_rxbuf, M_UART); in uart_bus_attach()
798 free(sc->sc_rxbuf, M_UART); in uart_bus_detach()
H A Duart_dev_lowrisc.c330 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in lowrisc_uart_bus_receive()
H A Duart_dev_mu.c441 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in uart_mu_bus_receive()
H A Duart_dev_msm.c415 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in msm_bus_receive()
H A Duart_dev_pl011.c592 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in uart_pl011_bus_receive()
H A Duart_dev_mvebu.c506 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in uart_mvebu_bus_receive()
H A Duart_dev_imx.c592 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in imx_uart_bus_receive()
H A Duart_dev_z8530.c540 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in z8530_bus_receive()
H A Duart_dev_ns8250.c1073 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in ns8250_bus_receive()
/src/stand/uboot/
H A Dnet.c77 uint8_t sc_rxbuf[ETHER_MAX_LEN]; member
285 len = sizeof(sc->sc_rxbuf); in net_get()
287 err = ub_dev_recv(sc->sc_handle, sc->sc_rxbuf, len, &rlen); in net_get()
305 memcpy(buf + ETHER_ALIGN, sc->sc_rxbuf, rlen); in net_get()
/src/sys/dev/ath/
H A Dif_ath_rx.c1119 bf = TAILQ_FIRST(&sc->sc_rxbuf); in ath_rx_proc()
1139 TAILQ_REMOVE(&sc->sc_rxbuf, bf, bf_list); in ath_rx_proc()
1177 TAILQ_REMOVE(&sc->sc_rxbuf, bf, bf_list); in ath_rx_proc()
1196 TAILQ_INSERT_TAIL(&sc->sc_rxbuf, in ath_rx_proc()
1261 bf = TAILQ_FIRST(&sc->sc_rxbuf); in ath_rx_proc()
1366 TAILQ_INSERT_TAIL(&sc->sc_rxbuf, bf, bf_list); in ath_legacy_flush_rxholdbf()
1376 TAILQ_INSERT_TAIL(&sc->sc_rxbuf, bf, bf_list); in ath_legacy_flush_rxholdbf()
1419 TAILQ_FOREACH(bf, &sc->sc_rxbuf, bf_list) { in ath_legacy_stoprecv()
1467 TAILQ_FOREACH(bf, &sc->sc_rxbuf, bf_list) { in ath_legacy_startrecv()
1477 bf = TAILQ_FIRST(&sc->sc_rxbuf); in ath_legacy_startrecv()
[all …]
H A Dif_ath_rx_edma.c762 bf = TAILQ_FIRST(&sc->sc_rxbuf); in ath_edma_rxbuf_alloc()
771 TAILQ_REMOVE(&sc->sc_rxbuf, bf, bf_list); in ath_edma_rxbuf_alloc()
781 TAILQ_INSERT_TAIL(&sc->sc_rxbuf, bf, bf_list); in ath_edma_rxbuf_alloc()
805 TAILQ_INSERT_TAIL(&sc->sc_rxbuf, bf, bf_list); in ath_edma_rxbuf_free()
977 error = ath_descdma_setup_rx_edma(sc, &sc->sc_rxdma, &sc->sc_rxbuf, in ath_edma_dma_rxsetup()
1006 ath_descdma_cleanup(sc, &sc->sc_rxdma, &sc->sc_rxbuf); in ath_edma_dma_rxteardown()
H A Dif_ath_sysctl.c545 TAILQ_FOREACH(bf, &sc->sc_rxbuf, bf_list) { in ath_sysctl_txagg()
H A Dif_athvar.h742 ath_bufhead sc_rxbuf; /* receive buffer */ member
/src/sys/dev/wtap/
H A Dif_wtap.c485 STAILQ_INSERT_TAIL(&sc->sc_rxbuf, bf, bf_list); in wtap_inject()
505 bf = STAILQ_FIRST(&sc->sc_rxbuf); in wtap_rx_proc()
510 STAILQ_REMOVE_HEAD(&sc->sc_rxbuf, bf_list); in wtap_rx_proc()
639 STAILQ_INIT(&sc->sc_rxbuf); in wtap_attach()
H A Dif_wtapvar.h113 wtap_bufhead sc_rxbuf; /* receive buffer */ member
/src/sys/dev/mwl/
H A Dif_mwlvar.h312 mwl_rxbufhead sc_rxbuf; /* rx buffers */ member
H A Dif_mwl.c2172 STAILQ_INIT(&sc->sc_rxbuf); in mwl_rxdma_setup()
2180 STAILQ_INSERT_TAIL(&sc->sc_rxbuf, bf, bf_list); in mwl_rxdma_setup()
2634 bf = STAILQ_FIRST(&sc->sc_rxbuf); in mwl_rx_proc()
3733 STAILQ_FOREACH(bf, &sc->sc_rxbuf, bf_list) { in mwl_startrecv()
3750 htole32(STAILQ_FIRST(&sc->sc_rxbuf)->bf_daddr); in mwl_startrecv()
/src/sys/arm/freescale/vybrid/
H A Dvf_uart.c450 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in vf_uart_bus_receive()
/src/sys/riscv/sifive/
H A Dsifive_uart.c435 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in sfuart_bus_receive()
/src/sys/arm64/apple/
H A Dexynos_uart.c450 sc->sc_rxbuf[sc->sc_rxput] = UART_STAT_OVERRUN; in exynos4210_bus_receive()