Home
last modified time | relevance | path

Searched refs:cmd_dmahandle (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/uts/common/io/cpqary3/
H A Dcpqary3_transport.c264 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()
491 ddi_dma_free_handle(&cpqary3_pktp->cmd_dmahandle); in cpqary3_dma_alloc()
492 cpqary3_pktp->cmd_dmahandle = NULL; in cpqary3_dma_alloc()
530 if (ddi_dma_getwin(cpqary3_pktp->cmd_dmahandle, in cpqary3_dma_move()
[all …]
H A Dcpqary3.h418 ddi_dma_handle_t cmd_dmahandle; member
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.c1188 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 Dmegaraid_sas.h1358 ddi_dma_handle_t cmd_dmahandle; member
/illumos-gate/usr/src/uts/sun/sys/scsi/adapters/
H A Dfascmd.h83 ddi_dma_handle_t cmd_dmahandle; /* dma handle */ member
H A Dsfvar.h266 ddi_dma_handle_t cmd_dmahandle; /* dma handle */ member
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.c1803 acmd->cmd_dmahandle = NULL; in mrsas_tran_init_pkt()
1825 if (acmd->cmd_dmahandle == NULL) { in mrsas_tran_init_pkt()
2203 (void) ddi_dma_unbind_handle(acmd->cmd_dmahandle); in mrsas_tran_destroy_pkt()
2205 ddi_dma_free_handle(&acmd->cmd_dmahandle); in mrsas_tran_destroy_pkt()
2207 acmd->cmd_dmahandle = NULL; in mrsas_tran_destroy_pkt()
2237 (void) ddi_dma_unbind_handle(acmd->cmd_dmahandle); in mrsas_tran_dmafree()
2239 ddi_dma_free_handle(&acmd->cmd_dmahandle); in mrsas_tran_dmafree()
2241 acmd->cmd_dmahandle = NULL; in mrsas_tran_dmafree()
2267 (void) ddi_dma_sync(acmd->cmd_dmahandle, acmd->cmd_dma_offset, in mrsas_tran_sync_pkt()
4497 (void) ddi_dma_sync(acmd->cmd_dmahandle, in mrsas_softintr()
[all …]
H A Dmr_sas_tbolt.c1484 (void) ddi_dma_sync(acmd->cmd_dmahandle, in mrsas_tbolt_build_cmd()
1490 (void) ddi_dma_sync(acmd->cmd_dmahandle, in mrsas_tbolt_build_cmd()
2357 (void) ddi_dma_sync(acmd->cmd_dmahandle, in tbolt_complete_cmd()
2505 if (acmd->cmd_dmahandle) { in tbolt_complete_cmd()
2506 if (mrsas_check_dma_handle(acmd->cmd_dmahandle) != in tbolt_complete_cmd()
H A Dmr_sas.h767 ddi_dma_handle_t cmd_dmahandle; member
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dfas.c2035 (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 …]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c3735 (void) ddi_dma_sync(cmd->cmd_dmahandle, 0, 0, in mptsas_prepare_pkt()
3802 save_dma_handle = cmd->cmd_dmahandle; in mptsas_scsi_init_pkt()
3804 cmd->cmd_dmahandle = save_dma_handle; in mptsas_scsi_init_pkt()
3903 if (ddi_dma_getwin(cmd->cmd_dmahandle, cmd->cmd_winindex, in mptsas_scsi_init_pkt()
3931 ASSERT(cmd->cmd_dmahandle != NULL); in mptsas_scsi_init_pkt()
3959 rval = ddi_dma_buf_bind_handle(cmd->cmd_dmahandle, bp, in mptsas_scsi_init_pkt()
3963 (void) ddi_dma_numwin(cmd->cmd_dmahandle, in mptsas_scsi_init_pkt()
3966 (void) ddi_dma_getwin(cmd->cmd_dmahandle, in mptsas_scsi_init_pkt()
4095 ddi_dma_nextcookie(cmd->cmd_dmahandle, in mptsas_scsi_init_pkt()
4141 (void) ddi_dma_unbind_handle(cmd->cmd_dmahandle); in mptsas_scsi_destroy_pkt()
[all …]
H A Dmptsas_impl.c489 &cmd->cmd_dmahandle, &accessp, &page_memp, in mptsas_access_config_page()
560 (void) ddi_dma_sync(cmd->cmd_dmahandle, 0, 0, in mptsas_access_config_page()
580 if ((mptsas_check_dma_handle(cmd->cmd_dmahandle) != DDI_SUCCESS) || in mptsas_access_config_page()
618 mptsas_dma_addr_destroy(&cmd->cmd_dmahandle, &accessp); in mptsas_access_config_page()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/mpt_sas/
H A Dmptsas_var.h272 ddi_dma_handle_t cmd_dmahandle; /* dma handle */ member