Home
last modified time | relevance | path

Searched refs:save_state (Results 1 – 32 of 32) sorted by relevance

/linux-4.4.14/arch/arm/mach-omap2/
Domap-mpuss-lowpower.c184 static void l2x0_pwrst_prepare(unsigned int cpu_id, unsigned int save_state) in l2x0_pwrst_prepare() argument
189 writel_relaxed(save_state, pm_info->l2x0_sar_addr); in l2x0_pwrst_prepare()
230 unsigned int save_state = 0, cpu_logic_state = PWRDM_POWER_RET; in omap4_enter_lowpower() local
239 save_state = 0; in omap4_enter_lowpower()
243 save_state = 1; in omap4_enter_lowpower()
247 save_state = 0; in omap4_enter_lowpower()
270 save_state = 2; in omap4_enter_lowpower()
277 l2x0_pwrst_prepare(cpu, save_state); in omap4_enter_lowpower()
282 if (save_state) in omap4_enter_lowpower()
283 cpu_suspend(save_state, omap_pm_ops.finish_suspend); in omap4_enter_lowpower()
[all …]
Dpm34xx.c182 static int omap34xx_do_sram_idle(unsigned long save_state) in omap34xx_do_sram_idle() argument
184 omap34xx_cpu_suspend(save_state); in omap34xx_do_sram_idle()
196 int save_state = 0; in omap_sram_idle() local
209 save_state = 0; in omap_sram_idle()
212 save_state = 3; in omap_sram_idle()
266 if (save_state) in omap_sram_idle()
268 if (save_state == 1 || save_state == 3) in omap_sram_idle()
269 cpu_suspend(save_state, omap34xx_do_sram_idle); in omap_sram_idle()
271 omap34xx_do_sram_idle(save_state); in omap_sram_idle()
Dpm.h76 extern void omap34xx_cpu_suspend(int save_state);
/linux-4.4.14/drivers/pci/
Dvc.c187 struct pci_cap_saved_state *save_state, in pci_vc_do_save_buffer() argument
193 u8 *buf = save_state ? (u8 *)save_state->cap.data : NULL; in pci_vc_do_save_buffer()
196 if (buf && save_state->cap.size != in pci_vc_do_save_buffer()
361 struct pci_cap_saved_state *save_state; in pci_save_vc_state() local
367 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_save_vc_state()
368 if (!save_state) { in pci_save_vc_state()
374 ret = pci_vc_do_save_buffer(dev, pos, save_state, true); in pci_save_vc_state()
398 struct pci_cap_saved_state *save_state; in pci_restore_vc_state() local
401 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_restore_vc_state()
402 if (!save_state || !pos) in pci_restore_vc_state()
[all …]
Dpci.c964 struct pci_cap_saved_state *save_state; in pci_save_pcie_state() local
970 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_save_pcie_state()
971 if (!save_state) { in pci_save_pcie_state()
976 cap = (u16 *)&save_state->cap.data[0]; in pci_save_pcie_state()
991 struct pci_cap_saved_state *save_state; in pci_restore_pcie_state() local
994 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_restore_pcie_state()
995 if (!save_state) in pci_restore_pcie_state()
998 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_pcie_state()
1012 struct pci_cap_saved_state *save_state; in pci_save_pcix_state() local
1018 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); in pci_save_pcix_state()
[all …]
/linux-4.4.14/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll.c122 if (pll->save_state) { in msm_dsi_pll_save_state()
123 pll->save_state(pll); in msm_dsi_pll_save_state()
Ddsi_pll.h42 void (*save_state)(struct msm_dsi_pll *pll); member
Ddsi_pll_28nm.c619 pll->save_state = dsi_pll_28nm_save_state; in msm_dsi_pll_28nm_init()
/linux-4.4.14/include/linux/
Drtmutex.h35 int save_state; member
Dpm_domain.h35 int (*save_state)(struct device *dev); member
Dparport.h87 void (*save_state)(struct parport *, struct parport_state *); member
/linux-4.4.14/drivers/pcmcia/
Dyenta_socket.h108 void (*save_state)(struct yenta_socket *); member
Dyenta_socket.c858 .save_state = ti_save_state,
864 .save_state = ti_save_state,
870 .save_state = ti_save_state,
876 .save_state = ti_save_state,
882 .save_state = ti_save_state,
890 .save_state = ricoh_save_state,
1297 if (socket->type && socket->type->save_state) in yenta_dev_suspend_noirq()
1298 socket->type->save_state(socket); in yenta_dev_suspend_noirq()
/linux-4.4.14/drivers/parport/
Dparport_atari.c152 .save_state = parport_atari_save_state,
Dparport_amiga.c174 .save_state = amiga_save_state,
Dshare.c85 .save_state = dead_state,
1119 port->ops->save_state(port, dev->state); in parport_claim()
1305 port->ops->save_state(port, dev->state); in parport_release()
Dparport_mfc3.c267 .save_state = mfc3_save_state,
Dparport_gsc.c116 .save_state = parport_gsc_save_state,
Dparport_sunbpp.c249 .save_state = parport_sunbpp_save_state,
Dparport_ax88796.c253 .save_state = parport_ax88796_save_state,
Dparport_ip32.c1789 .save_state = parport_ip32_save_state,
Dparport_pc.c924 .save_state = parport_pc_save_state,
/linux-4.4.14/drivers/video/fbdev/intelfb/
Dintelfb.h278 struct intelfb_hwstate save_state; member
Dintelfbdrv.c836 i = intelfbhw_read_hw_state(dinfo, &dinfo->save_state, in intelfb_pci_register()
843 intelfbhw_print_hw_state(dinfo, &dinfo->save_state); in intelfb_pci_register()
849 dinfo->pipe = intelfbhw_active_pipe(&dinfo->save_state); in intelfb_pci_register()
1349 memcpy(hw, &dinfo->save_state, sizeof(*hw)); in intelfb_set_par()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7xxx.h1195 int save_state);
Daic79xx.h1392 int save_state);
Daic7xxx_core.c6171 int save_state) in ahc_search_disc_list() argument
6183 if (save_state) { in ahc_search_disc_list()
6226 if (save_state) in ahc_search_disc_list()
/linux-4.4.14/drivers/base/power/
Ddomain.c240 return GENPD_DEV_CALLBACK(genpd, int, save_state, dev); in genpd_save_dev()
1509 genpd->dev_ops.save_state = pm_genpd_default_save_state; in pm_genpd_init()
/linux-4.4.14/drivers/usb/misc/
Duss720.c670 .save_state = parport_uss720_save_state,
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Dtulip_core.c1845 goto save_state; in tulip_suspend()
1853 save_state: in tulip_suspend()
/linux-4.4.14/drivers/usb/serial/
Dmos7720.c689 .save_state = parport_mos7715_save_state,
/linux-4.4.14/Documentation/scsi/
DChangeLog.1992-1997594 Lots of changes to use save_state/restore_state instead of cli/sti.