/linux-4.1.27/drivers/acpi/ |
D | wakeup.c | 40 || !(device_may_wakeup(&dev->dev) in acpi_enable_wakeup_devices() 44 if (device_may_wakeup(&dev->dev)) in acpi_enable_wakeup_devices() 67 || !(device_may_wakeup(&dev->dev) in acpi_disable_wakeup_devices() 74 if (device_may_wakeup(&dev->dev)) in acpi_disable_wakeup_devices()
|
D | proc.c | 46 device_may_wakeup(&dev->dev) ? in acpi_system_wakeup_device_seq_show() 62 (device_may_wakeup(&dev->dev) || in acpi_system_wakeup_device_seq_show() 63 device_may_wakeup(ldev)) ? in acpi_system_wakeup_device_seq_show() 86 bool enable = !device_may_wakeup(entry->dev); in physical_device_enable_wakeup() 119 bool enable = !device_may_wakeup(&dev->dev); in acpi_system_write_wakeup_device()
|
D | device_pm.c | 547 wakeup = device_may_wakeup(dev) && adev->wakeup.flags.valid in acpi_dev_pm_get_state() 885 wakeup = device_may_wakeup(dev) && acpi_device_can_wakeup(adev); in acpi_dev_suspend_late() 935 || device_may_wakeup(dev) != !!adev->wakeup.prepare_count) in acpi_subsys_prepare()
|
/linux-4.1.27/drivers/input/misc/ |
D | e3x0-button.c | 50 if (device_may_wakeup(dev)) in e3x0_button_suspend() 60 if (device_may_wakeup(dev)) in e3x0_button_resume()
|
D | 88pm860x_onkey.c | 120 if (device_may_wakeup(dev)) in pm860x_onkey_suspend() 129 if (device_may_wakeup(dev)) in pm860x_onkey_resume()
|
D | max8925_onkey.c | 142 if (device_may_wakeup(dev)) { in max8925_onkey_suspend() 156 if (device_may_wakeup(dev)) { in max8925_onkey_resume()
|
D | pmic8xxx-pwrkey.c | 60 if (device_may_wakeup(dev)) in pmic8xxx_pwrkey_suspend() 70 if (device_may_wakeup(dev)) in pmic8xxx_pwrkey_resume()
|
D | palmas-pwrbutton.c | 278 if (device_may_wakeup(dev)) in palmas_pwron_suspend() 297 if (device_may_wakeup(dev)) in palmas_pwron_resume()
|
D | pm8941-pwrkey.c | 137 if (device_may_wakeup(dev)) in pm8941_pwrkey_suspend() 147 if (device_may_wakeup(dev)) in pm8941_pwrkey_resume()
|
D | gp2ap002a00f.c | 234 if (device_may_wakeup(&client->dev)) { in gp2a_suspend() 252 if (device_may_wakeup(&client->dev)) { in gp2a_resume()
|
D | bfin_rotary.c | 256 if (device_may_wakeup(&pdev->dev)) in bfin_rotary_suspend() 271 if (device_may_wakeup(&pdev->dev)) in bfin_rotary_resume()
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-tegra.c | 389 device_may_wakeup(dev), info->tegra_rtc_irq); in tegra_rtc_suspend() 392 if (device_may_wakeup(dev)) in tegra_rtc_suspend() 403 device_may_wakeup(dev)); in tegra_rtc_resume() 405 if (device_may_wakeup(dev)) in tegra_rtc_resume()
|
D | rtc-coh901331.c | 223 if (device_may_wakeup(dev)) { in coh901331_suspend() 240 if (device_may_wakeup(dev)) { in coh901331_resume()
|
D | rtc-xgene.c | 221 if (device_may_wakeup(&pdev->dev)) { in xgene_rtc_suspend() 239 if (device_may_wakeup(&pdev->dev)) { in xgene_rtc_resume()
|
D | rtc-as3722.c | 229 if (device_may_wakeup(dev)) in as3722_rtc_suspend() 239 if (device_may_wakeup(dev)) in as3722_rtc_resume()
|
D | rtc-sa1100.c | 323 if (device_may_wakeup(dev)) in sa1100_rtc_suspend() 331 if (device_may_wakeup(dev)) in sa1100_rtc_resume()
|
D | rtc-armada38x.c | 277 if (device_may_wakeup(dev)) { in armada38x_rtc_suspend() 288 if (device_may_wakeup(dev)) { in armada38x_rtc_resume()
|
D | rtc-jz4740.c | 274 if (device_may_wakeup(dev)) in jz4740_rtc_suspend() 283 if (device_may_wakeup(dev)) in jz4740_rtc_resume()
|
D | rtc-bfin.c | 401 if (device_may_wakeup(dev)) { in bfin_rtc_suspend() 414 if (device_may_wakeup(dev)) in bfin_rtc_resume()
|
D | rtc-tps80031.c | 306 if (device_may_wakeup(dev)) in tps80031_rtc_suspend() 315 if (device_may_wakeup(dev)) in tps80031_rtc_resume()
|
D | rtc-tps6586x.c | 319 if (device_may_wakeup(dev)) in tps6586x_rtc_suspend() 328 if (device_may_wakeup(dev)) in tps6586x_rtc_resume()
|
D | rtc-tps65910.c | 307 if (device_may_wakeup(dev)) in tps65910_rtc_suspend() 316 if (device_may_wakeup(dev)) in tps65910_rtc_resume()
|
D | rtc-palmas.c | 336 if (device_may_wakeup(dev)) in palmas_rtc_suspend() 345 if (device_may_wakeup(dev)) in palmas_rtc_resume()
|
D | rtc-sirfsoc.c | 380 if (device_may_wakeup(dev) && !enable_irq_wake(rtcdrv->irq)) in sirfsoc_rtc_suspend() 432 if (device_may_wakeup(dev) && rtcdrv->irq_wake) { in sirfsoc_rtc_resume()
|
D | rtc-da9055.c | 328 if (!device_may_wakeup(&pdev->dev)) { in da9055_rtc_suspend() 347 if (!device_may_wakeup(&pdev->dev)) { in da9055_rtc_resume()
|
D | rtc-snvs.c | 322 if (device_may_wakeup(dev)) in snvs_rtc_suspend() 342 if (device_may_wakeup(dev)) in snvs_rtc_resume()
|
D | rtc-max8925.c | 297 if (device_may_wakeup(dev)) in max8925_rtc_suspend() 306 if (device_may_wakeup(dev)) in max8925_rtc_resume()
|
D | rtc-lpc32xx.c | 301 if (device_may_wakeup(&pdev->dev)) in lpc32xx_rtc_suspend() 315 if (rtc->irq >= 0 && device_may_wakeup(&pdev->dev)) in lpc32xx_rtc_resume()
|
D | rtc-pxa.c | 404 if (device_may_wakeup(dev)) in pxa_rtc_suspend() 413 if (device_may_wakeup(dev)) in pxa_rtc_resume()
|
D | rtc-at91rm9200.c | 480 if (device_may_wakeup(dev)) { in at91_rtc_suspend() 500 if (device_may_wakeup(dev)) { in at91_rtc_resume()
|
D | rtc-mxc.c | 454 if (device_may_wakeup(dev)) in mxc_rtc_suspend() 464 if (device_may_wakeup(dev)) in mxc_rtc_resume()
|
D | rtc-rk808.c | 310 if (device_may_wakeup(dev)) in rk808_rtc_suspend() 324 if (device_may_wakeup(dev)) in rk808_rtc_resume()
|
D | rtc-max77802.c | 459 if (device_may_wakeup(dev)) { in max77802_rtc_suspend() 470 if (device_may_wakeup(dev)) { in max77802_rtc_resume()
|
D | rtc-spear.c | 442 if (device_may_wakeup(&pdev->dev)) { in spear_rtc_suspend() 461 if (device_may_wakeup(&pdev->dev)) { in spear_rtc_resume()
|
D | rtc-88pm860x.c | 431 if (device_may_wakeup(dev)) in pm860x_rtc_suspend() 440 if (device_may_wakeup(dev)) in pm860x_rtc_resume()
|
D | rtc-at91sam9.c | 520 if (device_may_wakeup(dev) && (mr & AT91_RTT_ALMIEN)) { in at91_rtc_suspend() 545 if (device_may_wakeup(dev)) in at91_rtc_resume()
|
D | rtc-max77686.c | 486 if (device_may_wakeup(dev)) { in max77686_rtc_suspend() 497 if (device_may_wakeup(dev)) { in max77686_rtc_resume()
|
D | rtc-pm8xxx.c | 509 if (device_may_wakeup(dev)) in pm8xxx_rtc_resume() 519 if (device_may_wakeup(dev)) in pm8xxx_rtc_suspend()
|
D | rtc-hym8563.c | 506 if (device_may_wakeup(dev)) { in hym8563_suspend() 521 if (device_may_wakeup(dev)) in hym8563_resume()
|
D | rtc-ds1374.c | 692 if (client->irq >= 0 && device_may_wakeup(&client->dev)) in ds1374_suspend() 701 if (client->irq >= 0 && device_may_wakeup(&client->dev)) in ds1374_resume()
|
D | rtc-isl12057.c | 625 if (rtc_data->irq && device_may_wakeup(dev)) in isl12057_rtc_suspend() 635 if (rtc_data->irq && device_may_wakeup(dev)) in isl12057_rtc_resume()
|
D | rtc-omap.c | 710 if (device_may_wakeup(dev)) in omap_rtc_suspend() 730 if (device_may_wakeup(dev)) in omap_rtc_resume()
|
D | rtc-ds1343.c | 723 if (spi->irq >= 0 && device_may_wakeup(dev)) in ds1343_suspend() 733 if (spi->irq >= 0 && device_may_wakeup(dev)) in ds1343_resume()
|
D | rtc-wm831x.c | 363 if (wm831x_rtc->alarm_enabled && device_may_wakeup(&pdev->dev)) in wm831x_rtc_suspend()
|
D | rtc-s5m.c | 784 if (info->irq && device_may_wakeup(dev)) in s5m_rtc_resume() 795 if (info->irq && device_may_wakeup(dev)) in s5m_rtc_suspend()
|
D | rtc-ab-b5ze-s3.c | 987 if (device_may_wakeup(dev)) in abb5zes3_rtc_suspend() 997 if (device_may_wakeup(dev)) in abb5zes3_rtc_resume()
|
D | rtc-sh.c | 765 if (device_may_wakeup(dev)) in sh_rtc_suspend() 773 if (device_may_wakeup(dev)) in sh_rtc_resume()
|
D | rtc-cmos.c | 876 if (device_may_wakeup(dev)) in cmos_suspend() 936 if (device_may_wakeup(dev)) in cmos_resume()
|
D | rtc-s3c.c | 583 if (device_may_wakeup(dev) && !info->wake_en) { in s3c_rtc_suspend() 605 if (device_may_wakeup(dev) && info->wake_en) { in s3c_rtc_resume()
|
D | rtc-mrst.c | 430 if (device_may_wakeup(dev)) in mrst_suspend()
|
D | rtc-wm8350.c | 352 if (device_may_wakeup(&wm8350->rtc.pdev->dev) && in wm8350_rtc_suspend()
|
D | rtc-davinci.c | 416 alm->enabled = alm->pending && device_may_wakeup(dev); in davinci_rtc_read_alarm()
|
/linux-4.1.27/drivers/usb/phy/ |
D | phy-am335x.c | 105 if (device_may_wakeup(dev)) in am335x_phy_suspend() 120 if (device_may_wakeup(dev)) in am335x_phy_resume()
|
D | phy-gpio-vbus-usb.c | 358 if (device_may_wakeup(dev)) in gpio_vbus_pm_suspend() 368 if (device_may_wakeup(dev)) in gpio_vbus_pm_resume()
|
D | phy-mxs-usb.c | 546 if (device_may_wakeup(dev)) in mxs_phy_system_suspend() 556 if (device_may_wakeup(dev)) in mxs_phy_system_resume()
|
D | phy-msm-usb.c | 542 if (device_may_wakeup(phy->dev)) in msm_otg_suspend() 614 if (device_may_wakeup(phy->dev)) in msm_otg_resume()
|
/linux-4.1.27/drivers/mfd/ |
D | 88pm80x.c | 140 if (device_may_wakeup(chip->dev)) in pm80x_suspend() 152 if (device_may_wakeup(chip->dev)) in pm80x_resume()
|
D | max77843.c | 202 if (device_may_wakeup(dev)) in max77843_suspend() 213 if (device_may_wakeup(dev)) in max77843_resume()
|
D | max8925-i2c.c | 221 if (device_may_wakeup(dev) && chip->wakeup_flag) in max8925_suspend() 231 if (device_may_wakeup(dev) && chip->wakeup_flag) in max8925_resume()
|
D | sec-core.c | 449 if (device_may_wakeup(dev)) in sec_pmic_suspend() 470 if (device_may_wakeup(dev)) in sec_pmic_resume()
|
D | max8998.c | 280 if (device_may_wakeup(dev)) in max8998_suspend() 290 if (device_may_wakeup(dev)) in max8998_resume()
|
D | max77686.c | 358 if (device_may_wakeup(dev)) in max77686_suspend() 380 if (device_may_wakeup(dev)) in max77686_resume()
|
D | max77693.c | 339 if (device_may_wakeup(dev)) { in max77693_suspend() 352 if (device_may_wakeup(dev)) { in max77693_resume()
|
D | tc3589x.c | 456 if (!device_may_wakeup(&client->dev)) in tc3589x_suspend() 470 if (!device_may_wakeup(&client->dev)) in tc3589x_resume()
|
D | max14577.c | 501 if (device_may_wakeup(dev)) in max14577_suspend() 522 if (device_may_wakeup(dev)) in max14577_resume()
|
D | cros_ec.c | 172 if (device_may_wakeup(dev)) in cros_ec_suspend()
|
D | htc-egpio.c | 393 if (ei->chained_irq && device_may_wakeup(&pdev->dev)) in egpio_suspend() 402 if (ei->chained_irq && device_may_wakeup(&pdev->dev)) in egpio_resume()
|
D | max8997.c | 486 if (device_may_wakeup(dev)) in max8997_suspend() 496 if (device_may_wakeup(dev)) in max8997_resume()
|
D | stmpe.c | 1288 if (stmpe->irq >= 0 && device_may_wakeup(dev)) in stmpe_suspend() 1298 if (stmpe->irq >= 0 && device_may_wakeup(dev)) in stmpe_resume()
|
D | 88pm860x-core.c | 1228 if (device_may_wakeup(dev) && chip->wakeup_flag) in pm860x_suspend() 1238 if (device_may_wakeup(dev) && chip->wakeup_flag) in pm860x_resume()
|
/linux-4.1.27/include/linux/ |
D | pm_wakeup.h | 77 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function 163 static inline bool device_may_wakeup(struct device *dev) in device_may_wakeup() function
|
/linux-4.1.27/drivers/extcon/ |
D | extcon-usb-gpio.c | 181 if (device_may_wakeup(dev)) { in usb_extcon_suspend() 202 if (device_may_wakeup(dev)) { in usb_extcon_resume()
|
D | extcon-palmas.c | 255 if (device_may_wakeup(dev)) { in palmas_usb_suspend() 268 if (device_may_wakeup(dev)) { in palmas_usb_resume()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | zforce_ts.c | 473 if (ts->suspended && device_may_wakeup(&client->dev)) in zforce_irq() 500 if (!ts->suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread() 519 if (ts->suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread() 572 if (!ts->suspending && device_may_wakeup(&client->dev)) in zforce_irq_thread() 619 if (device_may_wakeup(&client->dev)) { in zforce_suspend() 661 if (device_may_wakeup(&client->dev)) { in zforce_resume()
|
D | migor_ts.c | 210 if (device_may_wakeup(&client->dev)) in migor_ts_suspend() 221 if (device_may_wakeup(&client->dev)) in migor_ts_resume()
|
D | eeti_ts.c | 280 if (device_may_wakeup(&client->dev)) in eeti_ts_suspend() 292 if (device_may_wakeup(&client->dev)) in eeti_ts_resume()
|
D | st1232.c | 251 if (device_may_wakeup(&client->dev)) { in st1232_ts_suspend() 266 if (device_may_wakeup(&client->dev)) { in st1232_ts_resume()
|
D | cy8ctmg110_ts.c | 299 if (device_may_wakeup(&client->dev)) in cy8ctmg110_suspend() 313 if (device_may_wakeup(&client->dev)) in cy8ctmg110_resume()
|
D | lpc32xx_ts.c | 347 if (device_may_wakeup(dev)) in lpc32xx_ts_suspend() 366 if (device_may_wakeup(dev)) in lpc32xx_ts_resume()
|
D | ili210x.c | 318 if (device_may_wakeup(&client->dev)) in ili210x_i2c_suspend() 328 if (device_may_wakeup(&client->dev)) in ili210x_i2c_resume()
|
D | ti_am335x_tsc.c | 500 if (device_may_wakeup(tscadc_dev->dev)) { in titsc_suspend() 515 if (device_may_wakeup(tscadc_dev->dev)) { in titsc_resume()
|
D | bu21013_ts.c | 659 if (device_may_wakeup(&client->dev)) in bu21013_suspend() 696 if (device_may_wakeup(&client->dev)) in bu21013_resume()
|
D | pixcir_i2c_ts.c | 359 if (device_may_wakeup(&client->dev)) { in pixcir_i2c_ts_suspend() 388 if (device_may_wakeup(&client->dev)) { in pixcir_i2c_ts_resume()
|
D | auo-pixcir-ts.c | 432 if (device_may_wakeup(&client->dev)) { in auo_pixcir_suspend() 461 if (device_may_wakeup(&client->dev)) { in auo_pixcir_resume()
|
D | edt-ft5x06.c | 1105 if (device_may_wakeup(dev)) in edt_ft5x06_ts_suspend() 1115 if (device_may_wakeup(dev)) in edt_ft5x06_ts_resume()
|
D | elants_i2c.c | 1202 if (device_may_wakeup(dev)) in elants_i2c_suspend() 1216 if (device_may_wakeup(dev) && ts->wake_irq_enabled) in elants_i2c_resume()
|
D | ads7846.c | 897 if (device_may_wakeup(&ts->spi->dev)) in ads7846_suspend() 918 if (device_may_wakeup(&ts->spi->dev)) in ads7846_resume()
|
D | wm97xx-core.c | 742 if (device_may_wakeup(&wm->input_dev->dev)) in wm97xx_suspend()
|
/linux-4.1.27/drivers/media/rc/ |
D | gpio-ir-recv.c | 211 if (device_may_wakeup(dev)) in gpio_ir_recv_suspend() 224 if (device_may_wakeup(dev)) in gpio_ir_recv_resume()
|
D | st_rc.c | 342 if (device_may_wakeup(dev)) { in st_rc_suspend()
|
D | winbond-cir.c | 706 if (wake_sc == INVALID_SCANCODE || !device_may_wakeup(dev)) { in wbcir_shutdown()
|
D | ene_ir.c | 1148 bool wake = device_may_wakeup(&dev->pnp_dev->dev); in ene_suspend()
|
/linux-4.1.27/include/linux/mfd/ |
D | 88pm80x.h | 351 if (device_may_wakeup(dev)) in pm80x_dev_suspend() 363 if (device_may_wakeup(dev)) in pm80x_dev_resume()
|
/linux-4.1.27/drivers/input/keyboard/ |
D | qt1070.c | 251 if (device_may_wakeup(dev)) in qt1070_suspend() 262 if (device_may_wakeup(dev)) in qt1070_resume()
|
D | max7359_keypad.c | 270 if (device_may_wakeup(&client->dev)) in max7359_suspend() 280 if (device_may_wakeup(&client->dev)) in max7359_resume()
|
D | st-keyscan.c | 227 if (device_may_wakeup(dev)) in keyscan_suspend() 245 if (device_may_wakeup(dev)) in keyscan_resume()
|
D | mpr121_touchkey.c | 274 if (device_may_wakeup(&client->dev)) in mpr_suspend() 287 if (device_may_wakeup(&client->dev)) in mpr_resume()
|
D | bf54x-keys.c | 361 if (device_may_wakeup(&pdev->dev)) in bfin_kpad_suspend() 375 if (device_may_wakeup(&pdev->dev)) in bfin_kpad_resume()
|
D | sh_keysc.c | 301 if (device_may_wakeup(dev)) { in sh_keysc_suspend() 317 if (device_may_wakeup(dev)) in sh_keysc_resume()
|
D | tca6416-keypad.c | 337 if (device_may_wakeup(dev)) in tca6416_keypad_suspend() 348 if (device_may_wakeup(dev)) in tca6416_keypad_resume()
|
D | ep93xx_keypad.c | 201 if (device_may_wakeup(&pdev->dev)) in ep93xx_keypad_suspend() 213 if (device_may_wakeup(&pdev->dev)) in ep93xx_keypad_resume()
|
D | spear-keyboard.c | 306 if (device_may_wakeup(&pdev->dev)) { in spear_kbd_suspend() 353 if (device_may_wakeup(&pdev->dev)) { in spear_kbd_resume()
|
D | nomadik-ske-keypad.c | 399 if (device_may_wakeup(dev)) in ske_keypad_suspend() 413 if (device_may_wakeup(dev)) in ske_keypad_resume()
|
D | tc3589x-keypad.c | 485 if (!device_may_wakeup(&pdev->dev)) in tc3589x_keypad_suspend() 503 if (!device_may_wakeup(&pdev->dev)) in tc3589x_keypad_resume()
|
D | omap4-keypad.c | 432 if (device_may_wakeup(&pdev->dev)) { in omap4_keypad_suspend() 446 if (device_may_wakeup(&pdev->dev) && keypad_data->irq_wake_enabled) { in omap4_keypad_resume()
|
D | imx_keypad.c | 547 if (device_may_wakeup(&pdev->dev)) in imx_kbd_suspend() 560 if (device_may_wakeup(&pdev->dev)) in imx_kbd_resume()
|
D | matrix_keypad.c | 280 if (device_may_wakeup(&pdev->dev)) in matrix_keypad_suspend() 291 if (device_may_wakeup(&pdev->dev)) in matrix_keypad_resume()
|
D | pmic8xxx-keypad.c | 641 if (device_may_wakeup(dev)) { in pmic8xxx_kp_suspend() 661 if (device_may_wakeup(dev)) { in pmic8xxx_kp_resume()
|
D | samsung-keypad.c | 524 if (device_may_wakeup(&keypad->pdev->dev)) in samsung_keypad_toggle_wakeup() 528 if (device_may_wakeup(&keypad->pdev->dev)) in samsung_keypad_toggle_wakeup()
|
D | gpio_keys.c | 792 if (device_may_wakeup(dev)) { in gpio_keys_suspend() 815 if (device_may_wakeup(dev)) { in gpio_keys_resume()
|
D | tegra-kbc.c | 747 if (device_may_wakeup(&pdev->dev)) { in tegra_kbc_suspend() 785 if (device_may_wakeup(&pdev->dev)) { in tegra_kbc_resume()
|
D | pxa27x_keypad.c | 673 if (device_may_wakeup(&pdev->dev)) in pxa27x_keypad_suspend() 691 if (device_may_wakeup(&pdev->dev)) { in pxa27x_keypad_resume()
|
D | adp5588-keys.c | 624 if (device_may_wakeup(&client->dev)) in adp5588_suspend() 635 if (device_may_wakeup(&client->dev)) in adp5588_resume()
|
D | cros_ec_keyb.c | 173 if (device_may_wakeup(ec->dev)) in cros_ec_keyb_irq()
|
D | adp5589-keys.c | 1066 if (device_may_wakeup(&client->dev)) in adp5589_suspend() 1077 if (device_may_wakeup(&client->dev)) in adp5589_resume()
|
/linux-4.1.27/arch/x86/platform/olpc/ |
D | olpc-xo1-sci.c | 267 if (device_may_wakeup(&power_button_idev->dev)) in xo1_sci_suspend() 272 if (device_may_wakeup(&ebook_switch_idev->dev)) in xo1_sci_suspend() 277 if (!device_may_wakeup(&lid_switch_idev->dev)) { in xo1_sci_suspend()
|
/linux-4.1.27/drivers/power/ |
D | gpio-charger.c | 236 if (device_may_wakeup(dev)) in gpio_charger_suspend() 248 if (device_may_wakeup(dev) && gpio_charger->wakeup_enabled) in gpio_charger_resume()
|
D | pda_power.c | 471 if (device_may_wakeup(&pdev->dev)) { in pda_power_suspend() 483 if (device_may_wakeup(&pdev->dev)) { in pda_power_resume()
|
D | s3c_adc_battery.c | 410 if (device_may_wakeup(&pdev->dev)) in s3c_adc_bat_suspend() 427 if (device_may_wakeup(&pdev->dev)) in s3c_adc_bat_resume()
|
D | olpc_battery.c | 590 if (device_may_wakeup(&olpc_ac->dev)) in olpc_battery_suspend() 595 if (device_may_wakeup(&olpc_bat->dev)) in olpc_battery_suspend()
|
D | collie_battery.c | 299 if (device_may_wakeup(&dev->ucb->dev) && in collie_bat_suspend()
|
D | 88pm860x_battery.c | 1006 if (device_may_wakeup(dev)) in pm860x_battery_suspend() 1016 if (device_may_wakeup(dev)) in pm860x_battery_resume()
|
D | charger-manager.c | 1889 if (device_may_wakeup(dev)) { in cm_suspend_noirq()
|
/linux-4.1.27/drivers/pnp/pnpacpi/ |
D | core.c | 153 device_may_wakeup(&dev->dev)); in pnpacpi_suspend() 187 if (device_may_wakeup(&dev->dev)) in pnpacpi_resume()
|
/linux-4.1.27/drivers/pci/pcie/ |
D | pme.c | 384 if (device_may_wakeup(&dev->dev) in pcie_pme_check_wakeup() 402 if (device_may_wakeup(&port->dev)) { in pcie_pme_suspend()
|
/linux-4.1.27/drivers/usb/host/ |
D | ehci-sead3.c | 151 bool do_wakeup = device_may_wakeup(dev); in ehci_hcd_sead3_drv_suspend()
|
D | ehci-spear.c | 44 bool do_wakeup = device_may_wakeup(dev); in ehci_spear_drv_suspend()
|
D | ehci-msm.c | 168 bool do_wakeup = device_may_wakeup(dev); in ehci_msm_pm_suspend()
|
D | ohci-spear.c | 128 bool do_wakeup = device_may_wakeup(&pdev->dev); in spear_ohci_hcd_drv_suspend()
|
D | ohci-sm501.c | 222 bool do_wakeup = device_may_wakeup(dev); in ohci_sm501_suspend()
|
D | xhci-plat.c | 229 return xhci_suspend(xhci, device_may_wakeup(dev)); in xhci_plat_suspend()
|
D | ohci-exynos.c | 227 bool do_wakeup = device_may_wakeup(dev); in exynos_ohci_suspend()
|
D | ehci-exynos.c | 260 bool do_wakeup = device_may_wakeup(dev); in exynos_ehci_suspend()
|
D | ohci-st.c | 275 bool do_wakeup = device_may_wakeup(dev); in st_ohci_suspend()
|
D | ohci-da8xx.c | 388 bool do_wakeup = device_may_wakeup(&pdev->dev); in ohci_da8xx_suspend()
|
D | ohci-omap.c | 439 bool do_wakeup = device_may_wakeup(&pdev->dev); in ohci_omap_suspend()
|
D | ohci-s3c2410.c | 427 bool do_wakeup = device_may_wakeup(dev); in ohci_hcd_s3c2410_drv_suspend()
|
D | ehci-st.c | 297 bool do_wakeup = device_may_wakeup(dev); in st_ehci_suspend()
|
D | ohci-platform.c | 336 bool do_wakeup = device_may_wakeup(dev); in ohci_platform_suspend()
|
D | ehci-platform.c | 360 bool do_wakeup = device_may_wakeup(dev); in ehci_platform_suspend()
|
D | ohci-pxa27x.c | 555 bool do_wakeup = device_may_wakeup(dev); in ohci_hcd_pxa27x_drv_suspend()
|
D | ohci-at91.c | 618 ohci_at91->wakeup = device_may_wakeup(dev) in ohci_hcd_at91_drv_suspend()
|
D | uhci-hcd.c | 308 if (!device_may_wakeup(&rhdev->dev)) in suspend_rh()
|
D | ehci-fsl.c | 554 device_may_wakeup(dev)); in ehci_fsl_drv_suspend()
|
D | ohci-hub.c | 367 !device_may_wakeup(&ohci_to_hcd(ohci) in ohci_root_hub_state_changes()
|
D | oxu210hp-hcd.c | 3391 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_hub_control() 3494 if (device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_bus_suspend() 3513 if (!device_may_wakeup(&hcd->self.root_hub->dev)) in oxu_bus_suspend()
|
/linux-4.1.27/drivers/pcmcia/ |
D | at91_cf.c | 375 if (device_may_wakeup(&pdev->dev)) { in at91_cf_suspend() 388 if (device_may_wakeup(&pdev->dev)) { in at91_cf_resume()
|
/linux-4.1.27/kernel/power/ |
D | suspend_test.c | 135 if (!device_may_wakeup(candidate->dev.parent)) in has_wakealarm()
|
/linux-4.1.27/drivers/net/phy/ |
D | mdio_bus.c | 457 if (netdev->dev.parent && device_may_wakeup(netdev->dev.parent)) in mdio_bus_phy_may_suspend() 464 if (device_may_wakeup(&netdev->dev)) in mdio_bus_phy_may_suspend()
|
/linux-4.1.27/drivers/misc/ |
D | fsa9480.c | 485 if (device_may_wakeup(&client->dev) && client->irq) in fsa9480_suspend() 500 if (device_may_wakeup(&client->dev) && client->irq) in fsa9480_resume()
|
/linux-4.1.27/drivers/input/mouse/ |
D | cyapa.c | 629 if (device_may_wakeup(dev)) in cyapa_irq() 1296 power_mode = device_may_wakeup(dev) ? cyapa->suspend_power_mode in cyapa_suspend() 1305 if (device_may_wakeup(dev)) in cyapa_suspend() 1320 if (device_may_wakeup(dev) && cyapa->irq_wake) { in cyapa_resume()
|
D | elan_i2c_core.c | 1076 if (device_may_wakeup(dev)) { in elan_suspend() 1094 if (device_may_wakeup(dev) && data->irq_wake) { in elan_resume()
|
/linux-4.1.27/drivers/usb/core/ |
D | hcd-pci.c | 544 return suspend_common(dev, device_may_wakeup(dev)); in hcd_pci_suspend() 565 dev_dbg(dev, "wakeup: %d\n", device_may_wakeup(dev)); in hcd_pci_suspend_noirq()
|
D | driver.c | 1422 w = device_may_wakeup(&udev->dev); in choose_wakeup()
|
D | hcd.c | 529 tbuf[0] = (device_may_wakeup(&hcd->self.root_hub->dev) in rh_call_control()
|
/linux-4.1.27/sound/soc/ |
D | soc-jack.c | 277 if (device_may_wakeup(dev)) in gpio_handler()
|
/linux-4.1.27/drivers/usb/chipidea/ |
D | core.c | 952 if (device_may_wakeup(dev)) { in ci_suspend() 970 if (device_may_wakeup(dev)) in ci_resume()
|
D | ci_hdrc_imx.c | 382 if (device_may_wakeup(dev)) { in ci_hdrc_imx_suspend()
|
/linux-4.1.27/drivers/input/serio/ |
D | i8042.c | 1173 if (serio && device_may_wakeup(&serio->dev)) in i8042_pm_suspend() 1187 if (serio && device_may_wakeup(&serio->dev)) in i8042_pm_resume()
|
/linux-4.1.27/drivers/base/power/ |
D | main.c | 347 ((state.event & PM_EVENT_SLEEP) && device_may_wakeup(dev)) ? in pm_dev_dbg() 1364 if (pm_runtime_barrier(dev) && device_may_wakeup(dev)) in __device_suspend() 1568 dev->power.wakeup_path = device_may_wakeup(dev); in device_prepare()
|
D | sysfs.c | 341 ? (device_may_wakeup(dev) ? _enabled : _disabled) in wake_show()
|
D | domain.c | 910 return device_may_wakeup(dev) ? active_wakeup : !active_wakeup; in resume_needed() 939 if (pm_runtime_barrier(dev) && device_may_wakeup(dev)) in pm_genpd_prepare()
|
/linux-4.1.27/drivers/staging/rtl8188eu/os_dep/ |
D | usb_intf.c | 419 device_may_wakeup(&pusb_intf->dev)); in rtw_usb_if1_init()
|
/linux-4.1.27/drivers/media/rc/img-ir/ |
D | img-ir-hw.c | 1136 if (device_may_wakeup(dev) && img_ir_enable_wake(priv)) in img_ir_suspend() 1145 if (device_may_wakeup(dev) && img_ir_disable_wake(priv)) in img_ir_resume()
|
/linux-4.1.27/drivers/hid/i2c-hid/ |
D | i2c-hid.c | 1101 if (device_may_wakeup(&client->dev)) in i2c_hid_suspend() 1125 if (device_may_wakeup(&client->dev)) in i2c_hid_resume()
|
/linux-4.1.27/drivers/iio/adc/ |
D | ti_am335x_adc.c | 492 if (!device_may_wakeup(tscadc_dev->dev)) { in tiadc_suspend()
|
/linux-4.1.27/drivers/staging/rtl8723au/os_dep/ |
D | usb_intf.c | 450 device_may_wakeup(&pusb_intf->dev)); in rtw_usb_if1_init()
|
/linux-4.1.27/drivers/tty/serial/ |
D | xilinx_uartps.c | 1227 may_wake = device_may_wakeup(tty_dev); in cdns_uart_suspend() 1279 may_wake = device_may_wakeup(tty_dev); in cdns_uart_resume()
|
D | omap-serial.c | 1142 if (!device_may_wakeup(up->dev)) { in serial_omap_pm() 1481 if (device_may_wakeup(dev)) in serial_omap_suspend() 1493 if (device_may_wakeup(dev)) in serial_omap_resume()
|
D | serial_core.c | 2029 if (device_may_wakeup(tty_dev)) { in uart_suspend_port() 2094 if (!uport->suspended && device_may_wakeup(tty_dev)) { in uart_resume_port()
|
D | atmel_serial.c | 2539 atmel_port->may_wakeup = device_may_wakeup(&pdev->dev); in atmel_serial_suspend()
|
/linux-4.1.27/drivers/tty/serial/8250/ |
D | 8250_omap.c | 1248 if (device_may_wakeup(dev)) in omap8250_suspend() 1259 if (device_may_wakeup(dev)) in omap8250_resume()
|
/linux-4.1.27/sound/soc/codecs/ |
D | wm8350.c | 1285 if (device_may_wakeup(wm8350->dev)) in wm8350_hpl_jack_handler() 1303 if (device_may_wakeup(wm8350->dev)) in wm8350_hpr_jack_handler()
|
/linux-4.1.27/drivers/pci/ |
D | pci.c | 1800 if (enable && !runtime && !device_may_wakeup(&dev->dev)) in __pci_enable_wake() 1893 } else if (device_may_wakeup(&dev->dev)) { in pci_target_state() 1925 pci_enable_wake(dev, target_state, device_may_wakeup(&dev->dev)); in pci_prepare_to_sleep() 2027 || (device_can_wakeup(dev) && !device_may_wakeup(dev)) in pci_dev_keep_suspended()
|
D | pci-acpi.c | 523 if (device_may_wakeup(&dev->dev) != !!adev->wakeup.prepare_count) in acpi_pci_need_resume()
|
/linux-4.1.27/kernel/time/ |
D | alarmtimer.c | 87 if (!device_may_wakeup(rtc->dev.parent)) in alarmtimer_rtc_add_device()
|
/linux-4.1.27/drivers/net/ethernet/nxp/ |
D | lpc_eth.c | 1536 if (device_may_wakeup(&pdev->dev)) in lpc_eth_drv_suspend() 1561 if (device_may_wakeup(&pdev->dev)) in lpc_eth_drv_resume()
|
/linux-4.1.27/Documentation/power/ |
D | devices.txt | 185 The device_may_wakeup() routine returns true only if the "power.wakeup" object 190 device_may_wakeup() to decide what to do during a system sleep transition. 374 If device_may_wakeup(dev) returns true, the device should be prepared for
|
D | runtime_pm.txt | 602 for system sleep (device_may_wakeup(dev) returns 'false'). When this happens,
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
D | atmel_usba_udc.c | 2217 if (!device_may_wakeup(dev)) { in usba_udc_suspend() 2244 if (device_may_wakeup(dev) && gpio_is_valid(udc->vbus_pin)) in usba_udc_resume()
|
D | at91_udc.c | 1972 int wake = udc->driver && device_may_wakeup(&pdev->dev); in at91udc_suspend()
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 3030 if (device_may_wakeup(priv->device)) { in stmmac_suspend() 3071 if (device_may_wakeup(priv->device)) { in stmmac_resume()
|
/linux-4.1.27/drivers/mmc/host/ |
D | sdhci.c | 2737 if (!device_may_wakeup(mmc_dev(host->mmc))) { in sdhci_suspend_host() 2760 if (!device_may_wakeup(mmc_dev(host->mmc))) { in sdhci_resume_host()
|
/linux-4.1.27/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 1891 if (device_may_wakeup(priv->device)) { in xgmac_suspend()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 668 priv->wol_en = !!device_may_wakeup(&dev->dev); in gfar_set_wol()
|
D | fec_main.c | 2502 if (device_may_wakeup(&ndev->dev)) { in fec_enet_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 1886 if (device_may_wakeup(d) && priv->wolopts) in bcm_sysport_suspend()
|
D | tg3.c | 967 if (device_may_wakeup(&tp->pdev->dev) && in tg3_ape_driver_state_change() 4041 device_should_wake = device_may_wakeup(&tp->pdev->dev) && in tg3_power_down_prepare() 12278 if (device_may_wakeup(dp)) in tg3_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | sky2.c | 4983 wol_default = device_may_wakeup(&pdev->dev) ? WAKE_MAGIC : 0; in sky2_probe() 5212 pci_wake_from_d3(pdev, device_may_wakeup(&pdev->dev)); in sky2_shutdown()
|
D | skge.c | 4173 pci_wake_from_d3(pdev, device_may_wakeup(&pdev->dev)); in skge_shutdown()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.c | 3256 if (device_may_wakeup(d) && priv->wolopts) { in bcmgenet_suspend()
|