/linux-4.1.27/kernel/power/ |
H A D | poweroff.c | 2 * poweroff.c - sysrq handler to gracefully power down machine. 29 /* run sysrq poweroff on boot cpu */ handle_poweroff() 35 .help_msg = "poweroff(o)",
|
/linux-4.1.27/drivers/power/reset/ |
H A D | restart-poweroff.c | 48 { .compatible = "restart-poweroff", }, 56 .name = "poweroff-restart", 63 MODULE_DESCRIPTION("restart poweroff driver"); 65 MODULE_ALIAS("platform:poweroff-restart");
|
H A D | gpio-poweroff.c | 93 { .compatible = "gpio-poweroff", }, 101 .name = "poweroff-gpio", 109 MODULE_DESCRIPTION("GPIO poweroff driver"); 111 MODULE_ALIAS("platform:poweroff-gpio");
|
H A D | syscon-poweroff.c | 35 /* Issue the poweroff */ syscon_poweroff() 40 pr_emerg("Unable to poweroff system\n"); syscon_poweroff() 85 { .compatible = "syscon-poweroff" }, 93 .name = "syscon-poweroff",
|
H A D | imx-snvs-poweroff.c | 4 * based on msm-poweroff.c 49 { .compatible = "fsl,sec-v4.0-poweroff", }, 57 .name = "imx-snvs-poweroff",
|
H A D | msm-poweroff.c | 42 /* TODO: Add poweroff capability */ do_msm_poweroff()
|
H A D | as3722-poweroff.c | 37 pr_err("AS3722 poweroff is not initialised\n"); as3722_pm_power_off()
|
H A D | at91-poweroff.c | 153 .name = "at91-poweroff",
|
H A D | gpio-restart.c | 15 * Based on the gpio-poweroff driver.
|
H A D | xgene-reboot.c | 25 * implements GPIO shutdown, use the gpio-poweroff.c driver.
|
H A D | ltc2952-poweroff.c | 221 "ltc2952-poweroff", ltc2952_poweroff_init() 316 .name = "ltc2952-poweroff",
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | reboot.c | 1 /* reboot.c: reboot/shutdown/halt/poweroff handling
|
/linux-4.1.27/drivers/video/fbdev/mmp/panel/ |
H A D | tpo_tj032md01bw.c | 79 static u16 poweroff[] = { variable 100 ret = spi_write(plat->spi, poweroff, sizeof(poweroff)); tpohvga_onoff() 102 dev_warn(panel->dev, "poweroff cmd failed(%d)\n", ret); tpohvga_onoff()
|
/linux-4.1.27/arch/powerpc/platforms/powernv/ |
H A D | opal-power.c | 36 pr_info("OPAL: poweroff requested\n"); opal_power_control_event()
|
/linux-4.1.27/drivers/gpu/drm/panel/ |
H A D | panel-sharp-lq101r1sx01.c | 194 goto poweroff; sharp_panel_prepare() 210 goto poweroff; sharp_panel_prepare() 217 goto poweroff; sharp_panel_prepare() 223 goto poweroff; sharp_panel_prepare() 238 goto poweroff; sharp_panel_prepare() 244 goto poweroff; sharp_panel_prepare() 254 poweroff: sharp_panel_prepare()
|
/linux-4.1.27/arch/x86/platform/iris/ |
H A D | iris.c | 48 MODULE_PARM_DESC(force, "Set to one to force poweroff handler installation."); 110 " The Iris poweroff handler will not be installed.\n"); iris_init()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | mac_oss.h | 67 __u8 rom_ctrl; /* [0x204-0x204] ROM cntl reg (for poweroff) */
|
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/ |
H A D | wii.c | 179 /* make sure that the poweroff GPIO is configured as output */ wii_power_off() 182 /* drive the poweroff GPIO high */ wii_power_off()
|
/linux-4.1.27/drivers/mfd/ |
H A D | wm831x-i2c.c | 90 .poweroff = wm831x_i2c_poweroff,
|
H A D | wm831x-spi.c | 81 .poweroff = wm831x_spi_poweroff,
|
H A D | mcp-sa11x0.c | 290 .poweroff = mcp_sa11x0_suspend,
|
H A D | retu-mfd.c | 182 /* Wait for poweroff */ retu_power_off()
|
H A D | twl4030-power.c | 665 /* Disable start on charger or VBUS as it can break poweroff */ twl4030_power_off()
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | hibernate.c | 70 * Save the current CPU state before suspend / poweroff.
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_pm.c | 33 return pm && pm->poweroff ? pm->poweroff(dev) : 0; do_scsi_poweroff() 339 .poweroff = scsi_bus_poweroff,
|
H A D | sd.c | 506 .poweroff = sd_suspend_system,
|
/linux-4.1.27/drivers/base/power/ |
H A D | generic_ops.c | 168 * pm_generic_poweroff - Generic poweroff callback for subsystems. 175 return pm && pm->poweroff ? pm->poweroff(dev) : 0; pm_generic_poweroff()
|
H A D | main.c | 263 return ops->poweroff; pm_op()
|
H A D | domain.c | 1923 genpd->domain.ops.poweroff = pm_genpd_suspend; pm_genpd_init()
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
H A D | kurobox_pro-setup.c | 293 const unsigned char poweroff[] = {0x00, 0x06}; kurobox_pro_power_off() local 311 kurobox_pro_miconsend(poweroff, sizeof(poweroff)); kurobox_pro_power_off()
|
H A D | terastation_pro2-setup.c | 272 const unsigned char poweroff[] = {0x00, 0x06}; tsp2_power_off() local 290 tsp2_miconsend(poweroff, sizeof(poweroff)); tsp2_power_off()
|
/linux-4.1.27/drivers/char/ipmi/ |
H A D | ipmi_poweroff.c | 44 #define PFX "IPMI poweroff: " 66 /* Holds the old poweroff function so we can restore it on removal. */ 443 * but they can handle a chassis poweroff or powercycle command. 618 /* Scan for a poweroff method */ ipmi_po_new_smi() 625 printk(KERN_ERR PFX "Unable to find a poweroff function that" ipmi_po_new_smi() 631 printk(KERN_INFO PFX "Found a %s style poweroff function\n", ipmi_po_new_smi()
|
/linux-4.1.27/arch/mips/emma/markeins/ |
H A D | setup.c | 55 markeins_led("poweroff."); markeins_machine_power_off()
|
/linux-4.1.27/arch/m68k/include/uapi/asm/ |
H A D | bootinfo-mac.h | 47 #define BI_MAC_PMU 0x801f /* Mac power management / poweroff hardware */
|
/linux-4.1.27/arch/arm/mach-u300/ |
H A D | regulator.c | 100 /* Register globally exported PM poweroff hook */ __u300_init_boardpower()
|
/linux-4.1.27/kernel/ |
H A D | reboot.c | 389 char poweroff_cmd[POWEROFF_CMD_PATH_LEN] = "/sbin/poweroff"; 438 * poweroff asap. Or not even bother syncing if we're doing an __orderly_poweroff() 458 * orderly_poweroff - Trigger an orderly system poweroff 459 * @force: force poweroff if command execution fails
|
H A D | sysctl_binary.c | 128 { CTL_INT, KERN_SPARC_SCONS_PWROFF, "scons-poweroff" },
|
H A D | sysctl.c | 551 .procname = "scons-poweroff",
|
/linux-4.1.27/include/linux/ |
H A D | pm.h | 96 * @poweroff(). If the transition is a suspend to memory or standby (that 121 * @poweroff(), can be executed (e.g. if the suspend callback fails for one 189 * @poweroff: Hibernation-specific, executed after saving a hibernation image. 192 * Subsystem-level @poweroff() is executed for all devices after invoking 195 * @poweroff_late: Continue operations started by @poweroff(). Analogous to 235 * @poweroff_noirq: Complete the actions started by @poweroff(). Analogous to 302 int (*poweroff)(struct device *dev); member in struct:dev_pm_ops 327 .poweroff = suspend_fn, \ 399 * ->poweroff() for all devices.
|
H A D | platform_device.h | 328 .poweroff = platform_pm_poweroff, \
|
H A D | libata.h | 220 ATA_FLAG_NO_POWEROFF_SPINDOWN = (1 << 11), /* don't spindown before poweroff */
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | ibmebus.c | 618 if (drv->pm->poweroff) ibmebus_bus_pm_poweroff() 619 ret = drv->pm->poweroff(dev); ibmebus_bus_pm_poweroff() 697 .poweroff = ibmebus_bus_pm_poweroff,
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
H A D | ast_drv.c | 172 .poweroff = ast_pm_poweroff,
|
/linux-4.1.27/arch/x86/platform/olpc/ |
H A D | olpc-xo1-pm.c | 147 /* If we have both addresses, we can override the poweroff hook */ xo1_pm_probe()
|
/linux-4.1.27/arch/powerpc/platforms/85xx/ |
H A D | sgy_cts1000.c | 63 * to handle the shutdown/poweroff. */ gpio_halt_irq()
|
/linux-4.1.27/drivers/pci/ |
H A D | pci-driver.c | 980 if (pm->poweroff) { pci_pm_poweroff() 983 error = pm->poweroff(dev); pci_pm_poweroff() 984 suspend_report_result(pm->poweroff, error); pci_pm_poweroff() 992 if (pcibios_pm_ops.poweroff) pci_pm_poweroff() 993 return pcibios_pm_ops.poweroff(dev); pci_pm_poweroff() 1210 .poweroff = pci_pm_poweroff,
|
/linux-4.1.27/drivers/ps3/ |
H A D | ps3-sys-manager.c | 217 * the guest must be fully prepared for a system poweroff prior to acking the 229 * A global variable used to force a poweroff when the power button has 651 dev_dbg(&dev->core, "%s:%d: forcing poweroff\n", ps3_sys_manager_final_restart()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | port.c | 434 /* Set default policy of port-poweroff disabled. */ usb_hub_create_port_device() 455 * Keep hidden the ability to enable port-poweroff if the hub usb_hub_create_port_device()
|
H A D | hcd-pci.c | 647 .poweroff = hcd_pci_suspend,
|
H A D | usb.c | 365 .poweroff = usb_dev_poweroff,
|
/linux-4.1.27/include/linux/rtc/ |
H A D | ds1685.h | 41 * @prepare_poweroff: pointer to platform pre-poweroff function. 68 * @plat_prepare_poweroff: platform-specific pre-poweroff function.
|
/linux-4.1.27/drivers/misc/mic/card/ |
H A D | mic_device.c | 299 * Inform the host about the shutdown status i.e. poweroff/restart etc. mic_driver_uninit()
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-da9055.c | 387 .poweroff = da9055_rtc_suspend,
|
H A D | rtc-wm831x.c | 471 .poweroff = wm831x_rtc_suspend,
|
H A D | rtc-ds1685.c | 687 /* Call the platform pre-poweroff function. Else, shutdown. */ ds1685_rtc_work_queue()
|
/linux-4.1.27/drivers/parisc/ |
H A D | power.c | 171 poweroff();
|
/linux-4.1.27/drivers/pci/pcie/ |
H A D | portdrv_pci.c | 101 .poweroff = pcie_port_device_suspend,
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
H A D | qxl_drv.c | 218 .poweroff = qxl_pm_freeze,
|
/linux-4.1.27/drivers/video/backlight/ |
H A D | ili9320.c | 294 /* Power down all displays on reboot, poweroff or halt */ ili9320_shutdown()
|
H A D | ltv350qv.c | 287 /* Power down all displays on reboot, poweroff or halt */ ltv350qv_shutdown()
|
H A D | pwm_bl.c | 392 .poweroff = pwm_backlight_suspend,
|
H A D | tdo24m.c | 429 /* Power down all displays on reboot, poweroff or halt */ tdo24m_shutdown()
|
H A D | ld9040.c | 789 /* Power down all displays on reboot, poweroff or halt. */ ld9040_shutdown()
|
H A D | s6e63m0.c | 834 /* Power down all displays on reboot, poweroff or halt. */ s6e63m0_shutdown()
|
/linux-4.1.27/drivers/pnp/ |
H A D | driver.c | 248 .poweroff = pnp_bus_poweroff,
|
/linux-4.1.27/arch/arm/mach-ixp4xx/ |
H A D | dsmg600-setup.c | 251 /* Request poweroff GPIO line */ dsmg600_gpio_init()
|
/linux-4.1.27/drivers/watchdog/ |
H A D | via_wdt.c | 43 #define VIA_WDT_PWROFF 0x04 /* 0: reset, 1: poweroff */
|
/linux-4.1.27/drivers/xen/ |
H A D | manage.c | 216 { "poweroff", do_poweroff }, shutdown_handler()
|
/linux-4.1.27/drivers/pci/host/ |
H A D | pci-tegra.c | 1078 goto poweroff; tegra_pcie_get_resources() 1085 goto poweroff; tegra_pcie_get_resources() 1092 goto poweroff; tegra_pcie_get_resources() 1099 goto poweroff; tegra_pcie_get_resources() 1106 goto poweroff; tegra_pcie_get_resources() 1114 goto poweroff; tegra_pcie_get_resources() 1119 poweroff: tegra_pcie_get_resources()
|
/linux-4.1.27/drivers/clk/st/ |
H A D | clkgen-pll.c | 269 u32 poweroff = CLKGEN_READ(pll, pdn_status); clkgen_pll_is_enabled() local 270 return !poweroff; clkgen_pll_is_enabled()
|
/linux-4.1.27/drivers/misc/mic/host/ |
H A D | mic_sysfs.c | 48 [MIC_POWER_OFF] = "poweroff",
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | dvo_ivch.c | 92 /** Read only bit indicating that the panel is not in a safe poweroff state. */
|
H A D | i915_drv.c | 1529 * @poweroff, @poweroff_late: called after writing the hibernation 1538 .poweroff = i915_pm_suspend,
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | z2.c | 688 /* We're using deep sleep as poweroff, so clear PSPR to ensure that z2_power_off()
|
/linux-4.1.27/drivers/regulator/ |
H A D | act8865-regulator.c | 493 dev_err(dev, "Failed to set poweroff capability, already defined\n"); act8865_pmic_probe()
|
/linux-4.1.27/drivers/acpi/ |
H A D | acpi_lpss.c | 647 .poweroff = acpi_subsys_suspend,
|
H A D | device_pm.c | 1040 .poweroff = acpi_subsys_suspend,
|
/linux-4.1.27/drivers/gpu/host1x/ |
H A D | bus.c | 303 .poweroff = pm_generic_poweroff,
|
/linux-4.1.27/drivers/base/ |
H A D | platform.c | 960 if (drv->pm->poweroff) platform_pm_poweroff() 961 ret = drv->pm->poweroff(dev); platform_pm_poweroff()
|
/linux-4.1.27/drivers/macintosh/ |
H A D | adb.c | 864 .poweroff = adb_poweroff,
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_mipi_dsi.c | 60 .poweroff = pm_generic_poweroff,
|
/linux-4.1.27/drivers/input/serio/ |
H A D | serio.c | 971 .poweroff = serio_suspend,
|
H A D | i8042.c | 1222 .poweroff = i8042_pm_reset,
|
/linux-4.1.27/drivers/amba/ |
H A D | bus.c | 179 .poweroff = pm_generic_poweroff,
|
/linux-4.1.27/drivers/ata/ |
H A D | sata_sil.c | 754 "on poweroff and hibernation\n"); sil_init_one()
|
H A D | sata_rcar.c | 1017 .poweroff = sata_rcar_suspend,
|
H A D | ata_piix.c | 1679 "on poweroff and hibernation\n"); piix_init_one()
|
H A D | ahci.c | 1513 "quirky BIOS, skipping spindown on poweroff\n"); ahci_init_one()
|
H A D | libata-core.c | 5455 .poweroff = ata_port_pm_poweroff,
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_drv.c | 544 .poweroff = radeon_pmops_freeze,
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | bfin-lq035q1-fb.c | 202 /* Power down all displays on reboot, poweroff or halt */ lq035q1_spidev_shutdown()
|
H A D | jz4740_fb.c | 783 .poweroff = jzfb_suspend,
|
H A D | atafb.c | 2687 /* (un)blank/poweroff
|
/linux-4.1.27/drivers/video/fbdev/matrox/ |
H A D | matroxfb_Ti3026.c | 175 #define TVP3026_XCLKCTRL_SRC_DIS 0x06 /* disable & poweroff internal clock */
|
H A D | matroxfb_DAC1064.c | 302 poweroff TMDS. But if we boot with DFP connected, DAC1064_global_init()
|
/linux-4.1.27/include/linux/i2c/ |
H A D | twl.h | 677 bool use_poweroff; /* Board is wired for TWL poweroff */
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | apm_32.c | 1951 /* Some bioses have a broken protected mode poweroff and need to use realmode */ set_realmode_power_off() 1957 "Using realmode poweroff only.\n", d->ident); set_realmode_power_off() 2236 { /* broken PM poweroff bios */
|
/linux-4.1.27/drivers/media/tuners/ |
H A D | tuner-xc2028.c | 1305 tuner_dbg("Putting xc2028/3028 into poweroff mode.\n"); xc2028_sleep()
|
/linux-4.1.27/drivers/phy/ |
H A D | phy-core.c | 329 dev_err(&phy->dev, "phy poweroff failed --> %d\n", ret); phy_power_off()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | wistron_btns.c | 1342 .poweroff = wistron_suspend,
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nouveau_drm.c | 1039 .poweroff = nouveau_pmops_freeze,
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | mmc.c | 1726 * In a specific case for poweroff notify, we need to resume the card mmc_shutdown()
|
H A D | core.c | 1679 * XO-1.5, require a short delay after poweroff before the card mmc_power_off()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | mmc_spi.c | 1460 ? "" : ", no poweroff", mmc_spi_probe()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
H A D | mpssd.c | 1325 if (!strcmp(shutdown_status, "poweroff")) get_mic_shutdown_status()
|
/linux-4.1.27/drivers/input/ |
H A D | input.c | 1748 .poweroff = input_dev_poweroff,
|
/linux-4.1.27/arch/x86/kernel/apic/ |
H A D | apic.c | 2376 * are needed on every CPU up until machine_halt/restart/poweroff.
|
/linux-4.1.27/arch/x86/lguest/ |
H A D | boot.c | 1574 * Last of all, we set the power management poweroff hook to point to lguest_init()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 2385 .poweroff = r8a66597_suspend,
|
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 2786 .poweroff = pch_gbe_suspend,
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
H A D | efx.c | 3173 .poweroff = efx_pm_poweroff,
|
/linux-4.1.27/drivers/video/fbdev/aty/ |
H A D | radeon_pm.c | 2666 /* If we support wakeup from poweroff, we save all regs we can including cfg radeonfb_pci_suspend()
|
/linux-4.1.27/sound/soc/ |
H A D | soc-core.c | 1845 .poweroff = snd_soc_poweroff,
|
/linux-4.1.27/drivers/net/ethernet/nvidia/ |
H A D | forcedeth.c | 6168 * If we really go for poweroff, we must not restore the MAC, nv_shutdown() 6177 * only put the device into D3 if we really go for poweroff. nv_shutdown()
|
/linux-4.1.27/drivers/net/ethernet/3com/ |
H A D | 3c59x.c | 890 .poweroff = vortex_suspend,
|
/linux-4.1.27/drivers/platform/x86/ |
H A D | sony-laptop.c | 3725 /* camera tests and poweron/poweroff */
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 7258 .poweroff = e1000e_pm_suspend,
|
/linux-4.1.27/drivers/net/ethernet/realtek/ |
H A D | r8169.c | 7807 .poweroff = rtl8169_suspend,
|