| /linux/arch/arm/mach-omap2/ |
| H A D | omap-mpuss-lowpower.c | 183 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 D | pm34xx.c | 172 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 D | pm.h | 52 extern void omap34xx_cpu_suspend(int save_state);
|
| /linux/drivers/pci/ |
| H A D | vc.c | 186 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 D | tph.c | 437 struct pci_cap_saved_state *save_state; in pci_restore_tph_state() local 448 save_state = pci_find_saved_ext_cap(pdev, PCI_EXT_CAP_ID_TPH); in pci_restore_tph_state() 449 if (!save_state) in pci_restore_tph_state() 453 cap = &save_state->cap.data[0]; in pci_restore_tph_state() 467 struct pci_cap_saved_state *save_state; in pci_save_tph_state() local 478 save_state = pci_find_saved_ext_cap(pdev, PCI_EXT_CAP_ID_TPH); in pci_save_tph_state() 479 if (!save_state) in pci_save_tph_state() 483 cap = &save_state->cap.data[0]; in pci_save_tph_state()
|
| /linux/drivers/pci/pcie/ |
| H A D | dpc.c | 48 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 D | aspm.c | 33 struct pci_cap_saved_state *save_state; in pci_save_ltr_state() local 43 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_LTR); in pci_save_ltr_state() 44 if (!save_state) { in pci_save_ltr_state() 50 cap = &save_state->cap.data[0]; in pci_save_ltr_state() 56 struct pci_cap_saved_state *save_state; in pci_restore_ltr_state() local 60 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_LTR); in pci_restore_ltr_state() 62 if (!save_state || !ltr) in pci_restore_ltr_state() 66 cap = &save_state->cap.data[0]; in pci_restore_ltr_state() 86 struct pci_cap_saved_state *save_state; in pci_save_aspm_l1ss_state() local 104 save_state = pci_find_saved_ext_cap(pdev, PCI_EXT_CAP_ID_L1SS); in pci_save_aspm_l1ss_state() [all …]
|
| H A D | aer.c | 347 struct pci_cap_saved_state *save_state; in pci_save_aer_state() local 353 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_ERR); in pci_save_aer_state() 354 if (!save_state) in pci_save_aer_state() 357 cap = &save_state->cap.data[0]; in pci_save_aer_state() 369 struct pci_cap_saved_state *save_state; in pci_restore_aer_state() local 375 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_ERR); in pci_restore_aer_state() 376 if (!save_state) in pci_restore_aer_state() 379 cap = &save_state->cap.data[0]; in pci_restore_aer_state()
|
| /linux/tools/tracing/latency/ |
| H A D | latency-collector.c | 204 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.opt_valid[OPTIDX_FUNC_TR] = false; in init_save_state() [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| H A D | qat_mig_dev.c | 23 !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()
|
| /linux/drivers/pcmcia/ |
| H A D | yenta_socket.c | 874 .save_state = ti_save_state, 880 .save_state = ti_save_state, 886 .save_state = ti_save_state, 892 .save_state = ti_save_state, 898 .save_state = ti_save_state, 906 .save_state = ricoh_save_state, 1312 if (socket->type && socket->type->save_state) in yenta_dev_suspend_noirq() 1313 socket->type->save_state(socket); in yenta_dev_suspend_noirq()
|
| H A D | yenta_socket.h | 109 void (*save_state)(struct yenta_socket *); member
|
| /linux/drivers/parport/ |
| H A D | parport_atari.c | 153 .save_state = parport_atari_save_state,
|
| H A D | share.c | 83 .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 D | parport_amiga.c | 169 .save_state = amiga_save_state,
|
| H A D | parport_gsc.c | 109 .save_state = parport_gsc_save_state,
|
| H A D | parport_sunbpp.c | 250 .save_state = parport_sunbpp_save_state,
|
| H A D | parport_ip32.c | 1778 .save_state = parport_ip32_save_state,
|
| /linux/include/linux/ |
| H A D | parport.h | 82 void (*save_state)(struct parport *, struct parport_state *); member
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-etm4x-core.c | 1877 state = drvdata->save_state; in __etm4_cpu_save() 2001 struct etmv4_save_state *state = drvdata->save_state; in __etm4_cpu_restore() 2284 drvdata->save_state = devm_kmalloc(dev, in etm4_probe() 2286 if (!drvdata->save_state) in etm4_probe()
|
| H A D | coresight-etm4x.h | 1037 struct etmv4_save_state *save_state; member
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic79xx.h | 1379 int save_state);
|
| H A D | aic7xxx_core.c | 6105 int save_state) in ahc_search_disc_list() argument 6117 if (save_state) { in ahc_search_disc_list() 6160 if (save_state) in ahc_search_disc_list()
|
| /linux/drivers/net/ethernet/dec/tulip/ |
| H A D | tulip_core.c | 1810 goto save_state; in tulip_suspend() 1818 save_state: in tulip_suspend()
|
| /linux/drivers/usb/serial/ |
| H A D | mos7720.c | 540 .save_state = parport_mos7715_save_state,
|