Searched refs:of_reset (Results 1 – 2 of 2) sorted by relevance
42 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()
67 int (*of_reset)(struct vfio_platform_device *vdev); member78 vfio_platform_reset_fn_t of_reset; member100 .of_reset = __reset, \
Completed in 6 milliseconds