Home
last modified time | relevance | path

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

/linux/drivers/usb/cdns3/
H A Dhost.c141 static int cdns_host_resume(struct cdns *cdns, bool power_lost) in cdns_host_resume() argument
146 priv->power_lost = power_lost; in cdns_host_resume()
H A Dcore.c527 bool power_lost = cdns_power_is_lost(cdns); in cdns_resume() local
532 if (power_lost) { in cdns_resume()
555 cdns->roles[cdns->role]->resume(cdns, power_lost); in cdns_resume()
/linux/drivers/usb/host/
H A Dxhci-plat.h18 bool power_lost; member
H A Dxhci-plat.c485 static int xhci_plat_resume_common(struct device *dev, bool power_lost) in xhci_plat_resume_common() argument
508 ret = xhci_resume(xhci, power_lost || priv->power_lost, false); in xhci_plat_resume_common()
H A Dxhci-pci.c837 bool power_lost = msg.event == PM_EVENT_RESTORE; in xhci_pci_resume() local
869 return xhci_resume(xhci, power_lost, is_auto_resume); in xhci_pci_resume()
H A Dxhci.c1073 int xhci_resume(struct xhci_hcd *xhci, bool power_lost, bool is_auto_resume) in xhci_resume() argument
1100 power_lost = true; in xhci_resume()
1102 if (!power_lost) { in xhci_resume()
1142 if (!power_lost) in xhci_resume()
1144 power_lost = true; in xhci_resume()
1147 if (power_lost) { in xhci_resume()
H A Dxhci.h1894 int xhci_resume(struct xhci_hcd *xhci, bool power_lost, bool is_auto_resume);
/linux/drivers/usb/chipidea/
H A Dcore.c1427 bool power_lost; in ci_resume() local
1435 power_lost = !hw_read(ci, OP_ENDPTLISTADDR, ~0); in ci_resume()
1444 if (power_lost) { in ci_resume()
1452 ci_role(ci)->resume(ci, power_lost); in ci_resume()
1454 if (power_lost) in ci_resume()
H A Dhost.c468 static void ci_hdrc_host_resume(struct ci_hdrc *ci, bool power_lost) in ci_hdrc_host_resume() argument
470 ehci_resume(ci->hcd, power_lost); in ci_hdrc_host_resume()
H A Dci.h140 void (*resume)(struct ci_hdrc *ci, bool power_lost);
H A Dudc.c2388 static void udc_resume(struct ci_hdrc *ci, bool power_lost) in udc_resume() argument
2390 if (power_lost) { in udc_resume()