Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/usb/gadget/
Ddummy_hcd.c289 static void set_link_state_by_speed(struct dummy_hcd *dum_hcd) in set_link_state_by_speed() argument
291 struct dummy *dum = dum_hcd->dum; in set_link_state_by_speed()
293 if (dummy_hcd_to_hcd(dum_hcd)->speed == HCD_USB3) { in set_link_state_by_speed()
294 if ((dum_hcd->port_status & USB_SS_PORT_STAT_POWER) == 0) { in set_link_state_by_speed()
295 dum_hcd->port_status = 0; in set_link_state_by_speed()
298 dum_hcd->port_status &= ~(USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
300 if ((dum_hcd->old_status & in set_link_state_by_speed()
302 dum_hcd->port_status |= in set_link_state_by_speed()
306 dum_hcd->port_status |= (USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
308 if ((dum_hcd->old_status & in set_link_state_by_speed()
[all …]