Home
last modified time | relevance | path

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

/openbmc/linux/drivers/usb/gadget/udc/
H A Dgr_udc.c1319 int powstate = !(dev->gadget.state == USB_STATE_NOTATTACHED || in gr_handle_state_changes() local
1323 if (!powstate && (status & GR_STATUS_VB)) { in gr_handle_state_changes()
1330 if (powstate && !(status & GR_STATUS_VB)) { in gr_handle_state_changes()