Searched refs:poweroff (Results 1 - 118 of 118) sorted by relevance

/linux-4.1.27/kernel/power/
H A Dpoweroff.c2 * 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 Drestart-poweroff.c48 { .compatible = "restart-poweroff", },
56 .name = "poweroff-restart",
63 MODULE_DESCRIPTION("restart poweroff driver");
65 MODULE_ALIAS("platform:poweroff-restart");
H A Dgpio-poweroff.c93 { .compatible = "gpio-poweroff", },
101 .name = "poweroff-gpio",
109 MODULE_DESCRIPTION("GPIO poweroff driver");
111 MODULE_ALIAS("platform:poweroff-gpio");
H A Dsyscon-poweroff.c35 /* 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 Dimx-snvs-poweroff.c4 * based on msm-poweroff.c
49 { .compatible = "fsl,sec-v4.0-poweroff", },
57 .name = "imx-snvs-poweroff",
H A Dmsm-poweroff.c42 /* TODO: Add poweroff capability */ do_msm_poweroff()
H A Das3722-poweroff.c37 pr_err("AS3722 poweroff is not initialised\n"); as3722_pm_power_off()
H A Dat91-poweroff.c153 .name = "at91-poweroff",
H A Dgpio-restart.c15 * Based on the gpio-poweroff driver.
H A Dxgene-reboot.c25 * implements GPIO shutdown, use the gpio-poweroff.c driver.
H A Dltc2952-poweroff.c221 "ltc2952-poweroff", ltc2952_poweroff_init()
316 .name = "ltc2952-poweroff",
/linux-4.1.27/arch/sparc/kernel/
H A Dreboot.c1 /* reboot.c: reboot/shutdown/halt/poweroff handling
/linux-4.1.27/drivers/video/fbdev/mmp/panel/
H A Dtpo_tj032md01bw.c79 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 Dopal-power.c36 pr_info("OPAL: poweroff requested\n"); opal_power_control_event()
/linux-4.1.27/drivers/gpu/drm/panel/
H A Dpanel-sharp-lq101r1sx01.c194 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 Diris.c48 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 Dmac_oss.h67 __u8 rom_ctrl; /* [0x204-0x204] ROM cntl reg (for poweroff) */
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
H A Dwii.c179 /* 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 Dwm831x-i2c.c90 .poweroff = wm831x_i2c_poweroff,
H A Dwm831x-spi.c81 .poweroff = wm831x_spi_poweroff,
H A Dmcp-sa11x0.c290 .poweroff = mcp_sa11x0_suspend,
H A Dretu-mfd.c182 /* Wait for poweroff */ retu_power_off()
H A Dtwl4030-power.c665 /* Disable start on charger or VBUS as it can break poweroff */ twl4030_power_off()
/linux-4.1.27/arch/arm/kernel/
H A Dhibernate.c70 * Save the current CPU state before suspend / poweroff.
/linux-4.1.27/drivers/scsi/
H A Dscsi_pm.c33 return pm && pm->poweroff ? pm->poweroff(dev) : 0; do_scsi_poweroff()
339 .poweroff = scsi_bus_poweroff,
H A Dsd.c506 .poweroff = sd_suspend_system,
/linux-4.1.27/drivers/base/power/
H A Dgeneric_ops.c168 * pm_generic_poweroff - Generic poweroff callback for subsystems.
175 return pm && pm->poweroff ? pm->poweroff(dev) : 0; pm_generic_poweroff()
H A Dmain.c263 return ops->poweroff; pm_op()
H A Ddomain.c1923 genpd->domain.ops.poweroff = pm_genpd_suspend; pm_genpd_init()
/linux-4.1.27/arch/arm/mach-orion5x/
H A Dkurobox_pro-setup.c293 const unsigned char poweroff[] = {0x00, 0x06}; kurobox_pro_power_off() local
311 kurobox_pro_miconsend(poweroff, sizeof(poweroff)); kurobox_pro_power_off()
H A Dterastation_pro2-setup.c272 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 Dipmi_poweroff.c44 #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 Dsetup.c55 markeins_led("poweroff."); markeins_machine_power_off()
/linux-4.1.27/arch/m68k/include/uapi/asm/
H A Dbootinfo-mac.h47 #define BI_MAC_PMU 0x801f /* Mac power management / poweroff hardware */
/linux-4.1.27/arch/arm/mach-u300/
H A Dregulator.c100 /* Register globally exported PM poweroff hook */ __u300_init_boardpower()
/linux-4.1.27/kernel/
H A Dreboot.c389 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 Dsysctl_binary.c128 { CTL_INT, KERN_SPARC_SCONS_PWROFF, "scons-poweroff" },
H A Dsysctl.c551 .procname = "scons-poweroff",
/linux-4.1.27/include/linux/
H A Dpm.h96 * @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 Dplatform_device.h328 .poweroff = platform_pm_poweroff, \
H A Dlibata.h220 ATA_FLAG_NO_POWEROFF_SPINDOWN = (1 << 11), /* don't spindown before poweroff */
/linux-4.1.27/arch/powerpc/kernel/
H A Dibmebus.c618 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 Dast_drv.c172 .poweroff = ast_pm_poweroff,
/linux-4.1.27/arch/x86/platform/olpc/
H A Dolpc-xo1-pm.c147 /* If we have both addresses, we can override the poweroff hook */ xo1_pm_probe()
/linux-4.1.27/arch/powerpc/platforms/85xx/
H A Dsgy_cts1000.c63 * to handle the shutdown/poweroff. */ gpio_halt_irq()
/linux-4.1.27/drivers/pci/
H A Dpci-driver.c980 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 Dps3-sys-manager.c217 * 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 Dport.c434 /* 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 Dhcd-pci.c647 .poweroff = hcd_pci_suspend,
H A Dusb.c365 .poweroff = usb_dev_poweroff,
/linux-4.1.27/include/linux/rtc/
H A Dds1685.h41 * @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 Dmic_device.c299 * Inform the host about the shutdown status i.e. poweroff/restart etc. mic_driver_uninit()
/linux-4.1.27/drivers/rtc/
H A Drtc-da9055.c387 .poweroff = da9055_rtc_suspend,
H A Drtc-wm831x.c471 .poweroff = wm831x_rtc_suspend,
H A Drtc-ds1685.c687 /* Call the platform pre-poweroff function. Else, shutdown. */ ds1685_rtc_work_queue()
/linux-4.1.27/drivers/parisc/
H A Dpower.c171 poweroff();
/linux-4.1.27/drivers/pci/pcie/
H A Dportdrv_pci.c101 .poweroff = pcie_port_device_suspend,
/linux-4.1.27/drivers/gpu/drm/qxl/
H A Dqxl_drv.c218 .poweroff = qxl_pm_freeze,
/linux-4.1.27/drivers/video/backlight/
H A Dili9320.c294 /* Power down all displays on reboot, poweroff or halt */ ili9320_shutdown()
H A Dltv350qv.c287 /* Power down all displays on reboot, poweroff or halt */ ltv350qv_shutdown()
H A Dpwm_bl.c392 .poweroff = pwm_backlight_suspend,
H A Dtdo24m.c429 /* Power down all displays on reboot, poweroff or halt */ tdo24m_shutdown()
H A Dld9040.c789 /* Power down all displays on reboot, poweroff or halt. */ ld9040_shutdown()
H A Ds6e63m0.c834 /* Power down all displays on reboot, poweroff or halt. */ s6e63m0_shutdown()
/linux-4.1.27/drivers/pnp/
H A Ddriver.c248 .poweroff = pnp_bus_poweroff,
/linux-4.1.27/arch/arm/mach-ixp4xx/
H A Ddsmg600-setup.c251 /* Request poweroff GPIO line */ dsmg600_gpio_init()
/linux-4.1.27/drivers/watchdog/
H A Dvia_wdt.c43 #define VIA_WDT_PWROFF 0x04 /* 0: reset, 1: poweroff */
/linux-4.1.27/drivers/xen/
H A Dmanage.c216 { "poweroff", do_poweroff }, shutdown_handler()
/linux-4.1.27/drivers/pci/host/
H A Dpci-tegra.c1078 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 Dclkgen-pll.c269 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 Dmic_sysfs.c48 [MIC_POWER_OFF] = "poweroff",
/linux-4.1.27/drivers/gpu/drm/i915/
H A Ddvo_ivch.c92 /** Read only bit indicating that the panel is not in a safe poweroff state. */
H A Di915_drv.c1529 * @poweroff, @poweroff_late: called after writing the hibernation
1538 .poweroff = i915_pm_suspend,
/linux-4.1.27/arch/arm/mach-pxa/
H A Dz2.c688 /* We're using deep sleep as poweroff, so clear PSPR to ensure that z2_power_off()
/linux-4.1.27/drivers/regulator/
H A Dact8865-regulator.c493 dev_err(dev, "Failed to set poweroff capability, already defined\n"); act8865_pmic_probe()
/linux-4.1.27/drivers/acpi/
H A Dacpi_lpss.c647 .poweroff = acpi_subsys_suspend,
H A Ddevice_pm.c1040 .poweroff = acpi_subsys_suspend,
/linux-4.1.27/drivers/gpu/host1x/
H A Dbus.c303 .poweroff = pm_generic_poweroff,
/linux-4.1.27/drivers/base/
H A Dplatform.c960 if (drv->pm->poweroff) platform_pm_poweroff()
961 ret = drv->pm->poweroff(dev); platform_pm_poweroff()
/linux-4.1.27/drivers/macintosh/
H A Dadb.c864 .poweroff = adb_poweroff,
/linux-4.1.27/drivers/gpu/drm/
H A Ddrm_mipi_dsi.c60 .poweroff = pm_generic_poweroff,
/linux-4.1.27/drivers/input/serio/
H A Dserio.c971 .poweroff = serio_suspend,
H A Di8042.c1222 .poweroff = i8042_pm_reset,
/linux-4.1.27/drivers/amba/
H A Dbus.c179 .poweroff = pm_generic_poweroff,
/linux-4.1.27/drivers/ata/
H A Dsata_sil.c754 "on poweroff and hibernation\n"); sil_init_one()
H A Dsata_rcar.c1017 .poweroff = sata_rcar_suspend,
H A Data_piix.c1679 "on poweroff and hibernation\n"); piix_init_one()
H A Dahci.c1513 "quirky BIOS, skipping spindown on poweroff\n"); ahci_init_one()
H A Dlibata-core.c5455 .poweroff = ata_port_pm_poweroff,
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_drv.c544 .poweroff = radeon_pmops_freeze,
/linux-4.1.27/drivers/video/fbdev/
H A Dbfin-lq035q1-fb.c202 /* Power down all displays on reboot, poweroff or halt */ lq035q1_spidev_shutdown()
H A Djz4740_fb.c783 .poweroff = jzfb_suspend,
H A Datafb.c2687 /* (un)blank/poweroff
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_Ti3026.c175 #define TVP3026_XCLKCTRL_SRC_DIS 0x06 /* disable & poweroff internal clock */
H A Dmatroxfb_DAC1064.c302 poweroff TMDS. But if we boot with DFP connected, DAC1064_global_init()
/linux-4.1.27/include/linux/i2c/
H A Dtwl.h677 bool use_poweroff; /* Board is wired for TWL poweroff */
/linux-4.1.27/arch/x86/kernel/
H A Dapm_32.c1951 /* 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 Dtuner-xc2028.c1305 tuner_dbg("Putting xc2028/3028 into poweroff mode.\n"); xc2028_sleep()
/linux-4.1.27/drivers/phy/
H A Dphy-core.c329 dev_err(&phy->dev, "phy poweroff failed --> %d\n", ret); phy_power_off()
/linux-4.1.27/drivers/input/misc/
H A Dwistron_btns.c1342 .poweroff = wistron_suspend,
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_drm.c1039 .poweroff = nouveau_pmops_freeze,
/linux-4.1.27/drivers/mmc/core/
H A Dmmc.c1726 * In a specific case for poweroff notify, we need to resume the card mmc_shutdown()
H A Dcore.c1679 * XO-1.5, require a short delay after poweroff before the card mmc_power_off()
/linux-4.1.27/drivers/mmc/host/
H A Dmmc_spi.c1460 ? "" : ", no poweroff", mmc_spi_probe()
/linux-4.1.27/Documentation/mic/mpssd/
H A Dmpssd.c1325 if (!strcmp(shutdown_status, "poweroff")) get_mic_shutdown_status()
/linux-4.1.27/drivers/input/
H A Dinput.c1748 .poweroff = input_dev_poweroff,
/linux-4.1.27/arch/x86/kernel/apic/
H A Dapic.c2376 * are needed on every CPU up until machine_halt/restart/poweroff.
/linux-4.1.27/arch/x86/lguest/
H A Dboot.c1574 * Last of all, we set the power management poweroff hook to point to lguest_init()
/linux-4.1.27/drivers/usb/host/
H A Dr8a66597-hcd.c2385 .poweroff = r8a66597_suspend,
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c2786 .poweroff = pch_gbe_suspend,
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Defx.c3173 .poweroff = efx_pm_poweroff,
/linux-4.1.27/drivers/video/fbdev/aty/
H A Dradeon_pm.c2666 /* 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 Dsoc-core.c1845 .poweroff = snd_soc_poweroff,
/linux-4.1.27/drivers/net/ethernet/nvidia/
H A Dforcedeth.c6168 * 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 D3c59x.c890 .poweroff = vortex_suspend,
/linux-4.1.27/drivers/platform/x86/
H A Dsony-laptop.c3725 /* camera tests and poweron/poweroff */
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dnetdev.c7258 .poweroff = e1000e_pm_suspend,
/linux-4.1.27/drivers/net/ethernet/realtek/
H A Dr8169.c7807 .poweroff = rtl8169_suspend,

Completed in 3157 milliseconds