Home
last modified time | relevance | path

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

/illumos-gate/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.c3912 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, in emlxs_fct_pkt_comp()
3930 if (emlxs_fm_check_dma_handle(hba, pkt->pkt_resp_dma) in emlxs_fct_pkt_comp()
3935 pkt->pkt_resp_dma); in emlxs_fct_pkt_comp()
3956 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, in emlxs_fct_pkt_comp()
3974 if (emlxs_fm_check_dma_handle(hba, pkt->pkt_resp_dma) in emlxs_fct_pkt_comp()
3979 pkt->pkt_resp_dma); in emlxs_fct_pkt_comp()
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.c190 EMLXS_MPDATA_SYNC(pkt->pkt_resp_dma, 0, pkt->pkt_rsplen, in emlxs_handle_fcp_event()
H A Demlxs_solaris.c12285 if (emlxs_fm_check_dma_handle(hba, pkt->pkt_resp_dma) in emlxs_check_dma()
12290 pkt->pkt_resp_dma); in emlxs_check_dma()
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcsm.c1990 callback, NULL, &pkt->pkt_resp_dma) != DDI_SUCCESS) { in fcsm_cmd_cache_constructor()
1997 pkt->pkt_resp_dma = NULL; in fcsm_cmd_cache_constructor()
2027 if (pkt->pkt_resp_dma != NULL) { in fcsm_cmd_cache_destructor()
2028 ddi_dma_free_handle(&pkt->pkt_resp_dma); in fcsm_cmd_cache_destructor()
2160 ASSERT(pkt->pkt_resp_dma != NULL); in fcsm_alloc_cmd()
2162 rval = ddi_dma_mem_alloc(pkt->pkt_resp_dma, resp_len, in fcsm_alloc_cmd()
2185 rval = ddi_dma_addr_bind_handle(pkt->pkt_resp_dma, NULL, in fcsm_alloc_cmd()
2225 ddi_dma_nextcookie(pkt->pkt_resp_dma, &pkt_cookie); in fcsm_alloc_cmd()
2306 (void) ddi_dma_unbind_handle(pkt->pkt_resp_dma); in fcsm_free_cmd_dma()
H A Dfcp.c5976 fpkt->pkt_resp_dma == NULL); in fcp_alloc_dma()
5996 fpkt->pkt_resp_dma == NULL); in fcp_alloc_dma()
6125 ASSERT(fpkt->pkt_resp_dma != NULL && fpkt->pkt_cmd_dma != NULL); in fcp_free_dma()
10668 ASSERT(fpkt->pkt_resp_dma == NULL); in fcp_alloc_cmd_resp()
10670 cb, NULL, &fpkt->pkt_resp_dma) != DDI_SUCCESS) { in fcp_alloc_cmd_resp()
10677 rval = ddi_dma_mem_alloc(fpkt->pkt_resp_dma, resp_len, in fcp_alloc_cmd_resp()
10683 ddi_dma_free_handle(&fpkt->pkt_resp_dma); in fcp_alloc_cmd_resp()
10694 ddi_dma_free_handle(&fpkt->pkt_resp_dma); in fcp_alloc_cmd_resp()
10703 rval = ddi_dma_addr_bind_handle(fpkt->pkt_resp_dma, NULL, in fcp_alloc_cmd_resp()
10709 ddi_dma_free_handle(&fpkt->pkt_resp_dma); in fcp_alloc_cmd_resp()
[all …]
H A Dfcip.c6550 &fc_pkt->pkt_resp_dma) != DDI_SUCCESS) { in fcip_ipkt_alloc()
6554 if (ddi_dma_mem_alloc(fc_pkt->pkt_resp_dma, resplen, in fcip_ipkt_alloc()
6567 if (ddi_dma_addr_bind_handle(fc_pkt->pkt_resp_dma, NULL, in fcip_ipkt_alloc()
6596 ddi_dma_nextcookie(fc_pkt->pkt_resp_dma, &pkt_cookie); in fcip_ipkt_alloc()
6803 (void) ddi_dma_unbind_handle(fc_pkt->pkt_resp_dma); in fcip_free_pkt_dma()
6816 if (fc_pkt->pkt_resp_dma) { in fcip_free_pkt_dma()
6817 ddi_dma_free_handle(&fc_pkt->pkt_resp_dma); in fcip_free_pkt_dma()
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfctl.h164 ddi_dma_handle_t pkt_resp_dma; /* response DMA */ member
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_fm.c155 rval = qlc_fm_check_dma_handle(ha, pkt->pkt_resp_dma); in qlc_fm_check_pkt_dma_handle()
H A Dql_isr.c1553 (void) ddi_dma_sync(sp->pkt->pkt_resp_dma, 0, 0, in ql_fast_fcp_post()
3448 (void) ddi_dma_sync(srb->pkt->pkt_resp_dma, 0, 0, in ql_els_passthru_entry()
H A Dql_api.c5190 QL_CLEAR_DMA_HANDLE(pkt->pkt_resp_dma); in ql_cmd_setup()
5192 *rval = qlc_fm_check_dma_handle(ha, pkt->pkt_resp_dma); in ql_cmd_setup()
8336 sp->pkt->pkt_resp_dma, in ql_done()
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfp.c1893 &pkt->pkt_resp_dma) != DDI_SUCCESS) { in fp_cache_constructor()
1899 pkt->pkt_resp_dma = 0; in fp_cache_constructor()
1929 if (pkt->pkt_resp_dma) { in fp_cache_destructor()
1930 ddi_dma_free_handle(&pkt->pkt_resp_dma); in fp_cache_destructor()
2069 ASSERT(pkt->pkt_resp_dma != NULL); in fp_alloc_pkt()
2071 rval = ddi_dma_mem_alloc(pkt->pkt_resp_dma, resp_len, in fp_alloc_pkt()
2086 rval = ddi_dma_addr_bind_handle(pkt->pkt_resp_dma, NULL, in fp_alloc_pkt()
2115 ddi_dma_nextcookie(pkt->pkt_resp_dma, &pkt_cookie); in fp_alloc_pkt()
2234 (void) ddi_dma_unbind_handle(pkt->pkt_resp_dma); in fp_free_dma()