Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/vdpa/ifcvf/
H A Difcvf_main.c158 static struct ifcvf_adapter *vdpa_to_adapter(struct vdpa_device *vdpa_dev) in vdpa_to_adapter() argument
160 return container_of(vdpa_dev, struct ifcvf_adapter, vdpa); in vdpa_to_adapter()
163 static struct ifcvf_hw *vdpa_to_vf(struct vdpa_device *vdpa_dev) in vdpa_to_vf() argument
165 struct ifcvf_adapter *adapter = vdpa_to_adapter(vdpa_dev); in vdpa_to_vf()
170 static u64 ifcvf_vdpa_get_features(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_features() argument
172 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_get_features()
180 static int ifcvf_vdpa_set_features(struct vdpa_device *vdpa_dev, u64 features) in ifcvf_vdpa_set_features() argument
182 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_set_features()
189 static u8 ifcvf_vdpa_get_status(struct vdpa_device *vdpa_dev) in ifcvf_vdpa_get_status() argument
191 struct ifcvf_hw *vf = vdpa_to_vf(vdpa_dev); in ifcvf_vdpa_get_status()
[all …]