search for: vp_legacy_set_status

Displaying 1 result from an estimated 1 matches for "vp_legacy_set_status".

Did you mean: vp_legacy_get_status
2023 Apr 11
0
[PATCH] virtio_pci: Wait for legacy device to be reset
...t; > > > > > +#include <linux/delay.h> > > > #include "linux/virtio_pci_legacy.h" > > > #include "virtio_pci_common.h" > > > > > > @@ -97,7 +98,8 @@ static void vp_reset(struct virtio_device *vdev) > > > vp_legacy_set_status(&vp_dev->ldev, 0); > > > /* Flush out the status write, and flush in device writes, > > > * including MSi-X interrupts, if any. */ > > > - vp_legacy_get_status(&vp_dev->ldev); > > > + while (vp_legacy_get_status(&vp_...