Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/emul/
H A Dsandbox_hub.c215 struct usb_hub_status *hubsts = buffer; in sandbox_hub_submit_control_msg() local
217 hubsts->wHubStatus = 0; in sandbox_hub_submit_control_msg()
218 hubsts->wHubChange = 0; in sandbox_hub_submit_control_msg()
220 udev->act_len = sizeof(*hubsts); in sandbox_hub_submit_control_msg()
/openbmc/u-boot/common/
H A Dusb_hub.c625 struct usb_hub_status *hubsts; in usb_hub_configure() local
779 hubsts = (struct usb_hub_status *)buffer; in usb_hub_configure()
782 le16_to_cpu(hubsts->wHubStatus), in usb_hub_configure()
783 le16_to_cpu(hubsts->wHubChange)); in usb_hub_configure()
785 (le16_to_cpu(hubsts->wHubStatus) & HUB_STATUS_LOCAL_POWER) ? \ in usb_hub_configure()
788 (le16_to_cpu(hubsts->wHubStatus) & HUB_STATUS_OVERCURRENT) ? \ in usb_hub_configure()