Searched refs:vdpa_dev (Results 1 – 2 of 2) sorted by relevance
408 static struct ifcvf_adapter *vdpa_to_adapter(struct vdpa_device *vdpa_dev) in vdpa_to_adapter() argument410 return container_of(vdpa_dev, struct ifcvf_adapter, vdpa); in vdpa_to_adapter()413 static struct ifcvf_hw *vdpa_to_vf(struct vdpa_device *vdpa_dev) in vdpa_to_vf() argument415 struct ifcvf_adapter *adapter = vdpa_to_adapter(vdpa_dev); in vdpa_to_vf()420 static u64 ifcvf_vdpa_get_device_features(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_device_features() argument422 struct ifcvf_adapter *adapter = vdpa_to_adapter(vdpa_dev); in ifcvf_vdpa_get_device_features()423 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_get_device_features()438 static int ifcvf_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features) in ifcvf_vdpa_set_driver_features() argument440 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_set_driver_features()452 static u64 ifcvf_vdpa_get_driver_features(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_driver_features() argument[all …]
111 __ATTRIBUTE_GROUPS(vdpa_dev);