Home
last modified time | relevance | path

Searched refs:dma_hdl (Results 1 – 25 of 54) sorted by relevance

123

/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ixl_update.c478 ddi_dma_handle_t dma_hdl; in hci1394_ixl_update_prep_jump() local
540 dma_hdl = xferctlp->dma[xferctlp->cnt - 1].dma_buf->bi_dma_handle; in hci1394_ixl_update_prep_jump()
543 err = ddi_dma_sync(dma_hdl, (off_t)hcidescp, sizeof (hci1394_desc_t), in hci1394_ixl_update_prep_jump()
878 ddi_dma_handle_t dma_hdl; in hci1394_ixl_update_prep_recv_pkt() local
961 dma_hdl = xferctlp->dma[0].dma_buf->bi_dma_handle; in hci1394_ixl_update_prep_recv_pkt()
964 err = ddi_dma_sync(dma_hdl, (off_t)hcidescp, sizeof (hci1394_desc_t), in hci1394_ixl_update_prep_recv_pkt()
1081 ddi_dma_handle_t dma_hdl; in hci1394_ixl_update_prep_send_pkt() local
1182 dma_hdl = xferctlp->dma[0].dma_buf->bi_dma_handle; in hci1394_ixl_update_prep_send_pkt()
1185 err = ddi_dma_sync(dma_hdl, (off_t)hcidescp, in hci1394_ixl_update_prep_send_pkt()
1331 ddi_dma_handle_t dma_hdl; in hci1394_ixl_update_perform() local
[all …]
H A Dhci1394_ixl_misc.c247 ddi_dma_handle_t dma_hdl; in hci1394_ixl_check_status() local
255 dma_hdl = dma->dma_buf->bi_dma_handle; in hci1394_ixl_check_status()
261 (void) ddi_dma_sync(dma_hdl, hcidesc_off, in hci1394_ixl_check_status()
282 (void) ddi_dma_sync(dma_hdl, hcidesc_off, in hci1394_ixl_check_status()
303 (void) ddi_dma_sync(dma_hdl, hcidesc_off, in hci1394_ixl_check_status()
335 (void) ddi_dma_sync(dma_hdl, hcidesc_off, in hci1394_ixl_check_status()
H A Dhci1394_ixl_isr.c477 ddi_dma_handle_t dma_hdl; in hci1394_ixl_intr_check_done() local
568 dma_hdl = dma->dma_buf->bi_dma_handle; in hci1394_ixl_intr_check_done()
573 (void) ddi_dma_sync(dma_hdl, hcidesc_off, sizeof (hci1394_desc_t), in hci1394_ixl_intr_check_done()
721 dma_hdl = dma->dma_buf->bi_dma_handle; in hci1394_ixl_intr_check_done()
726 (void) ddi_dma_sync(dma_hdl, hcidesc_off, in hci1394_ixl_intr_check_done()
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_rx.c334 (void) ddi_dma_sync(rrp->desc.dma_hdl, in nge_recv_ring()
339 (void) ddi_dma_sync(rrp->desc.dma_hdl, in nge_recv_ring()
343 (void) ddi_dma_sync(rrp->desc.dma_hdl, in nge_recv_ring()
394 (void) ddi_dma_sync(rrp->desc.dma_hdl, in nge_recv_ring()
399 (void) ddi_dma_sync(rrp->desc.dma_hdl, in nge_recv_ring()
403 (void) ddi_dma_sync(rrp->desc.dma_hdl, in nge_recv_ring()
/illumos-gate/usr/src/uts/common/io/rtls/
H A Drtls.c1150 (void) ddi_dma_sync(rtlsp->dma_area_tx[cur_desc].dma_hdl, 0, totlen, in rtls_send()
1312 (void) ddi_dma_sync(rtlsp->dma_area_rx.dma_hdl, in rtls_receive()
1316 (void) ddi_dma_sync(rtlsp->dma_area_rx.dma_hdl, in rtls_receive()
1348 (void) ddi_dma_sync(rtlsp->dma_area_rx.dma_hdl, in rtls_receive()
1503 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); in rtls_alloc_dma_mem()
1508 dma_p->dma_hdl = NULL; in rtls_alloc_dma_mem()
1515 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, in rtls_alloc_dma_mem()
1522 ddi_dma_free_handle(&dma_p->dma_hdl); in rtls_alloc_dma_mem()
1523 dma_p->dma_hdl = NULL; in rtls_alloc_dma_mem()
1532 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, in rtls_alloc_dma_mem()
[all …]
/illumos-gate/usr/src/uts/common/io/rwd/
H A Drt2661.c542 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); in rt2661_alloc_dma_mem()
552 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, in rt2661_alloc_dma_mem()
564 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, in rt2661_alloc_dma_mem()
586 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in rt2661_alloc_dma_mem()
590 ddi_dma_free_handle(&dma_p->dma_hdl); in rt2661_alloc_dma_mem()
598 if (dma_p->dma_hdl != NULL) { in rt2661_free_dma_mem()
599 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in rt2661_free_dma_mem()
604 ddi_dma_free_handle(&dma_p->dma_hdl); in rt2661_free_dma_mem()
606 dma_p->dma_hdl = NULL; in rt2661_free_dma_mem()
672 (void) ddi_dma_sync(ring->txdesc_dma.dma_hdl, in rt2661_alloc_tx_ring()
[all …]
H A Drt2661_var.h37 ddi_dma_handle_t dma_hdl; /* DMA handle */ member
200 #define RT2661_DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl,\
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c145 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); in rge_alloc_dma_mem()
147 dma_p->dma_hdl = NULL; in rge_alloc_dma_mem()
154 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, acc_attr_p, in rge_alloc_dma_mem()
158 ddi_dma_free_handle(&dma_p->dma_hdl); in rge_alloc_dma_mem()
159 dma_p->dma_hdl = NULL; in rge_alloc_dma_mem()
168 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, in rge_alloc_dma_mem()
173 ddi_dma_free_handle(&dma_p->dma_hdl); in rge_alloc_dma_mem()
175 dma_p->dma_hdl = NULL; in rge_alloc_dma_mem()
192 if (dma_p->dma_hdl != NULL) { in rge_free_dma_mem()
194 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in rge_free_dma_mem()
[all …]
/illumos-gate/usr/src/uts/common/io/wpi/
H A Dwpivar.h65 (void) ddi_dma_sync((area).dma_hdl, (area).offset, \
79 ddi_dma_handle_t dma_hdl; /* DMA handle */ member
H A Dwpi.c797 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); in wpi_alloc_dma_mem()
799 dma_p->dma_hdl = NULL; in wpi_alloc_dma_mem()
806 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, acc_attr_p, in wpi_alloc_dma_mem()
810 ddi_dma_free_handle(&dma_p->dma_hdl); in wpi_alloc_dma_mem()
811 dma_p->dma_hdl = NULL; in wpi_alloc_dma_mem()
820 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, in wpi_alloc_dma_mem()
825 ddi_dma_free_handle(&dma_p->dma_hdl); in wpi_alloc_dma_mem()
827 dma_p->dma_hdl = NULL; in wpi_alloc_dma_mem()
844 if (dma_p->dma_hdl != NULL) { in wpi_free_dma_mem()
846 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in wpi_free_dma_mem()
[all …]
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk2_var.h37 (void) ddi_dma_sync((area).dma_hdl, (area).offset, \
51 ddi_dma_handle_t dma_hdl; /* DMA handle */ member
/illumos-gate/usr/src/uts/common/io/rwn/
H A Drt2860_var.h64 ddi_dma_handle_t dma_hdl; /* DMA handle */ member
116 #define RT2860_DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl,\
H A Drt2860.c685 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); in rt2860_alloc_dma_mem()
695 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, in rt2860_alloc_dma_mem()
707 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, in rt2860_alloc_dma_mem()
729 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in rt2860_alloc_dma_mem()
733 ddi_dma_free_handle(&dma_p->dma_hdl); in rt2860_alloc_dma_mem()
741 if (dma_p->dma_hdl != NULL) { in rt2860_free_dma_mem()
742 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in rt2860_free_dma_mem()
747 ddi_dma_free_handle(&dma_p->dma_hdl); in rt2860_free_dma_mem()
749 dma_p->dma_hdl = NULL; in rt2860_free_dma_mem()
1241 (void) ddi_dma_sync(sc->txpool_dma.dma_hdl, in rt2860_send()
[all …]
/illumos-gate/usr/src/uts/common/io/rtw/
H A Drtwvar.h169 #define RTW_DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl,\
173 ((void) ddi_dma_sync((area).dma_hdl, offset, len, (flag)))
186 ddi_dma_handle_t dma_hdl; /* DMA handle */ member
/illumos-gate/usr/src/uts/common/io/iwp/
H A Diwp_var.h37 (void) ddi_dma_sync((area).dma_hdl, (area).offset, \
51 ddi_dma_handle_t dma_hdl; /* DMA handle */ member
/illumos-gate/usr/src/uts/common/io/iwh/
H A Diwh_var.h37 (void) ddi_dma_sync((area).dma_hdl, (area).offset, \
51 ddi_dma_handle_t dma_hdl; /* DMA handle */ member
/illumos-gate/usr/src/uts/intel/io/amd8111s/
H A Damd8111s_main.c944 pRing->dma_hdl = kmem_zalloc(sizeof (ddi_dma_handle_t) * in amd8111s_alloc_dma_ringbuf()
952 if (pRing->msg_buf == NULL || pRing->dma_hdl == NULL || in amd8111s_alloc_dma_ringbuf()
962 DDI_DMA_SLEEP, NULL, &(pRing->dma_hdl[idx])) in amd8111s_alloc_dma_ringbuf()
968 } else if (ddi_dma_mem_alloc(pRing->dma_hdl[idx], in amd8111s_alloc_dma_ringbuf()
982 } else if (ddi_dma_addr_bind_handle(pRing->dma_hdl[idx], in amd8111s_alloc_dma_ringbuf()
1003 pRing->dma_hdl[idx]; in amd8111s_alloc_dma_ringbuf()
1032 (void) ddi_dma_unbind_handle(pRing->dma_hdl[idx]); in amd8111s_free_dma_ringbuf()
1048 if (pRing->dma_hdl != NULL) { in amd8111s_free_dma_ringbuf()
1050 if (pRing->dma_hdl[idx] == 0) { in amd8111s_free_dma_ringbuf()
1053 ddi_dma_free_handle(&pRing->dma_hdl[idx]); in amd8111s_free_dma_ringbuf()
[all …]
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c1763 &dma->dma_hdl); in iwn_dma_contig_alloc()
1770 error = ddi_dma_mem_alloc(dma->dma_hdl, size, acc_attr, in iwn_dma_contig_alloc()
1781 error = ddi_dma_addr_bind_handle(dma->dma_hdl, NULL, dma->vaddr, in iwn_dma_contig_alloc()
1802 ddi_dma_free_handle(&dma->dma_hdl); in iwn_dma_contig_alloc()
1811 if (dma->dma_hdl != NULL) { in iwn_dma_contig_free()
1813 (void) ddi_dma_unbind_handle(dma->dma_hdl); in iwn_dma_contig_free()
1814 ddi_dma_free_handle(&dma->dma_hdl); in iwn_dma_contig_free()
1932 (void) ddi_dma_sync(ring->desc_dma.dma_hdl, 0, 0, DDI_DMA_SYNC_FORDEV); in iwn_alloc_rx_ring()
1971 if (data->dma_data.dma_hdl) in iwn_free_rx_ring()
2047 (void) ddi_dma_sync(data->dma_data.dma_hdl, 0, 0, in iwn_reset_tx_ring()
[all …]
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_impl.h85 ddi_dma_handle_t dma_hdl; member
313 #define DMA_SYNC(descp, flag) ((void) ddi_dma_sync((descp)->dma_hdl, \
H A Ddmfe_main.c696 (void) ddi_dma_sync(dmfep->rx_buff.dma_hdl, in dmfe_getp()
1134 (void) ddi_dma_sync(dmfep->tx_buff.dma_hdl, in dmfe_send_msg()
2260 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); in dmfe_alloc_dma_mem()
2269 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize + setup + slop, in dmfe_alloc_dma_mem()
2281 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, in dmfe_alloc_dma_mem()
2373 if (dma_p->dma_hdl != NULL) { in dmfe_free_dma_mem()
2375 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in dmfe_free_dma_mem()
2378 ddi_dma_free_handle(&dma_p->dma_hdl); in dmfe_free_dma_mem()
2379 dma_p->dma_hdl = NULL; in dmfe_free_dma_mem()
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_recv2.c195 if (bge_check_dma_handle(bgep, srbdp->pbuf.dma_hdl) != DDI_FM_OK) { in bge_receive_packet()
305 if (bge_check_dma_handle(bgep, rrp->desc.dma_hdl) != DDI_FM_OK) { in bge_receive_ring()
375 if (bge_check_dma_handle(bgep, rrp->desc.dma_hdl) != DDI_FM_OK) { in bge_poll_ring()
H A Dbge_send.c429 (void) ddi_dma_sync(txbuf->buf.dma_hdl, 0, in bge_send_serial()
472 (void) ddi_dma_sync(ssbdp->desc.dma_hdl, 0, in bge_send_serial()
479 (void) ddi_dma_sync(ssbdp->desc.dma_hdl, 0, in bge_send_serial()
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl.c361 DDI_DMA_SLEEP, NULL, &dma_p->dma_hdl); in mwl_alloc_dma_mem()
371 err = ddi_dma_mem_alloc(dma_p->dma_hdl, memsize, attr_p, in mwl_alloc_dma_mem()
383 err = ddi_dma_addr_bind_handle(dma_p->dma_hdl, NULL, in mwl_alloc_dma_mem()
406 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in mwl_alloc_dma_mem()
410 ddi_dma_free_handle(&dma_p->dma_hdl); in mwl_alloc_dma_mem()
418 if (dma_p->dma_hdl != NULL) { in mwl_free_dma_mem()
419 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in mwl_free_dma_mem()
424 ddi_dma_free_handle(&dma_p->dma_hdl); in mwl_free_dma_mem()
426 dma_p->dma_hdl = NULL; in mwl_free_dma_mem()
518 (void) ddi_dma_sync(ring->rxdesc_dma.dma_hdl, in mwl_alloc_rx_ring()
[all …]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c448 if (dma_p->dma_hdl != NULL) { in unm_free_dma_mem()
450 (void) ddi_dma_unbind_handle(dma_p->dma_hdl); in unm_free_dma_mem()
458 if (dma_p->dma_hdl != NULL) { in unm_free_dma_mem()
459 ddi_dma_free_handle(&dma_p->dma_hdl); in unm_free_dma_mem()
460 dma_p->dma_hdl = NULL; in unm_free_dma_mem()
475 NULL, &dma_p->dma_hdl); in unm_alloc_dma_mem()
482 ret = ddi_dma_mem_alloc(dma_p->dma_hdl, in unm_alloc_dma_mem()
499 ret = ddi_dma_addr_bind_handle(dma_p->dma_hdl, in unm_alloc_dma_mem()
/illumos-gate/usr/src/uts/common/io/ath/
H A Dath_impl.h121 #define ATH_DMA_SYNC(area, flag) ((void) ddi_dma_sync((area).dma_hdl, \
215 ddi_dma_handle_t dma_hdl; /* DMA handle */ member

123