Lines Matching defs:features
56 for (i = 0; i < sizeof(dev->features)*8; i++)
62 static DEVICE_ATTR_RO(features);
197 dev_err(&dev->dev, "virtio: device refuses features: %x\n",
249 /* Figure out what features the device supports. */
252 /* Figure out what features the driver supports. */
273 dev->features = driver_features & device_features;
275 dev->features = driver_features_legacy & device_features;
277 /* Transport features always preserved to pass to finalize_features. */
287 u64 features = dev->features;
293 /* Did validation change any features? Then write them again. */
294 if (features != dev->features) {