Home
last modified time | relevance | path

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

/openbmc/linux/drivers/vfio/platform/
H A Dvfio_platform_common.c42 reset_fn = iter->of_reset; in vfio_platform_lookup_reset()
109 return vdev->of_reset ? true : false; in vfio_platform_has_reset()
117 vdev->of_reset = vfio_platform_lookup_reset(vdev->compat, in vfio_platform_get_reset()
119 if (!vdev->of_reset) { in vfio_platform_get_reset()
121 vdev->of_reset = vfio_platform_lookup_reset(vdev->compat, in vfio_platform_get_reset()
125 return vdev->of_reset ? 0 : -ENOENT; in vfio_platform_get_reset()
133 if (vdev->of_reset) in vfio_platform_put_reset()
208 } else if (vdev->of_reset) { in vfio_platform_call_reset()
210 return vdev->of_reset(vdev); in vfio_platform_call_reset()
681 if (!strcmp(iter->compat, compat) && (iter->of_reset == fn)) { in vfio_platform_unregister_reset()
H A Dvfio_platform_private.h67 int (*of_reset)(struct vfio_platform_device *vdev); member
78 vfio_platform_reset_fn_t of_reset; member
111 .of_reset = __reset, \