Home
last modified time | relevance | path

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

/openbmc/u-boot/common/
H A Dusb_hub.c62 static inline bool usb_hub_is_superspeed(struct usb_device *hdev) in usb_hub_is_superspeed() argument
64 return hdev->descriptor.bDeviceProtocol == 3; in usb_hub_is_superspeed()
815 struct udevice *hdev; in usb_hub_configure() local
818 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()
/openbmc/qemu/net/
H A Dvhost-vdpa.c179 struct vhost_dev *hdev; in vhost_vdpa_net_check_device_id() local
181 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()
/openbmc/qemu/hw/virtio/
H A Dvhost-vdpa.c587 static void vhost_vdpa_init_svq(struct vhost_dev *hdev, struct vhost_vdpa *v) in vhost_vdpa_init_svq() argument
591 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()