Lines Matching defs:Features
384 UINT64 Features;
430 // step 4a -- retrieve features. Note that we're past validating required
431 // features in VirtioNetGetFeatures().
433 Status = Dev->VirtIo->GetDeviceFeatures (Dev->VirtIo, &Features);
438 ASSERT (Features & VIRTIO_NET_F_MAC);
440 !!(Features & VIRTIO_NET_F_STATUS));
442 Features &= VIRTIO_NET_F_MAC | VIRTIO_NET_F_STATUS | VIRTIO_F_VERSION_1;
446 // discovery, and the device can also reject the selected set of features.
449 Status = Virtio10WriteFeatures (Dev->VirtIo, Features, &NextDevStat);
469 // step 5 -- keep only the features we want
472 Features &= ~(UINT64)VIRTIO_F_VERSION_1;
473 Status = Dev->VirtIo->SetGuestFeatures (Dev->VirtIo, Features);