Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/gadget/udc/
Ddummy_hcd.c372 static void set_link_state_by_speed(struct dummy_hcd *dum_hcd) in set_link_state_by_speed() argument
374 struct dummy *dum = dum_hcd->dum; in set_link_state_by_speed()
376 if (dummy_hcd_to_hcd(dum_hcd)->speed == HCD_USB3) { in set_link_state_by_speed()
377 if ((dum_hcd->port_status & USB_SS_PORT_STAT_POWER) == 0) { in set_link_state_by_speed()
378 dum_hcd->port_status = 0; in set_link_state_by_speed()
381 dum_hcd->port_status &= ~(USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
383 if ((dum_hcd->old_status & in set_link_state_by_speed()
385 dum_hcd->port_status |= in set_link_state_by_speed()
389 dum_hcd->port_status |= (USB_PORT_STAT_CONNECTION | in set_link_state_by_speed()
391 if ((dum_hcd->old_status & in set_link_state_by_speed()
[all …]