Searched refs:PMSG_IS_AUTO (Results 1 – 25 of 27) sorted by relevance
12
216 if (PMSG_IS_AUTO(msg)) in cdns3_controller_suspend()262 cdns_set_active(cdns, !PMSG_IS_AUTO(msg)); in cdns3_controller_resume()
554 PMSG_IS_AUTO(msg) || device_may_wakeup(dev)); in imx_controller_suspend()593 PMSG_IS_AUTO(msg) || device_may_wakeup(dev)); in imx_controller_resume()
1278 if (!PMSG_IS_AUTO(msg) && udev->parent && udev->bus->hs_companion) in usb_resume_device()1309 if (status && !PMSG_IS_AUTO(msg)) in usb_suspend_interface()1416 if (!PMSG_IS_AUTO(msg)) in usb_suspend_both()1431 if (udev->parent && !PMSG_IS_AUTO(msg)) in usb_suspend_both()
2251 (PMSG_IS_AUTO(msg) ? "auto-" : ""), in hcd_bus_suspend()2269 if (!PMSG_IS_AUTO(msg)) in hcd_bus_suspend()2304 (PMSG_IS_AUTO(msg) ? "auto-" : "")); in hcd_bus_resume()2310 if (!PMSG_IS_AUTO(msg)) { in hcd_bus_resume()
3421 if (PMSG_IS_AUTO(msg)) in usb_port_suspend()3432 if (PMSG_IS_AUTO(msg)) in usb_port_suspend()3451 else if (PMSG_IS_AUTO(msg) || usb_wakeup_enabled_descendants(udev) > 0) in usb_port_suspend()3492 if (!PMSG_IS_AUTO(msg)) in usb_port_suspend()3497 (PMSG_IS_AUTO(msg) ? "auto-" : ""), in usb_port_suspend()3729 (PMSG_IS_AUTO(msg) ? "auto-" : "")); in usb_port_resume()3874 if (PMSG_IS_AUTO(msg)) in hub_suspend()3885 if (PMSG_IS_AUTO(msg)) in hub_suspend()
425 do_wakeup = PMSG_IS_AUTO(msg) ? true : device_may_wakeup(dev); in suspend_common()
1255 if (!PMSG_IS_AUTO(message)) { in wdm_suspend()1261 if (PMSG_IS_AUTO(message) && in wdm_suspend()1276 if (!PMSG_IS_AUTO(message)) { in wdm_suspend()
1620 if (PMSG_IS_AUTO(message)) { in acm_suspend()
2018 if (!PMSG_IS_AUTO(msg) && !device_may_wakeup(dwc->dev)) { in dwc3_suspend_common()2040 if (PMSG_IS_AUTO(msg)) in dwc3_suspend_common()2077 if (!PMSG_IS_AUTO(msg) && !device_may_wakeup(dwc->dev)) { in dwc3_resume_common()2099 if (PMSG_IS_AUTO(msg)) in dwc3_resume_common()
292 if (PMSG_IS_AUTO(msg) || device_may_wakeup(dwc3_imx->dev)) in dwc3_imx8mp_suspend()
370 if (!(PMSG_IS_AUTO(message) && drv_data->tx_in_flight)) { in nfcmrvl_suspend()
557 #define PMSG_IS_AUTO(msg) (((msg).event & PM_EVENT_AUTO) != 0) macro
369 if (PMSG_IS_AUTO(message)) in picolcd_suspend()
550 if (PMSG_IS_AUTO(message)) { in usb_wwan_suspend()
935 if (PMSG_IS_AUTO(message)) { in sierra_suspend()
867 bool runtime = PMSG_IS_AUTO(state); in sata_acpi_set_state()
710 if (PMSG_IS_AUTO(message)) { in rtsx_usb_suspend()
1584 if (PMSG_IS_AUTO(message)) { in hid_suspend()1620 if (PMSG_IS_AUTO(message) && test_bit(HID_KEYS_PRESSED, &usbhid->iofl)) { in hid_suspend()
1088 if (!PMSG_IS_AUTO(message) && !chip->system_suspend) { in usb_audio_suspend()
4625 if (!(PMSG_IS_AUTO(message) && data->tx_in_flight)) { in btusb_suspend()4651 if (PMSG_IS_AUTO(message) && in btusb_suspend()4654 else if (!PMSG_IS_AUTO(message) && in btusb_suspend()
1734 if (ret && PMSG_IS_AUTO(message)) in smsc95xx_suspend()
1886 if (dev->txq.qlen && PMSG_IS_AUTO(message)) { in usbnet_suspend()
4792 PMSG_IS_AUTO(message)) { in lan78xx_suspend()4825 if (PMSG_IS_AUTO(message)) { in lan78xx_suspend()
2091 if (ret && PMSG_IS_AUTO(message)) in smsc75xx_suspend()
475 the :c:func:`PMSG_IS_AUTO` macro to the message argument to the ``suspend``