Searched refs:dum_hcd (Results 1 – 1 of 1) sorted by relevance
369 static void set_link_state_by_speed(struct dummy_hcd *dum_hcd) in set_link_state_by_speed() argument371 struct dummy *dum = dum_hcd->dum; in set_link_state_by_speed()373 if (dummy_hcd_to_hcd(dum_hcd)->speed == HCD_USB3) { in set_link_state_by_speed()374 if ((dum_hcd->port_status & USB_SS_PORT_STAT_POWER) == 0) { in set_link_state_by_speed()375 dum_hcd->port_status = 0; in set_link_state_by_speed()378 dum_hcd->port_status &= ~(USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()380 if ((dum_hcd->old_status & in set_link_state_by_speed()382 dum_hcd->port_status |= in set_link_state_by_speed()386 dum_hcd->port_status |= (USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()388 if ((dum_hcd->old_status & in set_link_state_by_speed()[all …]