Home
last modified time | relevance | path

Searched refs:tw_dmahandle (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/uts/common/io/usb/hcd/uhci/
H A Duhcipolled.c863 &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 Duhciutil.c1790 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 Duhci.c1390 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 Dehci_polled.c611 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()
2030 &dma_attr, DDI_DMA_DONTWAIT, 0, &tw->tw_dmahandle)) != in ehci_polled_create_tw()
2042 if ((result = ddi_dma_mem_alloc(tw->tw_dmahandle, POLLED_RAW_BUF_SIZE, in ehci_polled_create_tw()
2046 ddi_dma_free_handle(&tw->tw_dmahandle); in ehci_polled_create_tw()
2053 if ((result = ddi_dma_addr_bind_handle(tw->tw_dmahandle, NULL, in ehci_polled_create_tw()
2058 ddi_dma_free_handle(&tw->tw_dmahandle); in ehci_polled_create_tw()
2066 result = ddi_dma_unbind_handle(tw->tw_dmahandle); in ehci_polled_create_tw()
2070 ddi_dma_free_handle(&tw->tw_dmahandle); in ehci_polled_create_tw()
H A Dehci_xfer.c1593 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()
3069 ddi_dma_free_handle(&tw->tw_dmahandle); in ehci_create_transfer_wrapper()
3535 if (tw->tw_dmahandle != NULL) { in ehci_free_tw()
3536 rval = ddi_dma_unbind_handle(tw->tw_dmahandle); in ehci_free_tw()
[all …]
H A Dehci_intr.c1325 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 Dohci_polled.c521 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 Dohci.c6086 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()
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()
9448 tw->tw_dmahandle, NULL, in ohci_tw_rebind_cookie()
[all …]
/illumos-gate/usr/src/uts/common/sys/usb/hcd/uhci/
H A Duhcid.h365 ddi_dma_handle_t tw_dmahandle; /* DMA handle */ member
/illumos-gate/usr/src/uts/common/sys/usb/hcd/openhci/
H A Dohcid.h587 ddi_dma_handle_t tw_dmahandle; /* DMA handle */ member
/illumos-gate/usr/src/uts/common/sys/usb/hcd/ehci/
H A Dehcid.h602 ddi_dma_handle_t tw_dmahandle; /* DMA handle */ member