Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/scsi/bfa/
Dbfad.c526 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfad_hal_mem_release() local
541 dma_elem = (struct bfa_mem_dma_s *) dm_qe; in bfad_hal_mem_release()
543 dma_elem->mem_len, dma_elem->kva, in bfad_hal_mem_release()
544 (dma_addr_t) dma_elem->dma); in bfad_hal_mem_release()
588 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfad_hal_mem_alloc() local
615 dma_elem = (struct bfa_mem_dma_s *) dm_qe; in bfad_hal_mem_alloc()
616 dma_elem->kva = dma_alloc_coherent(&bfad->pcidev->dev, in bfad_hal_mem_alloc()
617 dma_elem->mem_len, in bfad_hal_mem_alloc()
619 if (dma_elem->kva == NULL) { in bfad_hal_mem_alloc()
624 dma_elem->dma = phys_addr; in bfad_hal_mem_alloc()
[all …]
Dbfa_core.c1831 struct bfa_mem_dma_s *dma_info, *dma_elem; in bfa_attach() local
1848 dma_elem = (struct bfa_mem_dma_s *) dm_qe; in bfa_attach()
1849 dma_elem->kva_curp = dma_elem->kva; in bfa_attach()
1850 dma_elem->dma_curp = dma_elem->dma; in bfa_attach()