/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhcipolled.c | 863 &uhcip->uhci_dma_attr, DDI_DMA_DONTWAIT, 0, &tw->tw_dmahandle)) != in uhci_polled_create_tw() 875 if ((result = ddi_dma_mem_alloc(tw->tw_dmahandle, POLLED_RAW_BUF_SIZE, in uhci_polled_create_tw() 879 ddi_dma_free_handle(&tw->tw_dmahandle); in uhci_polled_create_tw() 886 if ((result = ddi_dma_addr_bind_handle(tw->tw_dmahandle, NULL, in uhci_polled_create_tw() 891 ddi_dma_free_handle(&tw->tw_dmahandle); in uhci_polled_create_tw() 899 result = ddi_dma_unbind_handle(tw->tw_dmahandle); in uhci_polled_create_tw() 903 ddi_dma_free_handle(&tw->tw_dmahandle); in uhci_polled_create_tw()
|
H A D | uhciutil.c | 1790 0, &tw->tw_dmahandle) != DDI_SUCCESS) { in uhci_create_transfer_wrapper() 1803 if (ddi_dma_mem_alloc(tw->tw_dmahandle, tw->tw_length, &dev_attr, in uhci_create_transfer_wrapper() 1808 ddi_dma_free_handle(&tw->tw_dmahandle); in uhci_create_transfer_wrapper() 1817 if (ddi_dma_addr_bind_handle(tw->tw_dmahandle, NULL, in uhci_create_transfer_wrapper() 1824 ddi_dma_free_handle(&tw->tw_dmahandle); in uhci_create_transfer_wrapper() 2056 ddi_dma_nextcookie(tw->tw_dmahandle, &tw->tw_cookie); in uhci_get_tw_paddr_by_offs() 2490 } else if (tw->tw_dmahandle != NULL) { in uhci_free_tw() 2491 rval = ddi_dma_unbind_handle(tw->tw_dmahandle); in uhci_free_tw() 2495 ddi_dma_free_handle(&tw->tw_dmahandle); in uhci_free_tw()
|
H A D | uhci.c | 1390 rval = ddi_dma_sync(tw->tw_dmahandle, 0, in uhci_sendup_td_message()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_polled.c | 611 Sync_IO_Buffer_for_device(tw->tw_dmahandle, tw->tw_length); in ehci_hcdi_polled_write() 1485 Sync_IO_Buffer(tw->tw_dmahandle, length); in ehci_polled_handle_normal_qtd() 1710 ddi_dma_nextcookie(tw->tw_dmahandle, &tw->tw_cookie); in ehci_polled_fill_in_qtd() 2028 &dma_attr, DDI_DMA_DONTWAIT, 0, &tw->tw_dmahandle)) != in ehci_polled_create_tw() 2040 if ((result = ddi_dma_mem_alloc(tw->tw_dmahandle, POLLED_RAW_BUF_SIZE, in ehci_polled_create_tw() 2044 ddi_dma_free_handle(&tw->tw_dmahandle); in ehci_polled_create_tw() 2051 if ((result = ddi_dma_addr_bind_handle(tw->tw_dmahandle, NULL, in ehci_polled_create_tw() 2056 ddi_dma_free_handle(&tw->tw_dmahandle); in ehci_polled_create_tw() 2064 result = ddi_dma_unbind_handle(tw->tw_dmahandle); in ehci_polled_create_tw() 2068 ddi_dma_free_handle(&tw->tw_dmahandle); in ehci_polled_create_tw()
|
H A D | ehci_xfer.c | 1562 Sync_IO_Buffer_for_device(tw->tw_dmahandle, SETUP_SIZE); in ehci_insert_ctrl_req() 1593 Sync_IO_Buffer_for_device(tw->tw_dmahandle, in ehci_insert_ctrl_req() 1750 Sync_IO_Buffer_for_device(tw->tw_dmahandle, in ehci_insert_bulk_req() 2140 Sync_IO_Buffer_for_device(tw->tw_dmahandle, in ehci_allocate_intr_resources() 2444 ddi_dma_nextcookie(tw->tw_dmahandle, &tw->tw_cookie); in ehci_fill_in_qtd() 3026 &dma_attr, dmamem_wait, 0, &tw->tw_dmahandle); in ehci_create_transfer_wrapper() 3044 result = ddi_dma_mem_alloc(tw->tw_dmahandle, length, in ehci_create_transfer_wrapper() 3052 ddi_dma_free_handle(&tw->tw_dmahandle); in ehci_create_transfer_wrapper() 3061 result = ddi_dma_addr_bind_handle(tw->tw_dmahandle, NULL, in ehci_create_transfer_wrapper() 3069 ddi_dma_free_handle(&tw->tw_dmahandle); in ehci_create_transfer_wrapper() [all …]
|
H A D | ehci_intr.c | 1323 Sync_IO_Buffer(tw->tw_dmahandle, (skip_len + length)); in ehci_sendup_qtd_message()
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci_polled.c | 521 Sync_IO_Buffer_for_device(tw->tw_dmahandle, tw->tw_length); in ohci_hcdi_polled_write() 1846 Sync_IO_Buffer(tw->tw_dmahandle, length); in ohci_polled_handle_normal_td() 2139 &dma_attr, DDI_DMA_DONTWAIT, 0, &tw->tw_dmahandle)) != in ohci_polled_create_tw() 2151 if ((result = ddi_dma_mem_alloc(tw->tw_dmahandle, POLLED_RAW_BUF_SIZE, in ohci_polled_create_tw() 2155 ddi_dma_free_handle(&tw->tw_dmahandle); in ohci_polled_create_tw() 2162 if ((result = ddi_dma_addr_bind_handle(tw->tw_dmahandle, NULL, in ohci_polled_create_tw() 2167 ddi_dma_free_handle(&tw->tw_dmahandle); in ohci_polled_create_tw() 2175 result = ddi_dma_unbind_handle(tw->tw_dmahandle); in ohci_polled_create_tw() 2179 ddi_dma_free_handle(&tw->tw_dmahandle); in ohci_polled_create_tw()
|
H A D | ohci.c | 6086 ddi_dma_nextcookie(tw->tw_dmahandle, &tw->tw_cookie); in ohci_init_td() 6897 &dma_attr, dmamem_wait, 0, &tw->tw_dmahandle); in ohci_create_transfer_wrapper() 6915 result = ddi_dma_mem_alloc(tw->tw_dmahandle, length, in ohci_create_transfer_wrapper() 6923 ddi_dma_free_handle(&tw->tw_dmahandle); in ohci_create_transfer_wrapper() 6932 result = ddi_dma_addr_bind_handle(tw->tw_dmahandle, NULL, in ohci_create_transfer_wrapper() 6940 ddi_dma_free_handle(&tw->tw_dmahandle); in ohci_create_transfer_wrapper() 7639 } else if (tw->tw_dmahandle != NULL) { in ohci_free_tw() 7641 rval = ddi_dma_unbind_handle(tw->tw_dmahandle); in ohci_free_tw() 7645 ddi_dma_free_handle(&tw->tw_dmahandle); in ohci_free_tw() 9439 rval = ddi_dma_unbind_handle(tw->tw_dmahandle); in ohci_tw_rebind_cookie() [all …]
|
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/ |
H A D | uhcid.h | 365 ddi_dma_handle_t tw_dmahandle; /* DMA handle */ member
|
/illumos-gate/usr/src/uts/common/sys/usb/hcd/openhci/ |
H A D | ohcid.h | 587 ddi_dma_handle_t tw_dmahandle; /* DMA handle */ member
|
/illumos-gate/usr/src/uts/common/sys/usb/hcd/ehci/ |
H A D | ehcid.h | 602 ddi_dma_handle_t tw_dmahandle; /* DMA handle */ member
|