/freebsd/sys/dev/rtwn/pci/ |
H A D | rtwn_pci_rx.c | 88 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 D | rtwn_pci_attach.c | 126 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 D | rtwn_pci_var.h | 44 struct rtwn_rx_data rx_data[RTWN_PCI_RX_LIST_COUNT]; member
|
/freebsd/sys/dev/tsec/ |
H A D | if_tsec.c | 219 &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 D | if_tsec.h | 84 } rx_data[TSEC_RX_NUM_DESC]; member
|
/freebsd/sys/dev/spibus/ |
H A D | spigen.c | 197 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 D | spi.h | 33 void *rx_data; member
|
/freebsd/sys/dev/bxe/ |
H A D | ecore_sp.c | 4855 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 D | at45d.c | 483 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 D | mx25l.c | 336 cmd.rx_data = sc->sc_dummybuf; in mx25l_write() 405 cmd.rx_data = data; in mx25l_read()
|
/freebsd/sys/dev/bwi/ |
H A D | if_bwi.c | 1510 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 D | gve_desc.h | 114 uint8_t hdr_off; /* 64-byte-scaled offset into RX_DATA entry */
|
/freebsd/sys/dev/xilinx/ |
H A D | axi_quad_spi.c | 204 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 D | chipc_spi.c | 245 buf_in = (uint8_t *)cmd->rx_data; in chipc_spi_transfer()
|
/freebsd/tools/tools/net80211/wlanstats/ |
H A D | main.c | 110 STAT(rx_data, "%u");
|
H A D | wlanstats.c | 823 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 D | vf_spi.c | 268 spi_txrx(sc, cmd->tx_data, cmd->rx_data, cmd->tx_data_sz, cs); in spi_transfer()
|
/freebsd/sys/riscv/sifive/ |
H A D | sifive_spi.c | 285 err = sfspi_xfer_buf(sc, cmd->rx_data, cmd->tx_data, in sfspi_transfer()
|
/freebsd/sys/powerpc/mpc85xx/ |
H A D | fsl_espi.c | 260 data = (uint8_t *)cmd->rx_data; in fsl_espi_drain_fifo()
|
/freebsd/sys/dev/spibus/controller/rockchip/ |
H A D | rk_spi.c | 442 err = rk_spi_xfer_buf(sc, cmd->rx_data, cmd->tx_data, in rk_spi_transfer()
|
/freebsd/sys/dev/gpio/ |
H A D | gpiospi.c | 361 buf_in = (uint8_t *)cmd->rx_data; in gpio_spi_transfer()
|
/freebsd/sys/contrib/vchiq/interface/vchiq_arm/ |
H A D | vchiq_core.c | 1645 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 D | vchiq_core.h | 444 char *rx_data; member
|
/freebsd/sys/dev/intel/ |
H A D | spi.c | 221 data = (uint8_t *)cmd->rx_data; in intelspi_drain_rx_fifo()
|
/freebsd/sys/arm/xilinx/ |
H A D | zy7_spi.c | 185 *((uint8_t *)sc->cmd->rx_data + in zy7_spi_read_fifo()
|