Searched refs:power_off (Results 1 - 93 of 93) sorted by relevance

/linux-4.1.27/arch/sh/include/asm/
H A Dreboot.h11 void (*power_off)(void); member in struct:machine_ops
/linux-4.1.27/arch/x86/include/asm/
H A Dreboot.h11 void (*power_off)(void); member in struct:machine_ops
/linux-4.1.27/arch/x86/platform/iris/
H A Diris.c42 MODULE_DESCRIPTION("A power_off handler for Iris devices from EuroBraille");
60 * Before installing the power_off handler, try to make sure the OS is
75 printk(KERN_INFO "Iris power_off handler installed.\n"); iris_probe()
82 printk(KERN_INFO "Iris power_off handler uninstalled.\n"); iris_remove()
/linux-4.1.27/drivers/ps3/
H A Dsys-manager-core.c52 if (ps3_sys_manager_ops.power_off) ps3_sys_manager_power_off()
53 ps3_sys_manager_ops.power_off(ps3_sys_manager_ops.dev); ps3_sys_manager_power_off()
H A Dps3-sys-manager.c615 * ps3_sys_manager_ops.power_off.
716 ops.power_off = ps3_sys_manager_final_power_off; ps3_sys_manager_probe()
/linux-4.1.27/arch/sh/kernel/
H A Dreboot.c68 .power_off = native_machine_power_off,
79 machine_ops.power_off(); machine_power_off()
/linux-4.1.27/arch/arm/mach-s3c64xx/
H A Dpm.c92 .power_off = s3c64xx_pd_off,
102 .power_off = s3c64xx_pd_off,
112 .power_off = s3c64xx_pd_off,
122 .power_off = s3c64xx_pd_off,
132 .power_off = s3c64xx_pd_off,
142 .power_off = s3c64xx_pd_off,
151 .power_off = s3c64xx_pd_off,
161 .power_off = s3c64xx_pd_off,
/linux-4.1.27/drivers/base/power/
H A Dcommon.c116 * @power_off: Used to indicate whether we should power off the device.
125 void dev_pm_domain_detach(struct device *dev, bool power_off) dev_pm_domain_detach() argument
128 dev->pm_domain->detach(dev, power_off); dev_pm_domain_detach()
H A Ddomain.c217 if (!genpd->power_off) genpd_power_off()
221 ret = genpd->power_off(genpd); genpd_power_off()
604 if (genpd->power_off) {
614 * for us to drop the lock, so we can call .power_off() and let
2116 * @power_off: Currently not used
2121 static void genpd_dev_pm_detach(struct device *dev, bool power_off) genpd_dev_pm_detach() argument
/linux-4.1.27/drivers/mmc/core/
H A Dpwrseq.h14 void (*power_off)(struct mmc_host *host); member in struct:mmc_pwrseq_ops
H A Dpwrseq.c108 if (pwrseq && pwrseq->ops && pwrseq->ops->power_off) mmc_pwrseq_power_off()
109 pwrseq->ops->power_off(host); mmc_pwrseq_power_off()
H A Dpwrseq_simple.c93 .power_off = mmc_pwrseq_simple_power_off,
/linux-4.1.27/drivers/phy/
H A Dphy-exynos4210-usb2.c233 .power_off = exynos4210_power_off,
239 .power_off = exynos4210_power_off,
245 .power_off = exynos4210_power_off,
251 .power_off = exynos4210_power_off,
H A Dphy-s5pv210-usb2.c173 .power_off = s5pv210_power_off,
179 .power_off = s5pv210_power_off,
H A Dphy-exynos4x12-usb2.c344 .power_off = exynos4x12_power_off,
350 .power_off = exynos4x12_power_off,
356 .power_off = exynos4x12_power_off,
362 .power_off = exynos4x12_power_off,
H A Dphy-exynos5250-usb2.c374 .power_off = exynos5250_power_off,
380 .power_off = exynos5250_power_off,
386 .power_off = exynos5250_power_off,
392 .power_off = exynos5250_power_off,
H A Dphy-samsung-usb2.c60 dev_dbg(drv->dev, "Request to power_off \"%s\" usb phy\n", samsung_usb2_phy_power_off()
62 if (inst->cfg->power_off) { samsung_usb2_phy_power_off()
64 ret = inst->cfg->power_off(inst); samsung_usb2_phy_power_off()
76 .power_off = samsung_usb2_phy_power_off,
H A Dphy-samsung-usb2.h52 int (*power_off)(struct samsung_usb2_phy_instance *); member in struct:samsung_usb2_common_phy
H A Dphy-exynos-dp-video.c53 .power_off = exynos_dp_video_phy_power_off,
H A Dphy-bcm-kona-usb2.c97 .power_off = bcm_kona_usb_phy_power_off,
H A Dphy-mvebu-sata.c80 .power_off = phy_mvebu_sata_power_off,
H A Dphy-rockchip-usb.c89 .power_off = rockchip_usb_phy_power_off,
H A Dphy-exynos-mipi-video.c129 .power_off = exynos_mipi_video_phy_power_off,
H A Dphy-qcom-ufs-qmp-14nm.c122 .power_off = ufs_qcom_phy_power_off,
H A Dphy-qcom-ufs-qmp-20nm.c178 .power_off = ufs_qcom_phy_power_off,
H A Dphy-stih41x-usb.c118 .power_off = stih41x_usb_phy_power_off,
H A Dphy-berlin-sata.c181 .power_off = phy_berlin_sata_power_off,
H A Dphy-exynos5250-sata.c160 .power_off = exynos_sata_phy_power_off,
H A Dphy-omap-usb2.c143 .power_off = omap_usb_power_off,
H A Dphy-rcar-gen2.c191 .power_off = rcar_gen2_phy_power_off,
H A Dphy-sun4i-usb.c211 .power_off = sun4i_usb_phy_power_off,
H A Dphy-exynos5-usbdrd.c508 dev_dbg(phy_drd->dev, "Request to power_off usbdrd_phy phy\n"); exynos5_usbdrd_phy_power_off()
544 .power_off = exynos5_usbdrd_phy_power_off,
H A Dphy-ti-pipe3.c286 .power_off = ti_pipe3_power_off,
H A Dphy-core.c326 if (phy->power_count == 1 && phy->ops->power_off) { phy_power_off()
327 ret = phy->ops->power_off(phy); phy_power_off()
H A Dphy-twl4030-usb.c637 .power_off = twl4030_phy_power_off,
/linux-4.1.27/arch/xtensa/kernel/
H A Dplatform.c34 _F(void, power_off, (void), { while(1); });
/linux-4.1.27/drivers/usb/host/
H A Dohci-platform.c116 .power_off = ohci_platform_power_off,
286 if (pdata->power_off) ohci_platform_probe()
287 pdata->power_off(dev); ohci_platform_probe()
312 if (pdata->power_off) ohci_platform_remove()
313 pdata->power_off(dev); ohci_platform_remove()
H A Dohci-st.c129 .power_off = st_ohci_platform_power_off,
228 if (pdata->power_off) st_ohci_platform_probe()
229 pdata->power_off(dev); st_ohci_platform_probe()
252 if (pdata->power_off) st_ohci_platform_remove()
253 pdata->power_off(dev); st_ohci_platform_remove()
H A Dehci-platform.c147 .power_off = ehci_platform_power_off,
310 if (pdata->power_off) ehci_platform_probe()
311 pdata->power_off(dev); ehci_platform_probe()
336 if (pdata->power_off) ehci_platform_remove()
337 pdata->power_off(dev); ehci_platform_remove()
H A Dehci-st.c153 .power_off = st_ehci_platform_power_off,
275 if (pdata->power_off) st_ehci_platform_remove()
276 pdata->power_off(dev); st_ehci_platform_remove()
/linux-4.1.27/drivers/staging/iio/light/
H A Dtsl2x7x.h87 * @power_off: Power off callback
95 int (*power_off)(struct i2c_client *dev); member in struct:tsl2X7X_platform_data
H A Dtsl2x7x_core.c781 if (chip->pdata && chip->pdata->power_off) tsl2x7x_chip_off()
782 chip->pdata->power_off(chip->client); tsl2x7x_chip_off()
/linux-4.1.27/drivers/s390/char/
H A Dsclp_quiesce.c51 /* Undo machine restart/halt/power_off modification on resume */ sclp_quiesce_pm_event()
/linux-4.1.27/include/linux/platform_data/
H A Dbrcmfmac-sdio.h45 .power_off = brcmfmac_power_off,
106 * power_off: This function is called by the brcmfmac when the module gets
108 * So if an actual power_off is not supported but reset is then reset the device
131 void (*power_off)(void); member in struct:brcmfmac_sdio_platform_data
/linux-4.1.27/include/linux/usb/
H A Dohci_pdriver.h42 void (*power_off)(struct platform_device *pdev); member in struct:usb_ohci_pdata
H A Dehci_pdriver.h56 void (*power_off)(struct platform_device *pdev); member in struct:usb_ehci_pdata
/linux-4.1.27/arch/arm/mach-ux500/
H A Dpm_domains.c44 .power_off = pd_power_off,
/linux-4.1.27/include/linux/input/
H A Dkxtj9.h59 int (*power_off)(void); member in struct:kxtj9_platform_data
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_bridge.c64 static void power_off(struct drm_bridge *bridge) power_off() function
126 power_off(bridge); hdmi_bridge_post_disable()
/linux-4.1.27/arch/arm/mach-cns3xxx/
H A Dcns3420vb.c164 .power_off = csn3xxx_usb_power_off,
195 .power_off = csn3xxx_usb_power_off,
H A Dcore.c333 .power_off = csn3xxx_usb_power_off,
339 .power_off = csn3xxx_usb_power_off,
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dpm-r8a7779.c89 genpd->power_off = pd_power_down; r8a7779_init_pm_domain()
H A Dsetup-r8a7778.c167 .power_off = usb_power_off,
179 .power_off = usb_power_off,
H A Dsetup-r8a7779.c382 .power_off = usb_power_off,
437 .power_off = usb_power_off,
H A Dpm-rmobile.c159 genpd->power_off = rmobile_pd_power_down; rmobile_init_pm_domain()
/linux-4.1.27/drivers/gpu/drm/bridge/
H A Dptn3460.c204 bool power_off; ptn3460_get_modes() local
211 power_off = !ptn_bridge->enabled; ptn3460_get_modes()
233 if (power_off) ptn3460_get_modes()
/linux-4.1.27/include/linux/
H A Dpm_domain.h69 int (*power_off)(struct generic_pm_domain *domain); member in struct:generic_pm_domain
317 extern void dev_pm_domain_detach(struct device *dev, bool power_off);
323 static inline void dev_pm_domain_detach(struct device *dev, bool power_off) {} argument
H A Dpm.h614 void (*detach)(struct device *dev, bool power_off);
/linux-4.1.27/drivers/media/i2c/
H A Das3645a.c577 goto power_off; as3645a_registered()
584 goto power_off; as3645a_registered()
594 goto power_off; as3645a_registered()
622 goto power_off; as3645a_registered()
626 goto power_off; as3645a_registered()
633 power_off: as3645a_registered()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
H A Dar9002_hw.c205 bool power_off) ar9002_hw_configpcipowersave()
211 if (!power_off /* !restore */) { ar9002_hw_configpcipowersave()
252 if (power_off) { ar9002_hw_configpcipowersave()
204 ar9002_hw_configpcipowersave(struct ath_hw *ah, bool power_off) ar9002_hw_configpcipowersave() argument
H A Dhw-ops.h25 bool power_off) ath9k_hw_configpcipowersave()
30 ath9k_hw_ops(ah)->config_pci_powersave(ah, power_off); ath9k_hw_configpcipowersave()
24 ath9k_hw_configpcipowersave(struct ath_hw *ah, bool power_off) ath9k_hw_configpcipowersave() argument
H A Dar9003_hw.c1010 bool power_off) ar9003_hw_configpcipowersave()
1030 if (!power_off /* !restore */) { ar9003_hw_configpcipowersave()
1040 array = power_off ? &ah->iniPcieSerdes : ar9003_hw_configpcipowersave()
1009 ar9003_hw_configpcipowersave(struct ath_hw *ah, bool power_off) ar9003_hw_configpcipowersave() argument
H A Dhw.h722 bool power_off);
/linux-4.1.27/arch/arm/mach-imx/
H A Dgpc.c69 void imx_gpc_set_arm_power_in_lpm(bool power_off) imx_gpc_set_arm_power_in_lpm() argument
71 writel_relaxed(power_off, gpc_base + GPC_PGC_CPU_PDN); imx_gpc_set_arm_power_in_lpm()
375 .power_off = imx6q_pm_pu_power_off,
H A Dcommon.h70 void imx_gpc_set_arm_power_in_lpm(bool power_off);
/linux-4.1.27/arch/mips/alchemy/common/
H A Dplatform.c153 .power_off = alchemy_ehci_power_off,
181 .power_off = alchemy_ohci_power_off,
/linux-4.1.27/kernel/
H A Dreboot.c253 * kernel_power_off - power_off the system
255 * Shutdown everything and perform a clean system power_off.
308 /* Instead of trying to make the power_off code look like SYSCALL_DEFINE4()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Dhif-ops.h143 return ar->hif_ops->power_off(ar); ath6kl_hif_power_off()
H A Dhif.h257 int (*power_off)(struct ath6kl *ar); member in struct:ath6kl_hif_ops
H A Dsdio.c1259 .power_off = ath6kl_sdio_power_off,
H A Dusb.c1086 .power_off = ath6kl_usb_power_off,
/linux-4.1.27/arch/arm/mach-vt8500/
H A Dvt8500.c155 pr_err("%s:ioremap(power_off) failed\n", __func__); vt8500_init()
/linux-4.1.27/arch/arm/mach-exynos/
H A Dpm_domains.c141 pd->pd.power_off = exynos_pd_power_off; exynos4_pm_init_power_domain()
/linux-4.1.27/include/linux/phy/
H A Dphy.h30 * @power_off: powering off the phy
37 int (*power_off)(struct phy *phy); member in struct:phy_ops
/linux-4.1.27/drivers/input/misc/
H A Dkxtj9.c223 if (tj9->pdata.power_off) kxtj9_device_power_off()
224 tj9->pdata.power_off(); kxtj9_device_power_off()
/linux-4.1.27/drivers/pci/hotplug/
H A Dibmphp_core.c220 static inline int power_off(struct slot *slot_cur) power_off() function
231 err("command not completed successfully in power_off\n"); power_off()
544 rc = power_off(slot_cur); init_ops()
1173 rcpr = power_off(slot_cur); enable_slot()
/linux-4.1.27/drivers/acpi/
H A Ddevice_pm.c1050 * @power_off: Whether or not to try to remove power from the device.
1053 * notifier. If @power_off is set, additionally remove power from the device if
1059 static void acpi_dev_pm_detach(struct device *dev, bool power_off) acpi_dev_pm_detach() argument
1066 if (power_off) { acpi_dev_pm_detach()
/linux-4.1.27/arch/x86/kernel/
H A Dapm_32.c411 static bool power_off; variable
413 static bool power_off = 1; variable
1849 if (power_off) apm()
1891 (strncmp(str, "power_off", 9) == 0)) apm_setup()
1892 power_off = !invert; apm_setup()
2323 if ((num_online_cpus() > 1) && !power_off && !smp) { apm_init()
2411 if (power_off) apm_exit()
2427 module_param(power_off, bool, 0444);
2428 MODULE_PARM_DESC(power_off, "Enable power off");
H A Dreboot.c679 .power_off = native_machine_power_off,
691 machine_ops.power_off(); machine_power_off()
/linux-4.1.27/arch/mips/cavium-octeon/
H A Docteon-platform.c315 .power_off = octeon_ehci_power_off,
379 .power_off = octeon_ohci_power_off,
/linux-4.1.27/drivers/pinctrl/
H A Dpinctrl-tegra-xusb.c601 .power_off = pcie_phy_power_off,
675 .power_off = sata_phy_power_off,
/linux-4.1.27/tools/testing/ktest/
H A Dktest.pl113 my $power_off;
276 "POWER_OFF" => \$power_off,
1401 } elsif ($poweroff_on_error && defined($power_off)) {
1403 `$power_off`;
2478 if (!run_ssh "halt" or defined($power_off)) {
2481 run_command "$power_off";
2485 run_command "$power_off";
/linux-4.1.27/arch/powerpc/include/asm/
H A Dps3.h446 void (*power_off)(struct ps3_system_bus_device *dev); member in struct:ps3_sys_manager_ops
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
H A Dbcmsdh.c1310 if (brcmfmac_sdio_pdata->power_off) brcmf_sdio_pd_remove()
1311 brcmfmac_sdio_pdata->power_off(); brcmf_sdio_pd_remove()
/linux-4.1.27/drivers/char/ipmi/
H A Dipmi_watchdog.c298 "reset, none, power_cycle, power_off.");
1237 else if (strcmp(inval, "power_off") == 0) action_op()
/linux-4.1.27/net/bluetooth/
H A Dmgmt.c1394 cancel_delayed_work(&hdev->power_off); clean_up_hci_complete()
1395 queue_work(hdev->req_workqueue, &hdev->power_off.work); clean_up_hci_complete()
1569 cancel_delayed_work(&hdev->power_off); set_powered()
1597 queue_delayed_work(hdev->req_workqueue, &hdev->power_off, set_powered()
1602 cancel_delayed_work(&hdev->power_off); set_powered()
1603 queue_work(hdev->req_workqueue, &hdev->power_off.work); set_powered()
7781 cancel_delayed_work(&hdev->power_off); mgmt_device_disconnected()
7782 queue_work(hdev->req_workqueue, &hdev->power_off.work); mgmt_device_disconnected()
7841 cancel_delayed_work(&hdev->power_off); mgmt_connect_failed()
7842 queue_work(hdev->req_workqueue, &hdev->power_off.work); mgmt_connect_failed()
H A Dhci_core.c1514 cancel_delayed_work(&hdev->power_off); hci_dev_open()
1567 cancel_delayed_work(&hdev->power_off); hci_dev_do_close()
1686 cancel_delayed_work(&hdev->power_off); hci_dev_close()
2081 queue_delayed_work(hdev->req_workqueue, &hdev->power_off, hci_power_on()
2118 power_off.work); hci_power_off()
3070 INIT_DELAYED_WORK(&hdev->power_off, hci_power_off); hci_alloc_dev()
/linux-4.1.27/arch/s390/kernel/
H A Dsetup.c228 * Reboot, halt and power_off stubs. They just call _machine_restart, setup_zfcpdump()
/linux-4.1.27/arch/arm/mach-ep93xx/
H A Dcore.c328 .power_off = ep93xx_ohci_power_off,
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dmain.c1166 goto power_off; wl1271_plt_start()
1171 goto power_off; wl1271_plt_start()
1186 power_off: wl1271_plt_start()
2352 goto power_off; wl12xx_init_fw()
2356 goto power_off; wl12xx_init_fw()
2378 power_off: wl12xx_init_fw()
/linux-4.1.27/include/net/bluetooth/
H A Dhci_core.h310 struct delayed_work power_off; member in struct:hci_dev
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Ddst.c1444 * power_off 0x00, 0x09, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00
/linux-4.1.27/arch/x86/xen/
H A Denlighten.c1326 .power_off = xen_machine_power_off,

Completed in 1923 milliseconds