Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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.c176 static int omap34xx_do_sram_idle(unsigned long save_state) in omap34xx_do_sram_idle() argument
178 omap34xx_cpu_suspend(save_state); in omap34xx_do_sram_idle()
190 int save_state = 0; in omap_sram_idle() local
202 save_state = 0; in omap_sram_idle()
205 save_state = 3; in omap_sram_idle()
260 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()
Dpm.h69 extern void omap34xx_cpu_suspend(int save_state);
/kernel/linux/linux-5.10/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.c1419 struct pci_cap_saved_state *save_state; in pci_save_pcie_state() local
1425 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_save_pcie_state()
1426 if (!save_state) { in pci_save_pcie_state()
1431 cap = (u16 *)&save_state->cap.data[0]; in pci_save_pcie_state()
1446 struct pci_cap_saved_state *save_state; in pci_restore_pcie_state() local
1449 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_restore_pcie_state()
1450 if (!save_state) in pci_restore_pcie_state()
1453 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_pcie_state()
1466 struct pci_cap_saved_state *save_state; in pci_save_pcix_state() local
1472 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); in pci_save_pcix_state()
[all …]
/kernel/linux/linux-5.10/drivers/pci/pcie/
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()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll.c114 if (pll->save_state) { in msm_dsi_pll_save_state()
115 pll->save_state(pll); in msm_dsi_pll_save_state()
Ddsi_pll.h34 void (*save_state)(struct msm_dsi_pll *pll); member
/kernel/linux/linux-5.10/drivers/pcmcia/
Dyenta_socket.c871 .save_state = ti_save_state,
877 .save_state = ti_save_state,
883 .save_state = ti_save_state,
889 .save_state = ti_save_state,
895 .save_state = ti_save_state,
903 .save_state = ricoh_save_state,
1309 if (socket->type && socket->type->save_state) in yenta_dev_suspend_noirq()
1310 socket->type->save_state(socket); in yenta_dev_suspend_noirq()
Dyenta_socket.h109 void (*save_state)(struct yenta_socket *); member
/kernel/linux/linux-5.10/include/linux/
Drtmutex.h35 int save_state; member
Dparport.h87 void (*save_state)(struct parport *, struct parport_state *); member
/kernel/linux/linux-5.10/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_mfc3.c263 .save_state = mfc3_save_state,
Dparport_gsc.c111 .save_state = parport_gsc_save_state,
Dparport_sunbpp.c250 .save_state = parport_sunbpp_save_state,
Dparport_ax88796.c249 .save_state = parport_ax88796_save_state,
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
Dcoresight-etm4x-core.c1182 state = drvdata->save_state; in etm4_cpu_save()
1289 struct etmv4_save_state *state = drvdata->save_state; in etm4_cpu_restore()
1403 if (!drvdata->save_state) in etm4_cpu_pm_notify()
1497 drvdata->save_state = devm_kmalloc(dev, in etm4_probe()
1499 if (!drvdata->save_state) in etm4_probe()
Dcoresight-etm4x.h463 struct etmv4_save_state *save_state; member
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
Dintelfb.h279 struct intelfb_hwstate save_state; member
Dintelfbdrv.c835 i = intelfbhw_read_hw_state(dinfo, &dinfo->save_state, in intelfb_pci_register()
842 intelfbhw_print_hw_state(dinfo, &dinfo->save_state); in intelfb_pci_register()
848 dinfo->pipe = intelfbhw_active_pipe(&dinfo->save_state); in intelfb_pci_register()
1346 memcpy(hw, &dinfo->save_state, sizeof(*hw)); in intelfb_set_par()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_req.c522 static void save_state(struct rxe_send_wqe *wqe, in save_state() function
706 save_state(wqe, qp, &rollback_wqe, &rollback_psn); in rxe_requester()

12