Home
last modified time | relevance | path

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

/linux/drivers/vfio/platform/
A Dvfio_platform_common.c42 reset_fn = iter->of_reset; in vfio_platform_lookup_reset()
110 return vdev->of_reset ? true : false; in vfio_platform_has_reset()
118 vdev->of_reset = vfio_platform_lookup_reset(vdev->compat, in vfio_platform_get_reset()
120 if (!vdev->of_reset) { in vfio_platform_get_reset()
122 vdev->of_reset = vfio_platform_lookup_reset(vdev->compat, in vfio_platform_get_reset()
126 return vdev->of_reset ? 0 : -ENOENT; in vfio_platform_get_reset()
134 if (vdev->of_reset) in vfio_platform_put_reset()
212 } else if (vdev->of_reset) { in vfio_platform_call_reset()
214 return vdev->of_reset(vdev); in vfio_platform_call_reset()
707 if (!strcmp(iter->compat, compat) && (iter->of_reset == fn)) { in vfio_platform_unregister_reset()
A Dvfio_platform_private.h67 int (*of_reset)(struct vfio_platform_device *vdev); member
78 vfio_platform_reset_fn_t of_reset; member
100 .of_reset = __reset, \

Completed in 6 milliseconds