Lines Matching refs:features
135 __le32 features;
796 struct virtio_feature_desc *features;
805 features = ccw_device_dma_zalloc(vcdev->cdev, sizeof(*features),
807 if (!features) {
812 features->index = 0;
815 ccw->count = sizeof(*features);
822 rc = le32_to_cpu(features->features);
828 features->index = 1;
831 ccw->count = sizeof(*features);
834 rc |= (u64)le32_to_cpu(features->features) << 32;
837 ccw_device_dma_free(vcdev->cdev, features, sizeof(*features));
852 struct virtio_feature_desc *features;
867 features = ccw_device_dma_zalloc(vcdev->cdev, sizeof(*features),
869 if (!features) {
873 /* Give virtio_ring a chance to accept features. */
876 /* Give virtio_ccw a chance to accept features. */
879 features->index = 0;
880 features->features = cpu_to_le32((u32)vdev->features);
884 ccw->count = sizeof(*features);
892 features->index = 1;
893 features->features = cpu_to_le32(vdev->features >> 32);
897 ccw->count = sizeof(*features);
901 ccw_device_dma_free(vcdev->cdev, features, sizeof(*features));