Searched refs:hdev (Results 1 – 3 of 3) sorted by relevance
62 static inline bool usb_hub_is_superspeed(struct usb_device *hdev) in usb_hub_is_superspeed() argument64 return hdev->descriptor.bDeviceProtocol == 3; in usb_hub_is_superspeed()815 struct udevice *hdev; in usb_hub_configure() local818 hdev = dev->dev->parent; in usb_hub_configure()819 while (!usb_hub_is_root_hub(hdev)) { in usb_hub_configure()821 hdev = hdev->parent; in usb_hub_configure()
179 struct vhost_dev *hdev; in vhost_vdpa_net_check_device_id() local181 hdev = (struct vhost_dev *)&net->dev; in vhost_vdpa_net_check_device_id()182 ret = hdev->vhost_ops->vhost_get_device_id(hdev, &device_id); in vhost_vdpa_net_check_device_id()
587 static void vhost_vdpa_init_svq(struct vhost_dev *hdev, struct vhost_vdpa *v) in vhost_vdpa_init_svq() argument591 shadow_vqs = g_ptr_array_new_full(hdev->nvqs, vhost_svq_free); in vhost_vdpa_init_svq()592 for (unsigned n = 0; n < hdev->nvqs; ++n) { in vhost_vdpa_init_svq()