Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/vfio/pci/pds/
Ddirty.c40 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_print_guest_region_info() local
53 dma_map_single(pdsc_dev, region_info, len, DMA_FROM_DEVICE); in pds_vfio_print_guest_region_info()
54 if (dma_mapping_error(pdsc_dev, regions_dma)) in pds_vfio_print_guest_region_info()
59 dma_unmap_single(pdsc_dev, regions_dma, len, DMA_FROM_DEVICE); in pds_vfio_print_guest_region_info()
116 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in __pds_vfio_dirty_free_sgl() local
118 dma_unmap_single(pdsc_dev, region->sgl_addr, in __pds_vfio_dirty_free_sgl()
148 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_dirty_alloc_sgl() local
161 sgl_addr = dma_map_single(pdsc_dev, sgl, sgl_size, DMA_BIDIRECTIONAL); in pds_vfio_dirty_alloc_sgl()
162 if (dma_mapping_error(pdsc_dev, sgl_addr)) { in pds_vfio_dirty_alloc_sgl()
249 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_dirty_enable() local
[all …]
Dcmds.c290 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_get_lm_state_cmd() local
299 err = pds_vfio_dma_map_lm_file(pdsc_dev, DMA_FROM_DEVICE, lm_file); in pds_vfio_get_lm_state_cmd()
314 pds_vfio_dma_unmap_lm_file(pdsc_dev, DMA_FROM_DEVICE, lm_file); in pds_vfio_get_lm_state_cmd()
328 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_set_lm_state_cmd() local
337 err = pds_vfio_dma_map_lm_file(pdsc_dev, DMA_TO_DEVICE, lm_file); in pds_vfio_set_lm_state_cmd()
353 pds_vfio_dma_unmap_lm_file(pdsc_dev, DMA_TO_DEVICE, lm_file); in pds_vfio_set_lm_state_cmd()