Searched refs:fbit (Results 1 – 2 of 2) sorted by relevance
101 unsigned int fbit);109 unsigned int fbit) in virtio_has_feature() argument112 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) \ argument133 virtio_config_buf((vdev), (fbit), (offset), (v), sizeof(*v))[all …]
96 unsigned int fbit) in virtio_check_driver_offered_feature() argument103 if (drv->feature_table[i] == fbit) in virtio_check_driver_offered_feature()