Searched refs:dma_elem (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad.c537 struct bfa_mem_dma_s *dma_info, *dma_elem; bfad_hal_mem_release() local
552 dma_elem = (struct bfa_mem_dma_s *) dm_qe; bfad_hal_mem_release()
554 dma_elem->mem_len, dma_elem->kva, bfad_hal_mem_release()
555 (dma_addr_t) dma_elem->dma); bfad_hal_mem_release()
599 struct bfa_mem_dma_s *dma_info, *dma_elem; bfad_hal_mem_alloc() local
627 dma_elem = (struct bfa_mem_dma_s *) dm_qe; bfad_hal_mem_alloc()
628 dma_elem->kva = dma_alloc_coherent(&bfad->pcidev->dev, bfad_hal_mem_alloc()
629 dma_elem->mem_len, bfad_hal_mem_alloc()
631 if (dma_elem->kva == NULL) { bfad_hal_mem_alloc()
636 dma_elem->dma = phys_addr; bfad_hal_mem_alloc()
637 memset(dma_elem->kva, 0, dma_elem->mem_len); bfad_hal_mem_alloc()
H A Dbfa_core.c1824 struct bfa_mem_dma_s *dma_info, *dma_elem; bfa_attach() local
1841 dma_elem = (struct bfa_mem_dma_s *) dm_qe; bfa_attach()
1842 dma_elem->kva_curp = dma_elem->kva; bfa_attach()
1843 dma_elem->dma_curp = dma_elem->dma; bfa_attach()

Completed in 99 milliseconds