Searched refs:dma_elem (Results 1 – 2 of 2) sorted by relevance
534 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfad_hal_mem_release() local549 dma_elem = (struct bfa_mem_dma_s *) dm_qe; in bfad_hal_mem_release()551 dma_elem->mem_len, dma_elem->kva, in bfad_hal_mem_release()552 (dma_addr_t) dma_elem->dma); in bfad_hal_mem_release()596 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfad_hal_mem_alloc() local624 dma_elem = (struct bfa_mem_dma_s *) dm_qe; in bfad_hal_mem_alloc()625 dma_elem->kva = dma_alloc_coherent(&bfad->pcidev->dev, in bfad_hal_mem_alloc()626 dma_elem->mem_len, in bfad_hal_mem_alloc()628 if (dma_elem->kva == NULL) { in bfad_hal_mem_alloc()633 dma_elem->dma = phys_addr; in bfad_hal_mem_alloc()[all …]
1844 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfa_attach() local1861 dma_elem = (struct bfa_mem_dma_s *) dm_qe; in bfa_attach()1862 dma_elem->kva_curp = dma_elem->kva; in bfa_attach()1863 dma_elem->dma_curp = dma_elem->dma; in bfa_attach()