Home
last modified time | relevance | path

Searched refs:regions_dma (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/vfio/pci/pds/
Ddirty.c42 dma_addr_t regions_dma; in pds_vfio_print_guest_region_info() local
52 regions_dma = in pds_vfio_print_guest_region_info()
54 if (dma_mapping_error(pdsc_dev, regions_dma)) in pds_vfio_print_guest_region_info()
57 err = pds_vfio_dirty_status_cmd(pds_vfio, regions_dma, &max_regions, 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()
254 dma_addr_t regions_dma = 0; in pds_vfio_dirty_enable() local
317 regions_dma = dma_map_single(pdsc_dev, (void *)region_info, len, in pds_vfio_dirty_enable()
319 if (dma_mapping_error(pdsc_dev, regions_dma)) { in pds_vfio_dirty_enable()
324 err = pds_vfio_dirty_enable_cmd(pds_vfio, regions_dma, num_ranges); in pds_vfio_dirty_enable()
325 dma_unmap_single(pdsc_dev, regions_dma, len, DMA_BIDIRECTIONAL); in pds_vfio_dirty_enable()
Dcmds.h17 u64 regions_dma, u8 *max_regions,
20 u64 regions_dma, u8 num_regions);
Dcmds.c388 u64 regions_dma, u8 *max_regions, u8 *num_regions) in pds_vfio_dirty_status_cmd() argument
402 cmd.lm_dirty_status.regions_dma = cpu_to_le64(regions_dma); in pds_vfio_dirty_status_cmd()
429 u64 regions_dma, u8 num_regions) in pds_vfio_dirty_enable_cmd() argument
435 .regions_dma = cpu_to_le64(regions_dma), in pds_vfio_dirty_enable_cmd()
/linux-6.12.1/include/linux/pds/
Dpds_adminq.h1039 __le64 regions_dma; member
1115 __le64 regions_dma; member