Searched refs:pdsc_dev (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/vfio/pci/pds/ |
H A D | dirty.c | 39 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_print_guest_region_info() local 53 if (dma_mapping_error(pdsc_dev, regions_dma)) 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 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 256 if (dma_mapping_error(pdsc_dev, regions_dma)) { in pds_vfio_dirty_enable() 330 struct device *pdsc_dev = &pci_physfn(pdev)->dev; in pds_vfio_dirty_seq_ack() local 373 err = dma_map_sgtable(pdsc_dev, &sg_table, dma_dir, 0); in pds_vfio_dirty_seq_ack() [all …]
|
H A D | cmds.c | 290 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()
|