Home
last modified time | relevance | path

Searched refs:pkt_cmd_dma (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_pkt.c119 (void) ddi_dma_unbind_handle(pkt->pkt_cmd_dma); in emlxs_pkt_free()
121 (void) ddi_dma_free_handle(&pkt->pkt_cmd_dma); in emlxs_pkt_free()
201 NULL, &pkt->pkt_cmd_dma) != DDI_SUCCESS) { in emlxs_pkt_alloc()
208 if (ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmdlen, in emlxs_pkt_alloc()
212 (void) ddi_dma_free_handle(&pkt->pkt_cmd_dma); in emlxs_pkt_alloc()
222 (void) ddi_dma_free_handle(&pkt->pkt_cmd_dma); in emlxs_pkt_alloc()
230 if (ddi_dma_addr_bind_handle(pkt->pkt_cmd_dma, NULL, in emlxs_pkt_alloc()
236 if (ddi_dma_addr_bind_handle(pkt->pkt_cmd_dma, NULL, in emlxs_pkt_alloc()
243 (void) ddi_dma_free_handle(&pkt->pkt_cmd_dma); in emlxs_pkt_alloc()
412 (void) ddi_dma_unbind_handle(pkt->pkt_cmd_dma); in emlxs_pkt_alloc()
[all …]
H A Demlxs_solaris.c8737 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_fcp_cmd()
9007 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_ip()
9295 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_els()
9829 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_els_rsp()
9925 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_menlo()
10037 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_ct()
10104 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_send_ct_rsp()
12245 if (emlxs_fm_check_dma_handle(hba, pkt->pkt_cmd_dma) in emlxs_check_dma()
12250 pkt->pkt_cmd_dma); in emlxs_check_dma()
H A Demlxs_sli3.c3700 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_sli3_prep_fct_iocb()
H A Demlxs_sli4.c4046 EMLXS_MPDATA_SYNC(pkt->pkt_cmd_dma, 0, pkt->pkt_cmdlen, in emlxs_sli4_prep_fct_iocb()
/titanic_50/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c1985 callback, NULL, &pkt->pkt_cmd_dma) != DDI_SUCCESS) { in fcsm_cmd_cache_constructor()
1992 ddi_dma_free_handle(&pkt->pkt_cmd_dma); in fcsm_cmd_cache_constructor()
1996 pkt->pkt_cmd_dma = NULL; in fcsm_cmd_cache_constructor()
2024 if (pkt->pkt_cmd_dma != NULL) { in fcsm_cmd_cache_destructor()
2025 ddi_dma_free_handle(&pkt->pkt_cmd_dma); in fcsm_cmd_cache_destructor()
2088 ASSERT(pkt->pkt_cmd_dma != NULL); in fcsm_alloc_cmd()
2090 rval = ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmd_len, in fcsm_alloc_cmd()
2113 rval = ddi_dma_addr_bind_handle(pkt->pkt_cmd_dma, NULL, in fcsm_alloc_cmd()
2153 ddi_dma_nextcookie(pkt->pkt_cmd_dma, &pkt_cookie); in fcsm_alloc_cmd()
2297 (void) ddi_dma_unbind_handle(pkt->pkt_cmd_dma); in fcsm_free_cmd_dma()
H A Dfcp.c5970 ASSERT(fpkt->pkt_cmd_dma == NULL && fpkt->pkt_data_dma == NULL && in fcp_alloc_dma()
5990 ASSERT(fpkt->pkt_cmd_dma == NULL && in fcp_alloc_dma()
6120 ASSERT(fpkt->pkt_resp_dma != NULL && fpkt->pkt_cmd_dma != NULL); in fcp_free_dma()
10606 ASSERT(fpkt->pkt_cmd_dma == NULL); in fcp_alloc_cmd_resp()
10610 cb, NULL, &fpkt->pkt_cmd_dma) != DDI_SUCCESS) { in fcp_alloc_cmd_resp()
10615 rval = ddi_dma_mem_alloc(fpkt->pkt_cmd_dma, cmd_len, in fcp_alloc_cmd_resp()
10620 ddi_dma_free_handle(&fpkt->pkt_cmd_dma); in fcp_alloc_cmd_resp()
10626 ddi_dma_free_handle(&fpkt->pkt_cmd_dma); in fcp_alloc_cmd_resp()
10631 rval = ddi_dma_addr_bind_handle(fpkt->pkt_cmd_dma, NULL, in fcp_alloc_cmd_resp()
10637 ddi_dma_free_handle(&fpkt->pkt_cmd_dma); in fcp_alloc_cmd_resp()
[all …]
H A Dfcip.c5872 &fc_pkt->pkt_cmd_dma) != DDI_SUCCESS) { in fcip_cache_constructor()
5907 if (fc_pkt->pkt_cmd_dma) { in fcip_cache_destructor()
5908 ddi_dma_free_handle(&fc_pkt->pkt_cmd_dma); in fcip_cache_destructor()
6555 if (ddi_dma_addr_bind_handle(fc_pkt->pkt_cmd_dma, NULL, in fcip_pkt_alloc()
6582 ddi_dma_nextcookie(fc_pkt->pkt_cmd_dma, &pkt_cookie); in fcip_pkt_alloc()
6676 &fc_pkt->pkt_cmd_dma) != DDI_SUCCESS) { in fcip_ipkt_alloc()
6680 if (ddi_dma_mem_alloc(fc_pkt->pkt_cmd_dma, cmdlen, in fcip_ipkt_alloc()
6694 if (ddi_dma_addr_bind_handle(fc_pkt->pkt_cmd_dma, NULL, in fcip_ipkt_alloc()
6722 ddi_dma_nextcookie(fc_pkt->pkt_cmd_dma, &pkt_cookie); in fcip_ipkt_alloc()
6978 (void) ddi_dma_unbind_handle(fc_pkt->pkt_cmd_dma); in fcip_free_pkt_dma()
[all …]
/titanic_50/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfctl.h159 ddi_dma_handle_t pkt_cmd_dma; /* command DMA */ member
/titanic_50/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c1886 &pkt->pkt_cmd_dma) != DDI_SUCCESS) { in fp_cache_constructor()
1893 ddi_dma_free_handle(&pkt->pkt_cmd_dma); in fp_cache_constructor()
1897 pkt->pkt_cmd_dma = 0; in fp_cache_constructor()
1924 if (pkt->pkt_cmd_dma) { in fp_cache_destructor()
1925 ddi_dma_free_handle(&pkt->pkt_cmd_dma); in fp_cache_destructor()
2014 ASSERT(pkt->pkt_cmd_dma != NULL); in fp_alloc_pkt()
2016 rval = ddi_dma_mem_alloc(pkt->pkt_cmd_dma, cmd_len, in fp_alloc_pkt()
2030 rval = ddi_dma_addr_bind_handle(pkt->pkt_cmd_dma, NULL, in fp_alloc_pkt()
2059 ddi_dma_nextcookie(pkt->pkt_cmd_dma, &pkt_cookie); in fp_alloc_pkt()
2223 (void) ddi_dma_unbind_handle(pkt->pkt_cmd_dma); in fp_free_dma()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_api.c4836 QL_CLEAR_DMA_HANDLE(pkt->pkt_cmd_dma); in ql_cmd_setup()
4837 *rval = ddi_check_dma_handle(pkt->pkt_cmd_dma); in ql_cmd_setup()
5160 (void) ddi_dma_sync(pkt->pkt_cmd_dma, 0, 0, DDI_DMA_SYNC_FORDEV); in ql_p2p_plogi()
7181 (void) ddi_dma_sync(pkt->pkt_cmd_dma, in ql_fcp_ip_cmd()
7277 (void) ddi_dma_sync(pkt->pkt_cmd_dma, 0, 0, in ql_fc_services()