Home
last modified time | relevance | path

Searched refs:sc_dmat (Results 1 – 20 of 20) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/
H A Dif_rge.c226 sc->sc_dmat = bus_get_dma_tag(sc->sc_dev);
227 bus_dma_tag_create(sc->sc_dmat, 1, 0,
230 &sc->sc_dmat);
296 sc->sc_dmat = pa->pa_dmat;
540 error = bus_dmamap_load_mbuf(sc->sc_dmat, txmap, m, BUS_DMA_NOWAIT);
547 bus_dmamap_load_mbuf(sc->sc_dmat, txmap, m,
557 bus_dmamap_sync(sc->sc_dmat, txmap, 0, txmap->dm_mapsize,
598 bus_dmamap_sync(sc->sc_dmat, q->q_tx.rge_tx_list_map,
967 bus_dmamap_unload(sc->sc_dmat,
977 bus_dmamap_unload(sc->sc_dmat,
[all …]
H A Dif_rgereg.h402 bus_dma_tag_t sc_dmat; member
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/dev/le/
H A Dif_le_pci.c113 bus_dma_tag_t sc_dmat; member
382 &lesc->sc_dmat); in le_pci_attach()
388 error = bus_dmamem_alloc(lesc->sc_dmat, (void **)&sc->sc_mem, in le_pci_attach()
396 error = bus_dmamap_load(lesc->sc_dmat, lesc->sc_dmam, sc->sc_mem, in le_pci_attach()
459 bus_dmamap_unload(lesc->sc_dmat, lesc->sc_dmam); in le_pci_attach()
461 bus_dmamem_free(lesc->sc_dmat, sc->sc_mem, lesc->sc_dmam); in le_pci_attach()
463 bus_dma_tag_destroy(lesc->sc_dmat); in le_pci_attach()
488 bus_dmamap_unload(lesc->sc_dmat, lesc->sc_dmam); in le_pci_detach()
489 bus_dmamem_free(lesc->sc_dmat, sc->sc_mem, lesc->sc_dmam); in le_pci_detach()
490 bus_dma_tag_destroy(lesc->sc_dmat); in le_pci_detach()
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_descdma.c288 error = bus_dmamap_create(sc->sc_dmat, BUS_DMA_NOWAIT, in ath_descdma_setup()
365 error = bus_dmamap_create(sc->sc_dmat, BUS_DMA_NOWAIT, in ath_descdma_setup_rx_edma()
413 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, in ath_descdma_cleanup()
415 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_descdma_cleanup()
420 bus_dmamap_destroy(sc->sc_dmat, bf->bf_dmamap); in ath_descdma_cleanup()
H A Dif_ath_beacon.c192 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_beacon_alloc()
212 error = bus_dmamap_load_mbuf_sg(sc->sc_dmat, bf->bf_dmamap, m, in ath_beacon_alloc()
724 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_beacon_generate()
725 error = bus_dmamap_load_mbuf_sg(sc->sc_dmat, bf->bf_dmamap, m, in ath_beacon_generate()
767 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREWRITE); in ath_beacon_generate()
845 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_beacon_start_adhoc()
846 error = bus_dmamap_load_mbuf_sg(sc->sc_dmat, bf->bf_dmamap, m, in ath_beacon_start_adhoc()
857 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREWRITE); in ath_beacon_start_adhoc()
874 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_beacon_return()
898 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_beacon_free()
H A Dif_ath_pci.c321 &sc->sc_dmat)) { in ath_pci_attach()
364 bus_dma_tag_destroy(sc->sc_dmat); in ath_pci_attach()
402 bus_dma_tag_destroy(sc->sc_dmat); in ath_pci_detach()
H A Dif_ath_rx_edma.c461 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, in ath_edma_recv_proc_queue()
488 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_edma_recv_proc_queue()
720 error = bus_dmamap_load_mbuf_sg(sc->sc_dmat, in ath_edma_rxbuf_init()
743 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, in ath_edma_rxbuf_init()
799 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_edma_rxbuf_free()
H A Dif_ath_rx.c273 error = bus_dmamap_load_mbuf_sg(sc->sc_dmat, in ath_legacy_rxbuf_init()
289 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREREAD); in ath_legacy_rxbuf_init()
1183 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_POSTREAD); in ath_rx_proc()
1184 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_rx_proc()
H A Dif_ath_tx.c204 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, in ath_tx_set_retry()
309 error = bus_dmamap_load_mbuf_sg(sc->sc_dmat, bf->bf_dmamap, m0, in ath_tx_dmasetup()
334 error = bus_dmamap_load_mbuf_sg(sc->sc_dmat, bf->bf_dmamap, m0, in ath_tx_dmasetup()
351 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREWRITE); in ath_tx_dmasetup()
486 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREWRITE); in ath_tx_chaindesclist()
724 bus_dmamap_sync(sc->sc_dmat, bf_last->bf_dmamap, in ath_tx_handoff_mcast()
2876 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, in ath_tx_leak_count_update()
H A Dif_ath_tx_edma.c586 bus_dmamap_sync(sc->sc_dmat, bf_last->bf_dmamap, in ath_edma_xmit_handoff_mcast()
H A Dif_ath.c3286 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, in ath_buf_clone()
3288 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_buf_clone()
4944 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, in ath_tx_freebuf()
4946 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in ath_tx_freebuf()
H A Dif_athvar.h600 bus_dma_tag_t sc_dmat; /* bus DMA tag */ member
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl_pci.c188 &sc->sc_dmat)) { in mwl_pci_attach()
205 bus_dma_tag_destroy(sc->sc_dmat); in mwl_pci_attach()
233 bus_dma_tag_destroy(sc->sc_dmat); in mwl_pci_detach()
H A Dif_mwlvar.h253 bus_dma_tag_t sc_dmat; /* bus DMA tag */ member
H A Dif_mwl.c302 sc->sc_io1h, sc->sc_io1t, sc->sc_dmat); in mwl_attach()
2052 error = bus_dmamap_create(sc->sc_dmat, BUS_DMA_NOWAIT, in mwl_txdma_setup()
2075 bus_dmamap_destroy(sc->sc_dmat, bf->bf_dmamap); in mwl_txdma_cleanup()
2121 error = bus_dma_tag_create(sc->sc_dmat, /* parent */ in mwl_rxdma_setup()
2958 error = bus_dmamap_load_mbuf_sg(sc->sc_dmat, bf->bf_dmamap, m0, in mwl_tx_dmasetup()
2987 error = bus_dmamap_load_mbuf_sg(sc->sc_dmat, bf->bf_dmamap, m0, in mwl_tx_dmasetup()
3004 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREWRITE); in mwl_tx_dmasetup()
3394 bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, in mwl_tx_processq()
3396 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in mwl_tx_processq()
3467 bus_dmamap_unload(sc->sc_dmat, bf->bf_dmamap); in mwl_tx_draintxq()
/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/
H A Dglue.c109 bus_dma_tag_t sc_dmat; member
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c603 int err = iwx_dma_contig_alloc(sc->sc_dmat, dram, sec->fws_len, 0); in iwx_ctxt_info_alloc_dma()
765 err = iwx_dma_contig_alloc(sc->sc_dmat, fw_mon, size, 0); in iwx_alloc_fw_monitor_block()
1017 err = iwx_dma_contig_alloc(sc->sc_dmat, &sc->iml_dma, in iwx_ctxt_info_gen3_init()
1910 err = iwx_dma_contig_alloc(sc->sc_dmat, &ring->free_desc_dma, in iwx_alloc_rx_ring()
1924 err = iwx_dma_contig_alloc(sc->sc_dmat, &ring->stat_dma, size, 16); in iwx_alloc_rx_ring()
1936 err = iwx_dma_contig_alloc(sc->sc_dmat, &ring->used_desc_dma, in iwx_alloc_rx_ring()
1948 err = bus_dmamap_create(sc->sc_dmat, IWX_RBUF_SIZE, 1, in iwx_alloc_rx_ring()
1997 bus_dmamap_sync(sc->sc_dmat, ring->stat_dma.map, 0, in iwx_reset_rx_ring()
2004 bus_dmamap_sync(sc->sc_dmat, ring->stat_dma.map, 0, in iwx_reset_rx_ring()
2022 bus_dmamap_sync(sc->sc_dmat, data->map, 0, in iwx_free_rx_ring()
[all …]
H A Dif_iwxvar.h659 bus_dma_tag_t sc_dmat; member
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c1305 err = iwm_dma_contig_alloc(sc->sc_dmat, &ring->free_desc_dma, size, 256); in iwm_alloc_rx_ring()
1314 err = iwm_dma_contig_alloc(sc->sc_dmat, &ring->stat_dma, in iwm_alloc_rx_ring()
1325 err = iwm_dma_contig_alloc(sc->sc_dmat, &ring->used_desc_dma, in iwm_alloc_rx_ring()
1338 err = bus_dmamap_create(sc->sc_dmat, IWM_RBUF_SIZE, 1, in iwm_alloc_rx_ring()
1388 bus_dmamap_sync(sc->sc_dmat, ring->stat_dma.map, 0, in iwm_reset_rx_ring()
1391 bus_dmamap_sync(sc->sc_dmat, ring->stat_dma.map, 0, in iwm_reset_rx_ring()
1414 bus_dmamap_sync(sc->sc_dmat, data->map, 0, in iwm_free_rx_ring()
1416 bus_dmamap_unload(sc->sc_dmat, data->map); in iwm_free_rx_ring()
1421 bus_dmamap_destroy(sc->sc_dmat, data->map); in iwm_free_rx_ring()
1439 err = iwm_dma_contig_alloc(sc->sc_dmat, &ring->desc_dma, size, 256); in iwm_alloc_tx_ring()
[all …]
H A Dif_iwmvar.h508 bus_dma_tag_t sc_dmat; member