Home
last modified time | relevance | path

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

12

/Linux-v6.1/arch/arm/mach-omap2/
Domap-mpuss-lowpower.c182 static void l2x0_pwrst_prepare(unsigned int cpu_id, unsigned int save_state) in l2x0_pwrst_prepare() argument
187 writel_relaxed(save_state, pm_info->l2x0_sar_addr); in l2x0_pwrst_prepare()
228 unsigned int save_state = 0, cpu_logic_state = PWRDM_POWER_RET; in omap4_enter_lowpower() local
236 save_state = 0; in omap4_enter_lowpower()
240 save_state = 1; in omap4_enter_lowpower()
244 save_state = 0; in omap4_enter_lowpower()
266 save_state = 2; in omap4_enter_lowpower()
273 l2x0_pwrst_prepare(cpu, save_state); in omap4_enter_lowpower()
278 if (save_state) in omap4_enter_lowpower()
279 cpu_suspend(save_state, omap_pm_ops.finish_suspend); in omap4_enter_lowpower()
[all …]
Dpm34xx.c171 static int omap34xx_do_sram_idle(unsigned long save_state) in omap34xx_do_sram_idle() argument
173 omap34xx_cpu_suspend(save_state); in omap34xx_do_sram_idle()
185 int save_state = 0; in omap_sram_idle() local
197 save_state = 0; in omap_sram_idle()
200 save_state = 3; in omap_sram_idle()
255 if (save_state) in omap_sram_idle()
257 if (save_state == 1 || save_state == 3) in omap_sram_idle()
258 cpu_suspend(save_state, omap34xx_do_sram_idle); in omap_sram_idle()
260 omap34xx_do_sram_idle(save_state); in omap_sram_idle()
Dpm.h69 extern void omap34xx_cpu_suspend(int save_state);
/Linux-v6.1/drivers/pci/pcie/
Dptm.c90 struct pci_cap_saved_state *save_state; in pci_save_ptm_state() local
96 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_PTM); in pci_save_ptm_state()
97 if (!save_state) in pci_save_ptm_state()
100 cap = (u32 *)&save_state->cap.data[0]; in pci_save_ptm_state()
107 struct pci_cap_saved_state *save_state; in pci_restore_ptm_state() local
113 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_PTM); in pci_restore_ptm_state()
114 if (!save_state) in pci_restore_ptm_state()
117 cap = (u32 *)&save_state->cap.data[0]; in pci_restore_ptm_state()
Ddpc.c44 struct pci_cap_saved_state *save_state; in pci_save_dpc_state() local
50 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_DPC); in pci_save_dpc_state()
51 if (!save_state) in pci_save_dpc_state()
54 cap = (u16 *)&save_state->cap.data[0]; in pci_save_dpc_state()
60 struct pci_cap_saved_state *save_state; in pci_restore_dpc_state() local
66 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_DPC); in pci_restore_dpc_state()
67 if (!save_state) in pci_restore_dpc_state()
70 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_dpc_state()
Daer.c334 struct pci_cap_saved_state *save_state; in pci_save_aer_state() local
340 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_ERR); in pci_save_aer_state()
341 if (!save_state) in pci_save_aer_state()
344 cap = &save_state->cap.data[0]; in pci_save_aer_state()
356 struct pci_cap_saved_state *save_state; in pci_restore_aer_state() local
362 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_ERR); in pci_restore_aer_state()
363 if (!save_state) in pci_restore_aer_state()
366 cap = &save_state->cap.data[0]; in pci_restore_aer_state()
Daspm.c762 struct pci_cap_saved_state *save_state; in pci_save_aspm_l1ss_state() local
769 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_L1SS); in pci_save_aspm_l1ss_state()
770 if (!save_state) in pci_save_aspm_l1ss_state()
773 cap = (u32 *)&save_state->cap.data[0]; in pci_save_aspm_l1ss_state()
780 struct pci_cap_saved_state *save_state; in pci_restore_aspm_l1ss_state() local
787 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_L1SS); in pci_restore_aspm_l1ss_state()
788 if (!save_state) in pci_restore_aspm_l1ss_state()
791 cap = (u32 *)&save_state->cap.data[0]; in pci_restore_aspm_l1ss_state()
/Linux-v6.1/drivers/pci/
Dvc.c185 struct pci_cap_saved_state *save_state, in pci_vc_do_save_buffer() argument
191 u8 *buf = save_state ? (u8 *)save_state->cap.data : NULL; in pci_vc_do_save_buffer()
194 if (buf && save_state->cap.size != in pci_vc_do_save_buffer()
358 struct pci_cap_saved_state *save_state; in pci_save_vc_state() local
364 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_save_vc_state()
365 if (!save_state) { in pci_save_vc_state()
371 ret = pci_vc_do_save_buffer(dev, pos, save_state, true); in pci_save_vc_state()
395 struct pci_cap_saved_state *save_state; in pci_restore_vc_state() local
398 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_restore_vc_state()
399 if (!save_state || !pos) in pci_restore_vc_state()
[all …]
Dpci.c1498 struct pci_cap_saved_state *save_state; in pci_save_pcie_state() local
1504 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_save_pcie_state()
1505 if (!save_state) { in pci_save_pcie_state()
1510 cap = (u16 *)&save_state->cap.data[0]; in pci_save_pcie_state()
1543 struct pci_cap_saved_state *save_state; in pci_restore_pcie_state() local
1546 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_restore_pcie_state()
1547 if (!save_state) in pci_restore_pcie_state()
1557 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_pcie_state()
1570 struct pci_cap_saved_state *save_state; in pci_save_pcix_state() local
1576 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); in pci_save_pcix_state()
[all …]
/Linux-v6.1/tools/tracing/latency/
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.opt_valid[OPTIDX_FUNC_TR] = false; in init_save_state()
[all …]
/Linux-v6.1/drivers/pcmcia/
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()
Dyenta_socket.h109 void (*save_state)(struct yenta_socket *); member
/Linux-v6.1/drivers/parport/
Dparport_atari.c153 .save_state = parport_atari_save_state,
Dparport_amiga.c169 .save_state = amiga_save_state,
Dshare.c85 .save_state = dead_state,
995 port->ops->save_state(port, dev->state); in parport_claim()
1189 port->ops->save_state(port, dev->state); in parport_release()
Dparport_gsc.c110 .save_state = parport_gsc_save_state,
Dparport_mfc3.c263 .save_state = mfc3_save_state,
Dparport_sunbpp.c250 .save_state = parport_sunbpp_save_state,
Dparport_ax88796.c249 .save_state = parport_ax88796_save_state,
/Linux-v6.1/drivers/hwtracing/coresight/
Dcoresight-etm4x-core.c1604 state = drvdata->save_state; in __etm4_cpu_save()
1720 if (local_read(&drvdata->mode) && drvdata->save_state) in etm4_cpu_save()
1728 struct etmv4_save_state *state = drvdata->save_state; in __etm4_cpu_restore()
1928 drvdata->save_state = devm_kmalloc(dev, in etm4_probe()
1930 if (!drvdata->save_state) in etm4_probe()
/Linux-v6.1/drivers/video/fbdev/intelfb/
Dintelfb.h279 struct intelfb_hwstate save_state; member
Dintelfbdrv.c840 i = intelfbhw_read_hw_state(dinfo, &dinfo->save_state, in intelfb_pci_register()
847 intelfbhw_print_hw_state(dinfo, &dinfo->save_state); in intelfb_pci_register()
853 dinfo->pipe = intelfbhw_active_pipe(&dinfo->save_state); in intelfb_pci_register()
1348 memcpy(hw, &dinfo->save_state, sizeof(*hw)); in intelfb_set_par()
/Linux-v6.1/drivers/infiniband/sw/rxe/
Drxe_req.c527 static void save_state(struct rxe_send_wqe *wqe, in save_state() function
787 save_state(wqe, qp, &rollback_wqe, &rollback_psn); in rxe_requester()
/Linux-v6.1/include/linux/
Dparport.h87 void (*save_state)(struct parport *, struct parport_state *); member
/Linux-v6.1/drivers/scsi/aic7xxx/
Daic7xxx.h1184 int save_state);

12