host-drivers/base-driver/vca/vca_virtio/include/vca_virtio_config.h
static inline bool virtio_has_feature(const struct virtio_device *vdev,
				      unsigned int fbit)
{
	if (fbit < VIRTIO_TRANSPORT_F_START)
		vca_virtio_check_driver_offered_feature(vdev, fbit);

	return __virtio_test_bit(vdev, fbit);
}
/**
 * virtio_has_feature - helper to determine if this device has this feature.
 * @vdev: the device
 * @fbit: the feature bit
 */
helper to determine if this device has this feature.
@vdev: the device
@fbit: the feature bit
helper to determine if this device has this feature . @vdev : the device @fbit : the feature bit
static inline bool virtio_has_feature(const struct virtio_device *vdev,
				      unsigned int fbit)
{
	if (fbit < VIRTIO_TRANSPORT_F_START)
		vca_virtio_check_driver_offered_feature(vdev, fbit);
	return __virtio_test_bit(vdev, fbit);
}
static inline bool virtio_has_feature ( const struct virtio_device * vdev , unsigned int fbit ) { if ( fbit < VIRTIO_TRANSPORT_F_START ) vca_virtio_check_driver_offered_feature ( vdev , fbit ) ; return __virtio_test_bit ( vdev , fbit ) ; }
virtio_has_feature - helper to determine if this device has this feature.
virtio_has_feature - helper to determine if this device has this feature .