/titanic_41/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_transport.c | 264 cpqary3_pktp->cmd_dmahandle = NULL; in cpqary3_init_pkt() 301 if (!cpqary3_pktp->cmd_dmahandle) { /* First time allocation */ in cpqary3_init_pkt() 382 &cpqary3_pktp->cmd_dmahandle))) { in cpqary3_dma_alloc() 414 retvalue = ddi_dma_buf_bind_handle(cpqary3_pktp->cmd_dmahandle, bp, in cpqary3_dma_alloc() 422 if (ddi_dma_numwin(cpqary3_pktp->cmd_dmahandle, in cpqary3_dma_alloc() 428 if (ddi_dma_getwin(cpqary3_pktp->cmd_dmahandle, in cpqary3_dma_alloc() 455 ddi_dma_nextcookie(cpqary3_pktp->cmd_dmahandle, in cpqary3_dma_alloc() 490 ddi_dma_free_handle(&cpqary3_pktp->cmd_dmahandle); in cpqary3_dma_alloc() 491 cpqary3_pktp->cmd_dmahandle = NULL; in cpqary3_dma_alloc() 529 if (ddi_dma_getwin(cpqary3_pktp->cmd_dmahandle, in cpqary3_dma_move() [all …]
|
H A D | cpqary3.h | 418 ddi_dma_handle_t cmd_dmahandle; member
|
/titanic_41/usr/src/uts/common/io/mega_sas/ |
H A D | megaraid_sas.c | 1188 acmd->cmd_dmahandle = NULL; in megasas_tran_init_pkt() 1210 if (acmd->cmd_dmahandle == NULL) { in megasas_tran_init_pkt() 1583 (void) ddi_dma_unbind_handle(acmd->cmd_dmahandle); in megasas_tran_destroy_pkt() 1585 ddi_dma_free_handle(&acmd->cmd_dmahandle); in megasas_tran_destroy_pkt() 1587 acmd->cmd_dmahandle = NULL; in megasas_tran_destroy_pkt() 1617 (void) ddi_dma_unbind_handle(acmd->cmd_dmahandle); in megasas_tran_dmafree() 1619 ddi_dma_free_handle(&acmd->cmd_dmahandle); in megasas_tran_dmafree() 1621 acmd->cmd_dmahandle = NULL; in megasas_tran_dmafree() 1654 (void) ddi_dma_sync(acmd->cmd_dmahandle, acmd->cmd_dma_offset, in megasas_tran_sync_pkt() 2777 (void) ddi_dma_sync(acmd->cmd_dmahandle, in megasas_softintr() [all …]
|
H A D | megaraid_sas.h | 1358 ddi_dma_handle_t cmd_dmahandle; member
|
/titanic_41/usr/src/uts/sun/sys/scsi/adapters/ |
H A D | fascmd.h | 83 ddi_dma_handle_t cmd_dmahandle; /* dma handle */ member
|
H A D | sfvar.h | 266 ddi_dma_handle_t cmd_dmahandle; /* dma handle */ member
|
/titanic_41/usr/src/uts/common/io/mr_sas/ |
H A D | mr_sas.c | 1802 acmd->cmd_dmahandle = NULL; in mrsas_tran_init_pkt() 1824 if (acmd->cmd_dmahandle == NULL) { in mrsas_tran_init_pkt() 2202 (void) ddi_dma_unbind_handle(acmd->cmd_dmahandle); in mrsas_tran_destroy_pkt() 2204 ddi_dma_free_handle(&acmd->cmd_dmahandle); in mrsas_tran_destroy_pkt() 2206 acmd->cmd_dmahandle = NULL; in mrsas_tran_destroy_pkt() 2236 (void) ddi_dma_unbind_handle(acmd->cmd_dmahandle); in mrsas_tran_dmafree() 2238 ddi_dma_free_handle(&acmd->cmd_dmahandle); in mrsas_tran_dmafree() 2240 acmd->cmd_dmahandle = NULL; in mrsas_tran_dmafree() 2266 (void) ddi_dma_sync(acmd->cmd_dmahandle, acmd->cmd_dma_offset, in mrsas_tran_sync_pkt() 4500 (void) ddi_dma_sync(acmd->cmd_dmahandle, in mrsas_softintr() [all …]
|
H A D | mr_sas_tbolt.c | 1486 (void) ddi_dma_sync(acmd->cmd_dmahandle, in mrsas_tbolt_build_cmd() 1492 (void) ddi_dma_sync(acmd->cmd_dmahandle, in mrsas_tbolt_build_cmd() 2364 (void) ddi_dma_sync(acmd->cmd_dmahandle, in tbolt_complete_cmd() 2514 if (acmd->cmd_dmahandle) { in tbolt_complete_cmd() 2515 if (mrsas_check_dma_handle(acmd->cmd_dmahandle) != in tbolt_complete_cmd()
|
H A D | mr_sas.h | 763 ddi_dma_handle_t cmd_dmahandle; member
|
/titanic_41/usr/src/uts/sun/io/scsi/adapters/ |
H A D | fas.c | 2035 (void) ddi_dma_unbind_handle(cmd->cmd_dmahandle); in fas_scsi_dmafree() 2049 if (ddi_dma_sync(sp->cmd_dmahandle, 0, 0, in fas_scsi_sync_pkt() 2096 save_dma_handle = cmd->cmd_dmahandle; in fas_scsi_init_pkt() 2098 cmd->cmd_dmahandle = save_dma_handle; in fas_scsi_init_pkt() 2179 ASSERT(cmd->cmd_dmahandle != NULL); in fas_scsi_init_pkt() 2180 rval = ddi_dma_buf_bind_handle(cmd->cmd_dmahandle, bp, in fas_scsi_init_pkt() 2210 ASSERT(cmd->cmd_dmahandle != NULL); in fas_scsi_init_pkt() 2237 (void) ddi_dma_unbind_handle(sp->cmd_dmahandle); in fas_scsi_destroy_pkt() 2350 NULL, &cmd->cmd_dmahandle)) != DDI_SUCCESS) { in fas_kmem_cache_constructor() 2361 if (cmd->cmd_dmahandle) { in fas_kmem_cache_destructor() [all …]
|
H A D | sf.c | 1596 if (cmd->cmd_dmahandle == NULL) { in sf_scsi_init_pkt() 1599 &cmd->cmd_dmahandle); in sf_scsi_init_pkt() 1604 rval = ddi_dma_buf_bind_handle(cmd->cmd_dmahandle, bp, in sf_scsi_init_pkt() 1639 ASSERT(cmd->cmd_dmahandle != NULL); in sf_scsi_init_pkt() 1697 (void) ddi_dma_unbind_handle(cmd->cmd_dmahandle); in sf_scsi_destroy_pkt() 1733 (void) ddi_dma_unbind_handle(cmd->cmd_dmahandle); in sf_scsi_dmafree() 1751 if (ddi_dma_sync(cmd->cmd_dmahandle, (off_t)0, (size_t)0, in sf_scsi_sync_pkt() 2145 cmd->cmd_dmahandle = NULL; in sf_kmem_cache_constructor() 2156 if (cmd->cmd_dmahandle != NULL) { in sf_kmem_cache_destructor() 2157 ddi_dma_free_handle(&cmd->cmd_dmahandle); in sf_kmem_cache_destructor() [all …]
|
/titanic_41/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 3597 (void) ddi_dma_sync(cmd->cmd_dmahandle, 0, 0, in mptsas_prepare_pkt() 3664 save_dma_handle = cmd->cmd_dmahandle; in mptsas_scsi_init_pkt() 3666 cmd->cmd_dmahandle = save_dma_handle; in mptsas_scsi_init_pkt() 3765 if (ddi_dma_getwin(cmd->cmd_dmahandle, cmd->cmd_winindex, in mptsas_scsi_init_pkt() 3793 ASSERT(cmd->cmd_dmahandle != NULL); in mptsas_scsi_init_pkt() 3821 rval = ddi_dma_buf_bind_handle(cmd->cmd_dmahandle, bp, in mptsas_scsi_init_pkt() 3825 (void) ddi_dma_numwin(cmd->cmd_dmahandle, in mptsas_scsi_init_pkt() 3828 (void) ddi_dma_getwin(cmd->cmd_dmahandle, in mptsas_scsi_init_pkt() 3957 ddi_dma_nextcookie(cmd->cmd_dmahandle, in mptsas_scsi_init_pkt() 4003 (void) ddi_dma_unbind_handle(cmd->cmd_dmahandle); in mptsas_scsi_destroy_pkt() [all …]
|
H A D | mptsas_impl.c | 466 &cmd->cmd_dmahandle, &accessp, &page_memp, in mptsas_access_config_page() 536 (void) ddi_dma_sync(cmd->cmd_dmahandle, 0, 0, in mptsas_access_config_page() 556 if ((mptsas_check_dma_handle(cmd->cmd_dmahandle) != DDI_SUCCESS) || in mptsas_access_config_page() 594 mptsas_dma_addr_destroy(&cmd->cmd_dmahandle, &accessp); in mptsas_access_config_page()
|
/titanic_41/usr/src/uts/common/sys/scsi/adapters/mpt_sas/ |
H A D | mptsas_var.h | 262 ddi_dma_handle_t cmd_dmahandle; /* dma handle */ member
|