Searched refs:dma_mem (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
H A D | ql_xioctl.c | 1467 dma_mem_t *dma_mem; in ql_fcct() local 1516 dma_mem = (dma_mem_t *)kmem_zalloc(sizeof (dma_mem_t), KM_SLEEP); in ql_fcct() 1517 if (dma_mem == NULL) { in ql_fcct() 1552 if (ql_get_dma_mem(ha, dma_mem, pkt_size, LITTLE_ENDIAN_DMA, in ql_fcct() 1557 kmem_free(dma_mem, sizeof (dma_mem_t)); in ql_fcct() 1564 ddi_rep_put8(dma_mem->acc_handle, (uint8_t *)pld, in ql_fcct() 1565 (uint8_t *)dma_mem->bp, pld_byte_cnt, DDI_DEV_AUTOINCR); in ql_fcct() 1568 (void) ddi_dma_sync(dma_mem->dma_handle, 0, pld_byte_cnt, in ql_fcct() 1604 LE_32(LSD(dma_mem->cookie.dmac_laddress)); in ql_fcct() 1606 LE_32(MSD(dma_mem->cookie.dmac_laddress)); in ql_fcct() [all …]
|
/titanic_50/usr/src/uts/common/avs/ns/sdbc/ |
H A D | sd_tdaemon.c | 1117 static int *dma_mem = NULL; variable 1123 dma_mem = (int *)nsc_kmem_zalloc(4096, 0, dma_test); in init_dmatest() 1124 if (!dma_mem) { in init_dmatest() 1128 cmn_err(CE_NOTE, "!rm = 0x%p\n", (void *)dma_mem); in init_dmatest() 1136 nsc_kmem_free(dma_mem, 1); in release_dmatest() 1139 dma_mem = NULL; in release_dmatest() 1147 if (!dma_mem && init_dmatest()) { in test_dma_loop()
|
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/qlc/ |
H A D | ql_api.h | 1065 typedef struct dma_mem { struct
|