Lines Matching defs:features
54 for (i = 0; i < sizeof(dev->features)*8; i++)
60 static DEVICE_ATTR_RO(features);
199 dev_err(&dev->dev, "virtio: device refuses features: %x\n",
218 /* Figure out what features the device supports. */
221 /* Figure out what features the driver supports. */
242 dev->features = driver_features & device_features;
244 dev->features = driver_features_legacy & device_features;
246 /* Transport features always preserved to pass to finalize_features. */
256 u64 features = dev->features;
262 /* Did validation change any features? Then write them again. */
263 if (features != dev->features) {