Searched refs:device_features (Results 1 – 7 of 7) sorted by relevance
11 u64 device_features[VIRTIO_FEATURES_U64S]; in virtio_debug_device_features_show() local15 virtio_get_features(dev, device_features); in virtio_debug_device_features_show()17 if (virtio_features_test_bit(device_features, i)) in virtio_debug_device_features_show()
275 u64 device_features[VIRTIO_FEATURES_U64S]; in virtio_dev_probe() local283 virtio_get_features(dev, device_features); in virtio_dev_probe()305 if (virtio_features_test_bit(device_features, VIRTIO_F_VERSION_1)) { in virtio_dev_probe()308 device_features[i]; in virtio_dev_probe()312 device_features[0]); in virtio_dev_probe()320 if (virtio_features_test_bit(device_features, i)) in virtio_dev_probe()
508 u64 device_features; in octep_vdpa_dev_add() local524 device_features = oct_hw->features; in octep_vdpa_dev_add()526 if (config->device_features & ~device_features) { in octep_vdpa_dev_add()528 config->device_features, device_features); in octep_vdpa_dev_add()532 device_features &= config->device_features; in octep_vdpa_dev_add()535 oct_hw->features = device_features; in octep_vdpa_dev_add()536 dev_info(&pdev->dev, "Vdpa management device features : %llx\n", device_features); in octep_vdpa_dev_add()538 ret = octep_verify_features(device_features); in octep_vdpa_dev_add()
80 cat $debugfs/device_features |grep "^$feature$" &> /dev/null
3830 u64 device_features; in mlx5_vdpa_dev_add() local3839 device_features = mgtdev->mgtdev.supported_features; in mlx5_vdpa_dev_add()3841 if (add_config->device_features & ~device_features) { in mlx5_vdpa_dev_add()3844 add_config->device_features, device_features); in mlx5_vdpa_dev_add()3847 device_features &= add_config->device_features; in mlx5_vdpa_dev_add()3849 device_features &= ~BIT_ULL(VIRTIO_NET_F_MRG_RXBUF); in mlx5_vdpa_dev_add()3851 if (!(device_features & BIT_ULL(VIRTIO_F_VERSION_1) && in mlx5_vdpa_dev_add()3852 device_features & BIT_ULL(VIRTIO_F_ACCESS_PLATFORM))) { in mlx5_vdpa_dev_add()3892 (device_features & BIT_ULL(VIRTIO_F_VERSION_1)); in mlx5_vdpa_dev_add()3915 if (device_features & BIT_ULL(VIRTIO_NET_F_MTU)) { in mlx5_vdpa_dev_add()[all …]
660 add_config->device_features & ~pdsv->supported_features; in pds_vdpa_dev_add()668 pdsv->supported_features = add_config->device_features; in pds_vdpa_dev_add()
107 u64 device_features; member618 return dev->device_features; in vduse_vdpa_get_device_features()1858 dev->device_features = config->features; in vduse_create_dev()