Home
last modified time | relevance | path

Searched refs:data_dmat (Results 1 – 16 of 16) sorted by relevance

/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/pci/
H A Drtwn_pci_attach.c160 MJUMPAGESIZE, 1, MJUMPAGESIZE, 0, NULL, NULL, &rx_ring->data_dmat); in rtwn_pci_alloc_rx_list()
169 error = bus_dmamap_create(rx_ring->data_dmat, 0, &rx_data->map); in rtwn_pci_alloc_rx_list()
185 error = bus_dmamap_load(rx_ring->data_dmat, rx_data->map, in rtwn_pci_alloc_rx_list()
249 bus_dmamap_sync(rx_ring->data_dmat, in rtwn_pci_free_rx_list()
251 bus_dmamap_unload(rx_ring->data_dmat, rx_data->map); in rtwn_pci_free_rx_list()
255 bus_dmamap_destroy(rx_ring->data_dmat, rx_data->map); in rtwn_pci_free_rx_list()
258 if (rx_ring->data_dmat != NULL) { in rtwn_pci_free_rx_list()
259 bus_dma_tag_destroy(rx_ring->data_dmat); in rtwn_pci_free_rx_list()
260 rx_ring->data_dmat = NULL; in rtwn_pci_free_rx_list()
299 MJUMPAGESIZE, 1, MJUMPAGESIZE, 0, NULL, NULL, &tx_ring->data_dmat); in rtwn_pci_alloc_tx_list()
[all …]
H A Drtwn_pci_tx.c135 error = bus_dmamap_load_mbuf_sg(ring->data_dmat, data->map, m, segs, in rtwn_pci_tx_start_frame()
152 error = bus_dmamap_load_mbuf_sg(ring->data_dmat, data->map, m, in rtwn_pci_tx_start_frame()
175 bus_dmamap_sync(ring->data_dmat, data->map, BUS_DMASYNC_PREWRITE); in rtwn_pci_tx_start_frame()
227 bus_dmamap_unload(ring->data_dmat, data->map); in rtwn_pci_tx_start_beacon()
230 error = bus_dmamap_load_mbuf_sg(ring->data_dmat, in rtwn_pci_tx_start_beacon()
250 bus_dmamap_sync(ring->data_dmat, data->map, BUS_DMASYNC_PREWRITE); in rtwn_pci_tx_start_beacon()
H A Drtwn_pci_rx.c133 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()
141 error = bus_dmamap_load(ring->data_dmat, rx_data->map, in rtwn_pci_rx_frame()
207 bus_dmamap_sync(ring->data_dmat, rx_data->map, BUS_DMASYNC_POSTREAD); in rtwn_pci_rx_buf_copy()
270 bus_dmamap_sync(ring->data_dmat, data->map, in rtwn_pci_tx_done()
272 bus_dmamap_unload(ring->data_dmat, data->map); in rtwn_pci_tx_done()
H A Drtwn_pci_var.h42 bus_dma_tag_t data_dmat; member
58 bus_dma_tag_t data_dmat; member
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2560.c496 &ring->data_dmat); in rt2560_alloc_tx_ring()
503 error = bus_dmamap_create(ring->data_dmat, 0, in rt2560_alloc_tx_ring()
529 bus_dmamap_sync(ring->data_dmat, data->map, in rt2560_reset_tx_ring()
531 bus_dmamap_unload(ring->data_dmat, data->map); in rt2560_reset_tx_ring()
572 bus_dmamap_sync(ring->data_dmat, data->map, in rt2560_free_tx_ring()
574 bus_dmamap_unload(ring->data_dmat, data->map); in rt2560_free_tx_ring()
582 bus_dmamap_destroy(ring->data_dmat, data->map); in rt2560_free_tx_ring()
588 if (ring->data_dmat != NULL) in rt2560_free_tx_ring()
589 bus_dma_tag_destroy(ring->data_dmat); in rt2560_free_tx_ring()
642 1, MCLBYTES, 0, NULL, NULL, &ring->data_dmat); in rt2560_alloc_rx_ring()
[all …]
H A Drt2560var.h65 bus_dma_tag_t data_dmat; member
86 bus_dma_tag_t data_dmat; member
H A Drt2661var.h61 bus_dma_tag_t data_dmat; member
80 bus_dma_tag_t data_dmat; member
H A Drt2661.c505 RT2661_MAX_SCATTER, MCLBYTES, 0, NULL, NULL, &ring->data_dmat); in rt2661_alloc_tx_ring()
512 error = bus_dmamap_create(ring->data_dmat, 0, in rt2661_alloc_tx_ring()
538 bus_dmamap_sync(ring->data_dmat, data->map, in rt2661_reset_tx_ring()
540 bus_dmamap_unload(ring->data_dmat, data->map); in rt2661_reset_tx_ring()
580 bus_dmamap_sync(ring->data_dmat, data->map, in rt2661_free_tx_ring()
582 bus_dmamap_unload(ring->data_dmat, data->map); in rt2661_free_tx_ring()
590 bus_dmamap_destroy(ring->data_dmat, data->map); in rt2661_free_tx_ring()
596 if (ring->data_dmat != NULL) in rt2661_free_tx_ring()
597 bus_dma_tag_destroy(ring->data_dmat); in rt2661_free_tx_ring()
649 1, MCLBYTES, 0, NULL, NULL, &ring->data_dmat); in rt2661_alloc_rx_ring()
[all …]
H A Drt2860var.h95 bus_dma_tag_t data_dmat; member
H A Drt2860.c718 1, MCLBYTES, 0, NULL, NULL, &ring->data_dmat); in rt2860_alloc_rx_ring()
728 error = bus_dmamap_create(ring->data_dmat, 0, &data->map); in rt2860_alloc_rx_ring()
742 error = bus_dmamap_load(ring->data_dmat, data->map, in rt2860_alloc_rx_ring()
794 bus_dmamap_sync(ring->data_dmat, data->map, in rt2860_free_rx_ring()
796 bus_dmamap_unload(ring->data_dmat, data->map); in rt2860_free_rx_ring()
800 bus_dmamap_destroy(ring->data_dmat, data->map); in rt2860_free_rx_ring()
802 if (ring->data_dmat != NULL) in rt2860_free_rx_ring()
803 bus_dma_tag_destroy(ring->data_dmat); in rt2860_free_rx_ring()
1227 bus_dmamap_sync(sc->rxq.data_dmat, data->map, in rt2860_rx_intr()
1229 bus_dmamap_unload(sc->rxq.data_dmat, data->map); in rt2860_rx_intr()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c706 if (sc->txq[0].data_dmat) { in wpi_detach()
1012 MJUMPAGESIZE, 1, MJUMPAGESIZE, 0, NULL, NULL, &ring->data_dmat); in wpi_alloc_rx_ring()
1027 error = bus_dmamap_create(ring->data_dmat, 0, &data->map); in wpi_alloc_rx_ring()
1043 error = bus_dmamap_load(ring->data_dmat, data->map, in wpi_alloc_rx_ring()
1137 bus_dmamap_sync(ring->data_dmat, data->map, in wpi_free_rx_ring()
1139 bus_dmamap_unload(ring->data_dmat, data->map); in wpi_free_rx_ring()
1144 bus_dmamap_destroy(ring->data_dmat, data->map); in wpi_free_rx_ring()
1146 if (ring->data_dmat != NULL) { in wpi_free_rx_ring()
1147 bus_dma_tag_destroy(ring->data_dmat); in wpi_free_rx_ring()
1148 ring->data_dmat = NULL; in wpi_free_rx_ring()
[all …]
H A Dif_wpivar.h74 bus_dma_tag_t data_dmat; member
91 bus_dma_tag_t data_dmat; member
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/
H A Dif_iwivar.h81 bus_dma_tag_t data_dmat; member
102 bus_dma_tag_t data_dmat; member
H A Dif_iwi.c647 IWI_MAX_NSEG, MCLBYTES, 0, NULL, NULL, &ring->data_dmat); in iwi_alloc_tx_ring()
654 error = bus_dmamap_create(ring->data_dmat, 0, in iwi_alloc_tx_ring()
678 bus_dmamap_sync(ring->data_dmat, data->map, in iwi_reset_tx_ring()
680 bus_dmamap_unload(ring->data_dmat, data->map); in iwi_reset_tx_ring()
716 bus_dmamap_sync(ring->data_dmat, data->map, in iwi_free_tx_ring()
718 bus_dmamap_unload(ring->data_dmat, data->map); in iwi_free_tx_ring()
726 bus_dmamap_destroy(ring->data_dmat, data->map); in iwi_free_tx_ring()
732 if (ring->data_dmat != NULL) in iwi_free_tx_ring()
733 bus_dma_tag_destroy(ring->data_dmat); in iwi_free_tx_ring()
755 1, MCLBYTES, 0, NULL, NULL, &ring->data_dmat); in iwi_alloc_rx_ring()
[all …]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwnvar.h115 bus_dma_tag_t data_dmat; member
135 bus_dma_tag_t data_dmat; member
H A Dif_iwn.c1878 IWN_RBUF_SIZE, 1, IWN_RBUF_SIZE, 0, NULL, NULL, &ring->data_dmat); in iwn_alloc_rx_ring()
1893 error = bus_dmamap_create(ring->data_dmat, 0, &data->map); in iwn_alloc_rx_ring()
1910 error = bus_dmamap_load(ring->data_dmat, data->map, in iwn_alloc_rx_ring()
1920 bus_dmamap_sync(ring->data_dmat, data->map, in iwn_alloc_rx_ring()
1976 bus_dmamap_sync(ring->data_dmat, data->map, in iwn_free_rx_ring()
1978 bus_dmamap_unload(ring->data_dmat, data->map); in iwn_free_rx_ring()
1983 bus_dmamap_destroy(ring->data_dmat, data->map); in iwn_free_rx_ring()
1985 if (ring->data_dmat != NULL) { in iwn_free_rx_ring()
1986 bus_dma_tag_destroy(ring->data_dmat); in iwn_free_rx_ring()
1987 ring->data_dmat = NULL; in iwn_free_rx_ring()
[all …]