Home
last modified time | relevance | path

Searched full:rx_data (Results 1 – 25 of 33) sorted by relevance

12

/freebsd/sys/dev/rtwn/pci/
H A Drtwn_pci_rx.c88 struct rtwn_rx_data *rx_data = &ring->rx_data[ring->cur]; in rtwn_pci_rx_frame() local
133 bus_dmamap_sync(ring->data_dmat, rx_data->map, BUS_DMASYNC_POSTREAD); in rtwn_pci_rx_frame()
134 bus_dmamap_unload(ring->data_dmat, rx_data->map); in rtwn_pci_rx_frame()
136 error = bus_dmamap_load(ring->data_dmat, rx_data->map, mtod(m1, void *), in rtwn_pci_rx_frame()
137 MJUMPAGESIZE, rtwn_pci_dma_map_addr, &rx_data->paddr, 0); in rtwn_pci_rx_frame()
141 error = bus_dmamap_load(ring->data_dmat, rx_data->map, in rtwn_pci_rx_frame()
142 mtod(rx_data->m, void *), MJUMPAGESIZE, in rtwn_pci_rx_frame()
143 rtwn_pci_dma_map_addr, &rx_data->paddr, BUS_DMA_NOWAIT); in rtwn_pci_rx_frame()
152 m = rx_data->m; in rtwn_pci_rx_frame()
153 rx_data->m = m1; in rtwn_pci_rx_frame()
[all …]
H A Drtwn_pci_attach.c126 struct rtwn_rx_data *rx_data; in rtwn_pci_alloc_rx_list() local
167 rx_data = &rx_ring->rx_data[i]; in rtwn_pci_alloc_rx_list()
168 error = bus_dmamap_create(rx_ring->data_dmat, 0, &rx_data->map); in rtwn_pci_alloc_rx_list()
175 rx_data->m = m_getjcl(M_NOWAIT, MT_DATA, M_PKTHDR, in rtwn_pci_alloc_rx_list()
177 if (rx_data->m == NULL) { in rtwn_pci_alloc_rx_list()
184 error = bus_dmamap_load(rx_ring->data_dmat, rx_data->map, in rtwn_pci_alloc_rx_list()
185 mtod(rx_data->m, void *), MJUMPAGESIZE, in rtwn_pci_alloc_rx_list()
186 rtwn_pci_dma_map_addr, &rx_data->paddr, BUS_DMA_NOWAIT); in rtwn_pci_alloc_rx_list()
193 rtwn_pci_setup_rx_desc(pc, &rx_ring->desc[i], rx_data->paddr, in rtwn_pci_alloc_rx_list()
210 struct rtwn_rx_data *rx_data; in rtwn_pci_reset_rx_list() local
[all …]
H A Drtwn_pci_var.h44 struct rtwn_rx_data rx_data[RTWN_PCI_RX_LIST_COUNT]; member
/freebsd/sys/dev/tsec/
H A Dif_tsec.c219 &sc->rx_data[i].map); in tsec_attach()
225 sc->rx_data[i].mbuf = NULL; in tsec_attach()
230 error = tsec_new_rxbuf(sc->tsec_rx_mtag, sc->rx_data[i].map, in tsec_attach()
231 &sc->rx_data[i].mbuf, &sc->rx_data[i].paddr); in tsec_attach()
504 rx_desc[i].bufptr = sc->rx_data[i].paddr; in tsec_init_locked()
1179 if (sc->rx_data[i].mbuf) { in tsec_free_dma()
1181 bus_dmamap_sync(sc->tsec_rx_mtag, sc->rx_data[i].map, in tsec_free_dma()
1184 sc->rx_data[i].map); in tsec_free_dma()
1187 m_freem(sc->rx_data[i].mbuf); in tsec_free_dma()
1190 if (sc->rx_data[i].map != NULL) in tsec_free_dma()
[all …]
H A Dif_tsec.h84 } rx_data[TSEC_RX_NUM_DESC]; member
/freebsd/sys/dev/spibus/
H A Dspigen.c197 transfer.tx_data = transfer.rx_data = malloc(st->st_data.iov_len, in spigen_transfer()
201 transfer.tx_data = transfer.rx_data = NULL; in spigen_transfer()
215 error = copyout(transfer.rx_data, st->st_data.iov_base, in spigen_transfer()
240 transfer.tx_data = transfer.rx_data = in spigen_transfer_mmapped()
H A Dspi.h33 void *rx_data; member
/freebsd/sys/dev/bxe/
H A Decore_sp.c4855 struct client_init_rx_data *rx_data) in ecore_q_fill_init_pause_data() argument
4858 rx_data->cqe_pause_thr_low = ECORE_CPU_TO_LE16(params->rcq_th_lo); in ecore_q_fill_init_pause_data()
4859 rx_data->cqe_pause_thr_high = ECORE_CPU_TO_LE16(params->rcq_th_hi); in ecore_q_fill_init_pause_data()
4860 rx_data->bd_pause_thr_low = ECORE_CPU_TO_LE16(params->bd_th_lo); in ecore_q_fill_init_pause_data()
4861 rx_data->bd_pause_thr_high = ECORE_CPU_TO_LE16(params->bd_th_hi); in ecore_q_fill_init_pause_data()
4862 rx_data->sge_pause_thr_low = ECORE_CPU_TO_LE16(params->sge_th_lo); in ecore_q_fill_init_pause_data()
4863 rx_data->sge_pause_thr_high = ECORE_CPU_TO_LE16(params->sge_th_hi); in ecore_q_fill_init_pause_data()
4864 rx_data->rx_cos_mask = ECORE_CPU_TO_LE16(params->pri_map); in ecore_q_fill_init_pause_data()
4869 struct client_init_rx_data *rx_data, in ecore_q_fill_init_rx_data() argument
4872 rx_data->tpa_en = ECORE_TEST_BIT(ECORE_Q_FLG_TPA, flags) * in ecore_q_fill_init_rx_data()
[all …]
/freebsd/sys/dev/flash/
H A Dat45d.c483 cmd.rx_data = buf; in at45d_task()
488 cmd.rx_data = sc->dummybuf; in at45d_task()
570 cmd.rx_data = buf; in at45d_task()
H A Dmx25l.c336 cmd.rx_data = sc->sc_dummybuf; in mx25l_write()
405 cmd.rx_data = data; in mx25l_read()
/freebsd/sys/dev/bwi/
H A Dif_bwi.c1510 int i, txrx_error, tx = 0, rx_data = -1; in bwi_intr() local
1625 rx_data = sc->sc_rxeof(sc); in bwi_intr()
1648 if (tx && rx_data > 0) { in bwi_intr()
1655 } else if (rx_data > 0) { in bwi_intr()
1657 } else if (rx_data == 0) { in bwi_intr()
2587 int idx, rx_data = 0; in bwi_rxeof() local
2655 rx_data = 1; in bwi_rxeof()
2676 return rx_data; in bwi_rxeof()
2683 int end_idx, rx_data; in bwi_rxeof32() local
2691 rx_data = bwi_rxeof(sc, end_idx); in bwi_rxeof32()
[all …]
/freebsd/sys/dev/gve/
H A Dgve_desc.h114 uint8_t hdr_off; /* 64-byte-scaled offset into RX_DATA entry */
/freebsd/sys/dev/xilinx/
H A Daxi_quad_spi.c204 spi_txrx(sc, cmd->tx_data, cmd->rx_data, cmd->tx_data_sz, cs); in spi_transfer()
/freebsd/sys/dev/bhnd/cores/chipc/
H A Dchipc_spi.c245 buf_in = (uint8_t *)cmd->rx_data; in chipc_spi_transfer()
/freebsd/tools/tools/net80211/wlanstats/
H A Dmain.c110 STAT(rx_data, "%u");
H A Dwlanstats.c823 case S_INPUT: NSTAT(rx_data); in wlan_get_curstat()
988 case S_INPUT: NSTAT(rx_data); in wlan_get_totstat()
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_spi.c268 spi_txrx(sc, cmd->tx_data, cmd->rx_data, cmd->tx_data_sz, cs); in spi_transfer()
/freebsd/sys/riscv/sifive/
H A Dsifive_spi.c285 err = sfspi_xfer_buf(sc, cmd->rx_data, cmd->tx_data, in sfspi_transfer()
/freebsd/sys/powerpc/mpc85xx/
H A Dfsl_espi.c260 data = (uint8_t *)cmd->rx_data; in fsl_espi_drain_fifo()
/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c442 err = rk_spi_xfer_buf(sc, cmd->rx_data, cmd->tx_data, in rk_spi_transfer()
/freebsd/sys/dev/gpio/
H A Dgpiospi.c361 buf_in = (uint8_t *)cmd->rx_data; in gpio_spi_transfer()
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.c1645 if (!state->rx_data) { in parse_rx_slots()
1651 state->rx_data = (char *)SLOT_DATA_FROM_INDEX(state, in parse_rx_slots()
1662 header = (VCHIQ_HEADER_T *)(state->rx_data + in parse_rx_slots()
2033 state->rx_data = NULL; in parse_rx_slots()
2763 if (data == state->rx_data) in release_service_messages()
3718 (uint32_t)state->rx_data + in vchiq_dump_state()
H A Dvchiq_core.h444 char *rx_data; member
/freebsd/sys/dev/intel/
H A Dspi.c221 data = (uint8_t *)cmd->rx_data; in intelspi_drain_rx_fifo()
/freebsd/sys/arm/xilinx/
H A Dzy7_spi.c185 *((uint8_t *)sc->cmd->rx_data + in zy7_spi_read_fifo()

12