Searched refs:portsts (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/common/ |
D | usb_hub.c | 272 ALLOC_CACHE_ALIGN_BUFFER(struct usb_port_status, portsts, 1); in usb_hub_port_reset() 289 if (usb_get_port_status(dev, port + 1, portsts) < 0) { in usb_hub_port_reset() 294 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_reset() 295 portchange = le16_to_cpu(portsts->wPortChange); in usb_hub_port_reset() 344 ALLOC_CACHE_ALIGN_BUFFER(struct usb_port_status, portsts, 1); in usb_hub_port_connect_change() 349 ret = usb_get_port_status(dev, port + 1, portsts); in usb_hub_port_connect_change() 355 portstatus = le16_to_cpu(portsts->wPortStatus); in usb_hub_port_connect_change() 358 le16_to_cpu(portsts->wPortChange), in usb_hub_port_connect_change() 432 ALLOC_CACHE_ALIGN_BUFFER(struct usb_port_status, portsts, 1); in usb_scan_port() 451 ret = usb_get_port_status(dev, i + 1, portsts); in usb_scan_port() [all …]
|
/external/u-boot/drivers/usb/emul/ |
D | sandbox_hub.c | 232 struct usb_port_status *portsts = buffer; in sandbox_hub_submit_control_msg() local 236 portsts->wPortStatus = priv->status[port]; in sandbox_hub_submit_control_msg() 237 portsts->wPortChange = priv->change[port]; in sandbox_hub_submit_control_msg() 239 udev->act_len = sizeof(*portsts); in sandbox_hub_submit_control_msg()
|