Home
last modified time | relevance | path

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

12

/linux/arch/arm/mach-omap2/
H A Domap-mpuss-lowpower.c183 static void l2x0_pwrst_prepare(unsigned int cpu_id, unsigned int save_state) in l2x0_pwrst_prepare() argument
188 writel_relaxed(save_state, pm_info->l2x0_sar_addr); in l2x0_pwrst_prepare()
231 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()
269 save_state = 2; in omap4_enter_lowpower()
280 l2x0_pwrst_prepare(cpu, save_state); in omap4_enter_lowpower()
285 if (save_state) in omap4_enter_lowpower()
286 cpu_suspend(save_state, omap_pm_ops.finish_suspend); in omap4_enter_lowpower()
[all …]
H A Dpm34xx.c172 static int omap34xx_do_sram_idle(unsigned long save_state) in omap34xx_do_sram_idle() argument
174 omap34xx_cpu_suspend(save_state); in omap34xx_do_sram_idle()
186 int save_state = 0; in omap_sram_idle() local
198 save_state = 0; in omap_sram_idle()
201 save_state = 3; in omap_sram_idle()
256 if (save_state) in omap_sram_idle()
262 if (save_state == 1 || save_state == 3) in omap_sram_idle()
263 cpu_suspend(save_state, omap34xx_do_sram_idle); in omap_sram_idle()
265 omap34xx_do_sram_idle(save_state); in omap_sram_idle()
H A Dpm.h52 extern void omap34xx_cpu_suspend(int save_state);
/linux/drivers/pci/
H A Dvc.c186 struct pci_cap_saved_state *save_state, in pci_vc_do_save_buffer() argument
192 u8 *buf = save_state ? (u8 *)save_state->cap.data : NULL; in pci_vc_do_save_buffer()
195 if (buf && save_state->cap.size != in pci_vc_do_save_buffer()
359 struct pci_cap_saved_state *save_state; in pci_save_vc_state() local
365 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_save_vc_state()
366 if (!save_state) { in pci_save_vc_state()
372 ret = pci_vc_do_save_buffer(dev, pos, save_state, true); in pci_save_vc_state()
396 struct pci_cap_saved_state *save_state; in pci_restore_vc_state() local
399 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_restore_vc_state()
400 if (!save_state || !pos) in pci_restore_vc_state()
[all …]
H A Dpci.c1711 struct pci_cap_saved_state *save_state; in pci_save_pcie_state() local
1717 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_save_pcie_state()
1718 if (!save_state) { in pci_save_pcie_state()
1723 cap = (u16 *)&save_state->cap.data[0]; in pci_save_pcie_state()
1741 struct pci_cap_saved_state *save_state; in pci_restore_pcie_state() local
1751 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_restore_pcie_state()
1752 if (!save_state) in pci_restore_pcie_state()
1762 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_pcie_state()
1775 struct pci_cap_saved_state *save_state; in pci_save_pcix_state() local
1781 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); in pci_save_pcix_state()
[all …]
/linux/drivers/pci/pcie/
H A Dptm.c91 struct pci_cap_saved_state *save_state; in pci_save_ptm_state() local
97 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_PTM); in pci_save_ptm_state()
98 if (!save_state) in pci_save_ptm_state()
101 cap = (u32 *)&save_state->cap.data[0]; in pci_save_ptm_state()
108 struct pci_cap_saved_state *save_state; in pci_restore_ptm_state() local
114 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_PTM); in pci_restore_ptm_state()
115 if (!save_state) in pci_restore_ptm_state()
118 cap = (u32 *)&save_state->cap.data[0]; in pci_restore_ptm_state()
H A Ddpc.c48 struct pci_cap_saved_state *save_state; in pci_save_dpc_state() local
54 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_DPC); in pci_save_dpc_state()
55 if (!save_state) in pci_save_dpc_state()
58 cap = (u16 *)&save_state->cap.data[0]; in pci_save_dpc_state()
64 struct pci_cap_saved_state *save_state; in pci_restore_dpc_state() local
70 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_DPC); in pci_restore_dpc_state()
71 if (!save_state) in pci_restore_dpc_state()
74 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_dpc_state()
H A Daer.c327 struct pci_cap_saved_state *save_state; in pci_save_aer_state() local
333 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_ERR); in pci_save_aer_state()
334 if (!save_state) in pci_save_aer_state()
337 cap = &save_state->cap.data[0]; in pci_save_aer_state()
349 struct pci_cap_saved_state *save_state; in pci_restore_aer_state() local
355 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_ERR); in pci_restore_aer_state()
356 if (!save_state) in pci_restore_aer_state()
359 cap = &save_state->cap.data[0]; in pci_restore_aer_state()
/linux/tools/tracing/latency/
H A Dlatency-collector.c204 static struct ftrace_state save_state; variable
607 mutex_lock(&save_state.mutex); in restore_ftrace()
609 restore_file(TR_CURRENT, &save_state.tracer, current_tracer); in restore_ftrace()
610 restore_file(TR_THRESH, &save_state.thresh, threshold); in restore_ftrace()
611 restore_trace_opts(&save_state, use_options); in restore_ftrace()
613 mutex_unlock(&save_state.mutex); in restore_ftrace()
652 mutex_init(&save_state.mutex, &mattr); in init_save_state()
655 save_state.tracer = NULL; in init_save_state()
656 save_state.thresh = NULL; in init_save_state()
657 save_state in init_save_state()
[all...]
/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_mig_dev.c23 !ops->close || !ops->suspend || !ops->resume || !ops->save_state || in qat_vfmig_create()
98 return GET_VFMIG_OPS(accel_dev)->save_state(mdev); in qat_vfmig_save_state()
H A Dadf_accel_devices.h270 int (*save_state)(struct qat_mig_dev *mdev); member
H A Dadf_gen4_vf_mig.c1005 vfmig_ops->save_state = adf_gen4_vfmig_save_state; in adf_gen4_init_vf_mig_ops()
/linux/drivers/pcmcia/
H A Dyenta_socket.c873 .save_state = ti_save_state,
879 .save_state = ti_save_state,
885 .save_state = ti_save_state,
891 .save_state = ti_save_state,
897 .save_state = ti_save_state,
905 .save_state = ricoh_save_state,
1311 if (socket->type && socket->type->save_state) in yenta_dev_suspend_noirq()
1312 socket->type->save_state(socket); in yenta_dev_suspend_noirq()
H A Dyenta_socket.h109 void (*save_state)(struct yenta_socket *); member
/linux/drivers/parport/
H A Dparport_atari.c153 .save_state = parport_atari_save_state,
H A Dshare.c83 .save_state = dead_state,
974 port->ops->save_state(port, dev->state); in parport_claim()
1168 port->ops->save_state(port, dev->state); in parport_release()
H A Dparport_amiga.c169 .save_state = amiga_save_state,
H A Dparport_gsc.c109 .save_state = parport_gsc_save_state,
H A Dparport_sunbpp.c250 .save_state = parport_sunbpp_save_state,
H A Dparport_ip32.c1778 .save_state = parport_ip32_save_state,
/linux/drivers/hwtracing/coresight/
H A Dcoresight-etm4x-core.c1722 state = drvdata->save_state; in __etm4_cpu_save()
1839 if (coresight_get_mode(drvdata->csdev) && drvdata->save_state) in etm4_cpu_save()
1847 struct etmv4_save_state *state = drvdata->save_state; in __etm4_cpu_restore()
2122 drvdata->save_state = devm_kmalloc(dev, in etm4_probe()
2124 if (!drvdata->save_state) in etm4_probe()
/linux/include/linux/
H A Dparport.h82 void (*save_state)(struct parport *, struct parport_state *); member
/linux/drivers/scsi/aic7xxx/
H A Daic79xx.h1379 int save_state);
/linux/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c1813 goto save_state; in tulip_suspend()
1821 save_state: in tulip_suspend()
/linux/drivers/usb/serial/
H A Dmos7720.c540 .save_state = parport_mos7715_save_state,

12