Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/arch/arm/mach-omap2/
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 …]
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()
A Dpm.h52 extern void omap34xx_cpu_suspend(int save_state);
/linux-6.3-rc2/drivers/pci/pcie/
A 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()
A 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()
A Daer.c337 struct pci_cap_saved_state *save_state; in pci_save_aer_state() local
343 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_ERR); in pci_save_aer_state()
344 if (!save_state) in pci_save_aer_state()
347 cap = &save_state->cap.data[0]; in pci_save_aer_state()
359 struct pci_cap_saved_state *save_state; in pci_restore_aer_state() local
365 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_ERR); in pci_restore_aer_state()
366 if (!save_state) in pci_restore_aer_state()
369 cap = &save_state->cap.data[0]; in pci_restore_aer_state()
/linux-6.3-rc2/drivers/pci/
A 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 …]
A Dpci.c1502 if (!save_state) { in pci_save_pcie_state()
1544 if (!save_state) in pci_restore_pcie_state()
1574 if (!save_state) { in pci_save_pcix_state()
1593 if (!save_state || !pos) in pci_restore_pcix_state()
1614 if (!save_state) { in pci_save_ltr_state()
1620 cap = &save_state->cap.data[0]; in pci_save_ltr_state()
1632 if (!save_state || !ltr) in pci_restore_ltr_state()
3419 save_state = kzalloc(sizeof(*save_state) + size, GFP_KERNEL); in _pci_add_cap_save_buffer()
3420 if (!save_state) in _pci_add_cap_save_buffer()
3423 save_state->cap.cap_nr = cap; in _pci_add_cap_save_buffer()
[all …]
/linux-6.3-rc2/tools/tracing/latency/
A Dlatency-collector.c607 mutex_lock(&save_state.mutex); in restore_ftrace()
613 mutex_unlock(&save_state.mutex); in restore_ftrace()
655 save_state.tracer = NULL; in init_save_state()
656 save_state.thresh = NULL; in init_save_state()
1377 mutex_lock(&save_state.mutex); in save_and_disable_tracer()
1379 save_trace_opts(&save_state); in save_and_disable_tracer()
1400 save_state.tracer = tracer; in save_and_disable_tracer()
1401 save_state.thresh = orig_th; in save_and_disable_tracer()
1406 mutex_unlock(&save_state.mutex); in save_and_disable_tracer()
1439 mutex_lock(&save_state.mutex); in enable_tracer()
[all …]
/linux-6.3-rc2/drivers/pcmcia/
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()
A Dyenta_socket.h109 void (*save_state)(struct yenta_socket *); member
/linux-6.3-rc2/drivers/parport/
A Dparport_atari.c153 .save_state = parport_atari_save_state,
A Dparport_amiga.c169 .save_state = amiga_save_state,
A 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()
A Dparport_mfc3.c263 .save_state = mfc3_save_state,
A Dparport_gsc.c110 .save_state = parport_gsc_save_state,
A Dparport_sunbpp.c250 .save_state = parport_sunbpp_save_state,
/linux-6.3-rc2/drivers/hwtracing/coresight/
A Dcoresight-etm4x-core.c1661 state = drvdata->save_state; in __etm4_cpu_save()
1779 if (local_read(&drvdata->mode) && drvdata->save_state) in etm4_cpu_save()
1787 struct etmv4_save_state *state = drvdata->save_state; in __etm4_cpu_restore()
2069 drvdata->save_state = devm_kmalloc(dev, in etm4_probe()
2071 if (!drvdata->save_state) in etm4_probe()
/linux-6.3-rc2/drivers/video/fbdev/intelfb/
A Dintelfb.h279 struct intelfb_hwstate save_state; member
A Dintelfbdrv.c843 i = intelfbhw_read_hw_state(dinfo, &dinfo->save_state, in intelfb_pci_register()
850 intelfbhw_print_hw_state(dinfo, &dinfo->save_state); in intelfb_pci_register()
856 dinfo->pipe = intelfbhw_active_pipe(&dinfo->save_state); in intelfb_pci_register()
1351 memcpy(hw, &dinfo->save_state, sizeof(*hw)); in intelfb_set_par()
/linux-6.3-rc2/drivers/infiniband/sw/rxe/
A Drxe_req.c549 static void save_state(struct rxe_send_wqe *wqe, in save_state() function
811 save_state(wqe, qp, &rollback_wqe, &rollback_psn); in rxe_requester()
/linux-6.3-rc2/include/linux/
A Dparport.h82 void (*save_state)(struct parport *, struct parport_state *); member
/linux-6.3-rc2/drivers/scsi/aic7xxx/
A Daic7xxx.h1184 int save_state);
A Daic79xx.h1379 int save_state);
/linux-6.3-rc2/drivers/usb/misc/
A Duss720.c652 .save_state = parport_uss720_save_state,

Completed in 74 milliseconds

12