Searched refs:dhe (Results 1 – 2 of 2) sorted by relevance
1037 free_dh_t *dhe; in ch_get_dma_handle() local1040 dhe = (free_dh_t *)kmem_zalloc(sizeof (*dhe), KM_SLEEP); in ch_get_dma_handle()1067 kmem_free(dhe, sizeof (*dhe)); in ch_get_dma_handle()1072 dhe->dhe_dh = (ulong_t)ch_dh; in ch_get_dma_handle()1074 return (dhe); in ch_get_dma_handle()1083 free_dh_t *dhe, *the; in ch_free_dma_handles() local1085 dhe = chp->ch_dh; in ch_free_dma_handles()1086 while (dhe) { in ch_free_dma_handles()1087 ddi_dma_free_handle((ddi_dma_handle_t *)&dhe->dhe_dh); in ch_free_dma_handles()1088 the = dhe; in ch_free_dma_handles()[all …]
1556 free_dh_t *dhe; in pe_dma_handle_init() local1561 dhe = ch_get_dvma_handle(chp); in pe_dma_handle_init()1562 if (dhe == NULL) in pe_dma_handle_init()1565 dhe->dhe_next = chp->ch_vdh; in pe_dma_handle_init()1566 chp->ch_vdh = dhe; in pe_dma_handle_init()1573 dhe = ch_get_dma_handle(chp); in pe_dma_handle_init()1574 if (dhe == NULL) in pe_dma_handle_init()1577 dhe->dhe_next = chp->ch_dh; in pe_dma_handle_init()1578 chp->ch_dh = dhe; in pe_dma_handle_init()