Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/vfio/pci/pds/
Ddirty.c39 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_print_guest_region_info() local
52 dma_map_single(pdsc_dev, region_info, len, DMA_FROM_DEVICE); in pds_vfio_print_guest_region_info()
53 if (dma_mapping_error(pdsc_dev, regions_dma)) in pds_vfio_print_guest_region_info()
58 dma_unmap_single(pdsc_dev, regions_dma, len, DMA_FROM_DEVICE); in pds_vfio_print_guest_region_info()
106 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in __pds_vfio_dirty_free_sgl() local
108 dma_unmap_single(pdsc_dev, bmp_info->sgl_addr, in __pds_vfio_dirty_free_sgl()
131 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in __pds_vfio_dirty_alloc_sgl() local
144 sgl_addr = dma_map_single(pdsc_dev, sgl, sgl_size, DMA_BIDIRECTIONAL); in __pds_vfio_dirty_alloc_sgl()
145 if (dma_mapping_error(pdsc_dev, sgl_addr)) { in __pds_vfio_dirty_alloc_sgl()
183 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()