Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vfio/platform/
H A 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,
H A 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()
90 struct vfio_platform_device *vdev = dev_get_drvdata(&pdev->dev); in vfio_platform_remove()
H A 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()
102 struct vfio_platform_device *vdev = dev_get_drvdata(&adev->dev); in vfio_amba_remove()
H A Dvfio_platform_common.c219 struct vfio_platform_device *vdev = in vfio_platform_close_device()
220 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_close_device()
239 struct vfio_platform_device *vdev = in vfio_platform_open_device()
240 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_open_device()
278 struct vfio_platform_device *vdev = in vfio_platform_ioctl()
279 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_ioctl()
443 struct vfio_platform_device *vdev = in vfio_platform_read()
444 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_read()
521 struct vfio_platform_device *vdev = in vfio_platform_write()
522 container_of(core_vdev, struct vfio_platform_device, vdev); in vfio_platform_write()
[all …]
H A 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()
182 static int vfio_set_trigger(struct vfio_platform_device *vdev, int index, in vfio_set_trigger()
215 static int vfio_platform_set_irq_trigger(struct vfio_platform_device *vdev, in vfio_platform_set_irq_trigger()
253 int vfio_platform_set_irqs_ioctl(struct vfio_platform_device *vdev, in vfio_platform_set_irqs_ioctl()
257 int (*func)(struct vfio_platform_device *vdev, unsigned index, in vfio_platform_set_irqs_ioctl()
287 int vfio_platform_irq_init(struct vfio_platform_device *vdev) in vfio_platform_irq_init()
351 void vfio_platform_irq_cleanup(struct vfio_platform_device *vdev) in vfio_platform_irq_cleanup()
/openbmc/linux/drivers/vfio/platform/reset/
H A Dvfio_platform_calxedaxgmac.c49 static int vfio_platform_calxedaxgmac_reset(struct vfio_platform_device *vdev) in vfio_platform_calxedaxgmac_reset()
H A Dvfio_platform_bcmflexrm.c69 static int vfio_platform_bcmflexrm_reset(struct vfio_platform_device *vdev) in vfio_platform_bcmflexrm_reset()
H A Dvfio_platform_amdxgbe.c48 static int vfio_platform_amdxgbe_reset(struct vfio_platform_device *vdev) in vfio_platform_amdxgbe_reset()