Home
last modified time | relevance | path

Searched refs:cmd_dma_handle (Results 1 – 9 of 9) sorted by relevance

/titanic_50/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_dma.c35 if (gcmdp->cmd_dma_handle != NULL) { in ghd_dmafree_attr()
36 if (ddi_dma_unbind_handle(gcmdp->cmd_dma_handle) != in ghd_dmafree_attr()
40 ddi_dma_free_handle(&gcmdp->cmd_dma_handle); in ghd_dmafree_attr()
43 gcmdp->cmd_dma_handle = NULL; in ghd_dmafree_attr()
69 ASSERT(gcmdp->cmd_dma_handle == NULL); in ghd_dma_buf_bind_attr()
72 arg, &gcmdp->cmd_dma_handle); in ghd_dma_buf_bind_attr()
79 status = ddi_dma_buf_bind_handle(gcmdp->cmd_dma_handle, bp, dma_flags, in ghd_dma_buf_bind_attr()
83 "c 0x%d\n", (void *)gcmdp, status, (void *)gcmdp->cmd_dma_handle, in ghd_dma_buf_bind_attr()
94 if (ddi_dma_numwin(gcmdp->cmd_dma_handle, &gcmdp->cmd_wcount) != in ghd_dma_buf_bind_attr()
97 ddi_dma_free_handle(&gcmdp->cmd_dma_handle); in ghd_dma_buf_bind_attr()
[all …]
H A Dghd_scsa.c74 if (gcmdp->cmd_dma_handle) { in ghd_tran_sync_pkt()
75 status = ddi_dma_sync(gcmdp->cmd_dma_handle, 0, 0, in ghd_tran_sync_pkt()
204 (void *)gcmdp, (void *)gcmdp->cmd_dma_handle)); in ghd_tran_init_pkt_attr()
210 if (cmdlen && gcmdp->cmd_dma_handle) { in ghd_tran_init_pkt_attr()
238 if (gcmdp->cmd_dma_handle == NULL) { in ghd_tran_init_pkt_attr()
H A Dghd_debug.c100 P->cmd_dma_handle, P->cmd_dmawin, P->cmd_dmaseg); in ghd_dump_gcmd()
H A Dghd.h116 ddi_dma_handle_t cmd_dma_handle; member
/titanic_50/usr/src/uts/sun/sys/scsi/adapters/
H A Dsfvar.h149 ddi_dma_handle_t cmd_dma_handle; /* dma mapping for this chunk */ member
314 ddi_dma_handle_t cmd_dma_handle; member
/titanic_50/usr/src/uts/intel/io/dktp/controller/ata/
H A Datapi.c879 if (gcmdp->cmd_dma_handle != NULL) { in atapi_tran_destroy_pkt()
921 if (gcmdp->cmd_dma_handle != NULL) { in atapi_tran_dmafree()
943 if (PKTP2GCMDP(spktp)->cmd_dma_handle != NULL) { in atapi_tran_sync_pkt()
H A Data_disk.c1459 if (gcmdp->cmd_dma_handle) in ata_disk_memfree()
1515 if (gcmdp->cmd_dma_handle != NULL) { in ata_disk_iosetup()
1566 if (gcmdp->cmd_dma_handle != NULL && sec_count != 0) { in ata_disk_iosetup()
/titanic_50/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c1852 DDI_DMA_DONTWAIT, NULL, &ptr->cmd_dma_handle) != DDI_SUCCESS) { in sf_add_cr_pool()
1860 if (ddi_dma_mem_alloc(ptr->cmd_dma_handle, cmd_buf_size, in sf_add_cr_pool()
1868 if (ddi_dma_addr_bind_handle(ptr->cmd_dma_handle, NULL, in sf_add_cr_pool()
1959 if (ptr->cmd_dma_handle != NULL) { in sf_add_cr_pool()
1961 (void) ddi_dma_unbind_handle(ptr->cmd_dma_handle); in sf_add_cr_pool()
1963 ddi_dma_free_handle(&ptr->cmd_dma_handle); in sf_add_cr_pool()
2119 (void) ddi_dma_unbind_handle(cp->cmd_dma_handle); in sf_crpool_free()
2120 ddi_dma_free_handle(&cp->cmd_dma_handle); in sf_crpool_free()
2646 (void) ddi_dma_sync(privp->cmd_dma_handle, (off_t)0, (size_t)0, in sf_els_transport()
3008 ddi_dma_handle_t cmd_dma_handle = NULL; in sf_els_alloc() local
[all …]
/titanic_50/usr/src/uts/sun/sys/dada/adapters/ghd/
H A Dghd.h106 ddi_dma_handle_t cmd_dma_handle; member