Home
last modified time | relevance | path

Searched refs:fbit (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/include/linux/
Dvirtio_config.h101 unsigned int fbit);
109 unsigned int fbit) in virtio_has_feature() argument
112 if (__builtin_constant_p(fbit)) in virtio_has_feature()
113 BUILD_BUG_ON(fbit >= 32); in virtio_has_feature()
115 BUG_ON(fbit >= 32); in virtio_has_feature()
117 if (fbit < VIRTIO_TRANSPORT_F_START) in virtio_has_feature()
118 virtio_check_driver_offered_feature(vdev, fbit); in virtio_has_feature()
120 return test_bit(fbit, vdev->features); in virtio_has_feature()
132 #define virtio_config_val(vdev, fbit, offset, v) \ argument
133 virtio_config_buf((vdev), (fbit), (offset), (v), sizeof(*v))
[all …]
/linux-2.6.39/drivers/virtio/
Dvirtio.c96 unsigned int fbit) in virtio_check_driver_offered_feature() argument
103 if (drv->feature_table[i] == fbit) in virtio_check_driver_offered_feature()