Home
last modified time | relevance | path

Searched refs:vfio_platform_device (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/vfio/platform/
Dvfio_platform_private.h45 struct vfio_platform_device { struct
65 (*get_resource)(struct vfio_platform_device *vdev, int i); argument
66 int (*get_irq)(struct vfio_platform_device *vdev, int i); argument
67 int (*of_reset)(struct vfio_platform_device *vdev); argument
72 typedef int (*vfio_platform_reset_fn_t)(struct vfio_platform_device *vdev); argument
81 int vfio_platform_init_common(struct vfio_platform_device *vdev);
82 void vfio_platform_release_common(struct vfio_platform_device *vdev);
97 int vfio_platform_irq_init(struct vfio_platform_device *vdev);
98 void vfio_platform_irq_cleanup(struct vfio_platform_device *vdev);
100 int vfio_platform_set_irqs_ioctl(struct vfio_platform_device *vdev,
Dvfio_platform.c25 static struct resource *get_platform_resource(struct vfio_platform_device *vdev, in get_platform_resource()
33 static int get_platform_irq(struct vfio_platform_device *vdev, int i) in get_platform_irq()
42 struct vfio_platform_device *vdev = in vfio_platform_init_dev()
43 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_init_dev()
59 struct vfio_platform_device *vdev; in vfio_platform_probe()
62 vdev = vfio_alloc_device(vfio_platform_device, vdev, &pdev->dev, in vfio_platform_probe()
82 struct vfio_platform_device *vdev = in vfio_platform_release_dev()
83 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_release_dev()
91 struct vfio_platform_device *vdev = dev_get_drvdata(&pdev->dev); in vfio_platform_remove()
Dvfio_amba.c21 static struct resource *get_amba_resource(struct vfio_platform_device *vdev, in get_amba_resource()
32 static int get_amba_irq(struct vfio_platform_device *vdev, int i) in get_amba_irq()
46 struct vfio_platform_device *vdev = in vfio_amba_init_dev()
47 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_amba_init_dev()
70 struct vfio_platform_device *vdev; in vfio_amba_probe()
73 vdev = vfio_alloc_device(vfio_platform_device, vdev, &adev->dev, in vfio_amba_probe()
93 struct vfio_platform_device *vdev = in vfio_amba_release_dev()
94 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_amba_release_dev()
103 struct vfio_platform_device *vdev = dev_get_drvdata(&adev->dev); in vfio_amba_remove()
Dvfio_platform_common.c50 static int vfio_platform_acpi_probe(struct vfio_platform_device *vdev, in vfio_platform_acpi_probe()
71 static int vfio_platform_acpi_call_reset(struct vfio_platform_device *vdev, in vfio_platform_acpi_call_reset()
92 static bool vfio_platform_acpi_has_reset(struct vfio_platform_device *vdev) in vfio_platform_acpi_has_reset()
104 static bool vfio_platform_has_reset(struct vfio_platform_device *vdev) in vfio_platform_has_reset()
112 static int vfio_platform_get_reset(struct vfio_platform_device *vdev) in vfio_platform_get_reset()
128 static void vfio_platform_put_reset(struct vfio_platform_device *vdev) in vfio_platform_put_reset()
137 static int vfio_platform_regions_init(struct vfio_platform_device *vdev) in vfio_platform_regions_init()
194 static void vfio_platform_regions_cleanup(struct vfio_platform_device *vdev) in vfio_platform_regions_cleanup()
205 static int vfio_platform_call_reset(struct vfio_platform_device *vdev, in vfio_platform_call_reset()
222 struct vfio_platform_device *vdev = in vfio_platform_close_device()
[all …]
Dvfio_platform_irq.c41 static int vfio_platform_set_irq_mask(struct vfio_platform_device *vdev, in vfio_platform_set_irq_mask()
101 static int vfio_platform_set_irq_unmask(struct vfio_platform_device *vdev, in vfio_platform_set_irq_unmask()
172 static int vfio_set_trigger(struct vfio_platform_device *vdev, int index, in vfio_set_trigger()
218 static int vfio_platform_set_irq_trigger(struct vfio_platform_device *vdev, in vfio_platform_set_irq_trigger()
256 int vfio_platform_set_irqs_ioctl(struct vfio_platform_device *vdev, in vfio_platform_set_irqs_ioctl()
260 int (*func)(struct vfio_platform_device *vdev, unsigned index, in vfio_platform_set_irqs_ioctl()
282 int vfio_platform_irq_init(struct vfio_platform_device *vdev) in vfio_platform_irq_init()
320 void vfio_platform_irq_cleanup(struct vfio_platform_device *vdev) in vfio_platform_irq_cleanup()
/linux-6.1.9/drivers/vfio/platform/reset/
Dvfio_platform_calxedaxgmac.c49 static int vfio_platform_calxedaxgmac_reset(struct vfio_platform_device *vdev) in vfio_platform_calxedaxgmac_reset()
Dvfio_platform_bcmflexrm.c69 static int vfio_platform_bcmflexrm_reset(struct vfio_platform_device *vdev) in vfio_platform_bcmflexrm_reset()
Dvfio_platform_amdxgbe.c48 static int vfio_platform_amdxgbe_reset(struct vfio_platform_device *vdev) in vfio_platform_amdxgbe_reset()