do_wakeup
bool do_wakeup;
do_wakeup = iosf_mbi_pmic_punit_access_count == 0;
if (do_wakeup)
bool do_wakeup = false;
do_wakeup = true;
if (do_wakeup)
.redo = do_wakeup,
bool do_wakeup = false;
do_wakeup = true;
if (do_wakeup) {
hp->do_wakeup = 1;
hp->do_wakeup = 1;
if (hp->do_wakeup) {
hp->do_wakeup = 0;
int do_wakeup;
static int cdns3_gadget_suspend(struct cdns *cdns, bool do_wakeup)
static int cdnsp_gadget_suspend(struct cdns *cdns, bool do_wakeup)
int (*suspend)(struct cdns *cdns, bool do_wakeup);
bool do_wakeup;
do_wakeup = true;
do_wakeup = false;
do_wakeup = device_may_wakeup(dev);
if (do_wakeup && HCD_WAKEUP_PENDING(hcd))
if (do_wakeup && hcd->shared_hcd &&
retval = hcd->driver->pci_suspend(hcd, do_wakeup);
if ((retval == 0 && do_wakeup && HCD_WAKEUP_PENDING(hcd)) ||
(retval == 0 && do_wakeup && hcd->shared_hcd &&
#define fotg210_prepare_ports_for_controller_suspend(fotg210, do_wakeup) \
fotg210_adjust_port_wakeup_flags(fotg210, true, do_wakeup)
bool do_wakeup = device_may_wakeup(dev);
ret = ehci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
rc = ehci_suspend(hcd, do_wakeup);
int ehci_suspend(struct usb_hcd *hcd, bool do_wakeup)
ehci_prepare_ports_for_controller_suspend(ehci, do_wakeup);
if (do_wakeup && HCD_WAKEUP_PENDING(hcd)) {
bool suspending, bool do_wakeup)
if (!ehci_to_hcd(ehci)->self.root_hub->do_remote_wakeup || do_wakeup)
bool do_wakeup = device_may_wakeup(dev);
return ehci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
ret = ehci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
return ehci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
ret = ehci_suspend(hcd, do_wakeup);
#define ehci_prepare_ports_for_controller_suspend(ehci, do_wakeup) \
ehci_adjust_port_wakeup_flags(ehci, true, do_wakeup)
extern int ehci_suspend(struct usb_hcd *hcd, bool do_wakeup);
bool suspending, bool do_wakeup);
bool do_wakeup = device_may_wakeup(&pdev->dev);
ret = ohci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
int rc = ohci_suspend(hcd, do_wakeup);
int ohci_suspend(struct usb_hcd *hcd, bool do_wakeup)
if (do_wakeup && HCD_WAKEUP_PENDING(hcd)) {
bool do_wakeup = device_may_wakeup(&pdev->dev);
ret = ohci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
ret = ohci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
ret = ohci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
rc = ohci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
ret = ohci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(&pdev->dev);
ret = ohci_suspend(hcd, do_wakeup);
bool do_wakeup = device_may_wakeup(dev);
ret = ohci_suspend(hcd, do_wakeup);
extern int ohci_suspend(struct usb_hcd *hcd, bool do_wakeup);
static int uhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup)
if (do_wakeup) {
if (do_wakeup && HCD_WAKEUP_PENDING(hcd)) {
static int xhci_pci_suspend(struct usb_hcd *hcd, bool do_wakeup)
ret = xhci_suspend(xhci, do_wakeup);
static int xhci_pci_poweroff_late(struct usb_hcd *hcd, bool do_wakeup)
if (udev->do_remote_wakeup && do_wakeup)
bool do_wakeup)
if (!do_wakeup)
int xhci_suspend(struct xhci_hcd *xhci, bool do_wakeup)
xhci_disable_hub_port_wake(xhci, &xhci->usb3_rhub, do_wakeup);
xhci_disable_hub_port_wake(xhci, &xhci->usb2_rhub, do_wakeup);
int xhci_suspend(struct xhci_hcd *xhci, bool do_wakeup);
bool do_wakeup = false;
do_wakeup = true;
if (do_wakeup)
int (*pci_suspend)(struct usb_hcd *hcd, bool do_wakeup);
int (*pci_poweroff_late)(struct usb_hcd *hcd, bool do_wakeup);