Home
last modified time | relevance | path

Searched refs:pkt_resp_dma (Results 1 – 12 of 12) sorted by relevance

/titanic_41/usr/src/uts/common/io/fibre-channel/fca/emlxs/
H A Demlxs_pkt.c113 (void) ddi_dma_unbind_handle(pkt->pkt_resp_dma); in emlxs_pkt_free()
115 (void) ddi_dma_free_handle(&pkt->pkt_resp_dma); in emlxs_pkt_free()
268 NULL, &pkt->pkt_resp_dma) != DDI_SUCCESS) { in emlxs_pkt_alloc()
275 if (ddi_dma_mem_alloc(pkt->pkt_resp_dma, rsplen, in emlxs_pkt_alloc()
279 (void) ddi_dma_free_handle(&pkt->pkt_resp_dma); in emlxs_pkt_alloc()
288 (void) ddi_dma_free_handle(&pkt->pkt_resp_dma); in emlxs_pkt_alloc()
295 if (ddi_dma_addr_bind_handle(pkt->pkt_resp_dma, NULL, in emlxs_pkt_alloc()
301 if (ddi_dma_addr_bind_handle(pkt->pkt_resp_dma, NULL, in emlxs_pkt_alloc()
308 (void) ddi_dma_free_handle(&pkt->pkt_resp_dma); in emlxs_pkt_alloc()
406 (void) ddi_dma_unbind_handle(pkt->pkt_resp_dma); in emlxs_pkt_alloc()
[all …]
H A Demlxs_fct.c3898 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0,
3916 if (emlxs_fm_check_dma_handle(hba, pkt->pkt_resp_dma)
3921 pkt->pkt_resp_dma);
3942 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0,
3960 if (emlxs_fm_check_dma_handle(hba, pkt->pkt_resp_dma)
3965 pkt->pkt_resp_dma);
H A Demlxs_els.c138 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_els_handle_event()
2871 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_menlo_handle_event()
3004 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_ct_handle_event()
H A Demlxs_fcp.c189 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_handle_fcp_event()
H A Demlxs_solaris.c12262 if (emlxs_fm_check_dma_handle(hba, pkt->pkt_resp_dma) in emlxs_check_dma()
12267 pkt->pkt_resp_dma); in emlxs_check_dma()
/titanic_41/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfctl.h162 ddi_dma_handle_t pkt_resp_dma; /* response DMA */ member
/titanic_41/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c1991 callback, NULL, &pkt->pkt_resp_dma) != DDI_SUCCESS) { in fcsm_cmd_cache_constructor()
1998 pkt->pkt_resp_dma = NULL; in fcsm_cmd_cache_constructor()
2028 if (pkt->pkt_resp_dma != NULL) { in fcsm_cmd_cache_destructor()
2029 ddi_dma_free_handle(&pkt->pkt_resp_dma); in fcsm_cmd_cache_destructor()
2161 ASSERT(pkt->pkt_resp_dma != NULL); in fcsm_alloc_cmd()
2163 rval = ddi_dma_mem_alloc(pkt->pkt_resp_dma, resp_len, in fcsm_alloc_cmd()
2186 rval = ddi_dma_addr_bind_handle(pkt->pkt_resp_dma, NULL, in fcsm_alloc_cmd()
2226 ddi_dma_nextcookie(pkt->pkt_resp_dma, &pkt_cookie); in fcsm_alloc_cmd()
2307 (void) ddi_dma_unbind_handle(pkt->pkt_resp_dma); in fcsm_free_cmd_dma()
H A Dfcp.c5971 fpkt->pkt_resp_dma == NULL); in fcp_alloc_dma()
5991 fpkt->pkt_resp_dma == NULL); in fcp_alloc_dma()
6120 ASSERT(fpkt->pkt_resp_dma != NULL && fpkt->pkt_cmd_dma != NULL); in fcp_free_dma()
10679 ASSERT(fpkt->pkt_resp_dma == NULL); in fcp_alloc_cmd_resp()
10681 cb, NULL, &fpkt->pkt_resp_dma) != DDI_SUCCESS) { in fcp_alloc_cmd_resp()
10688 rval = ddi_dma_mem_alloc(fpkt->pkt_resp_dma, resp_len, in fcp_alloc_cmd_resp()
10694 ddi_dma_free_handle(&fpkt->pkt_resp_dma); in fcp_alloc_cmd_resp()
10705 ddi_dma_free_handle(&fpkt->pkt_resp_dma); in fcp_alloc_cmd_resp()
10714 rval = ddi_dma_addr_bind_handle(fpkt->pkt_resp_dma, NULL, in fcp_alloc_cmd_resp()
10720 ddi_dma_free_handle(&fpkt->pkt_resp_dma); in fcp_alloc_cmd_resp()
[all …]
H A Dfcip.c6730 &fc_pkt->pkt_resp_dma) != DDI_SUCCESS) { in fcip_ipkt_alloc()
6734 if (ddi_dma_mem_alloc(fc_pkt->pkt_resp_dma, resplen, in fcip_ipkt_alloc()
6747 if (ddi_dma_addr_bind_handle(fc_pkt->pkt_resp_dma, NULL, in fcip_ipkt_alloc()
6776 ddi_dma_nextcookie(fc_pkt->pkt_resp_dma, &pkt_cookie); in fcip_ipkt_alloc()
6985 (void) ddi_dma_unbind_handle(fc_pkt->pkt_resp_dma); in fcip_free_pkt_dma()
6998 if (fc_pkt->pkt_resp_dma) { in fcip_free_pkt_dma()
6999 ddi_dma_free_handle(&fc_pkt->pkt_resp_dma); in fcip_free_pkt_dma()
/titanic_41/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c1892 &pkt->pkt_resp_dma) != DDI_SUCCESS) { in fp_cache_constructor()
1898 pkt->pkt_resp_dma = 0; in fp_cache_constructor()
1928 if (pkt->pkt_resp_dma) { in fp_cache_destructor()
1929 ddi_dma_free_handle(&pkt->pkt_resp_dma); in fp_cache_destructor()
2068 ASSERT(pkt->pkt_resp_dma != NULL); in fp_alloc_pkt()
2070 rval = ddi_dma_mem_alloc(pkt->pkt_resp_dma, resp_len, in fp_alloc_pkt()
2085 rval = ddi_dma_addr_bind_handle(pkt->pkt_resp_dma, NULL, in fp_alloc_pkt()
2114 ddi_dma_nextcookie(pkt->pkt_resp_dma, &pkt_cookie); in fp_alloc_pkt()
2233 (void) ddi_dma_unbind_handle(pkt->pkt_resp_dma); in fp_free_dma()
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_isr.c1494 (void) ddi_dma_sync(sp->pkt->pkt_resp_dma, 0, 0, in ql_fast_fcp_post()
3240 (void) ddi_dma_sync(srb->pkt->pkt_resp_dma, 0, 0, in ql_els_passthru_entry()
H A Dql_api.c4845 QL_CLEAR_DMA_HANDLE(pkt->pkt_resp_dma); in ql_cmd_setup()
4846 *rval = ddi_check_dma_handle(pkt->pkt_resp_dma); in ql_cmd_setup()
7906 sp->pkt->pkt_resp_dma, in ql_done()