Home
last modified time | relevance | path

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

12

/Linux-v5.4/arch/arm/mach-omap2/
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()
229 unsigned int save_state = 0, cpu_logic_state = PWRDM_POWER_RET; in omap4_enter_lowpower() local
238 save_state = 0; in omap4_enter_lowpower()
242 save_state = 1; in omap4_enter_lowpower()
246 save_state = 0; in omap4_enter_lowpower()
268 save_state = 2; in omap4_enter_lowpower()
275 l2x0_pwrst_prepare(cpu, save_state); in omap4_enter_lowpower()
280 if (save_state) in omap4_enter_lowpower()
281 cpu_suspend(save_state, omap_pm_ops.finish_suspend); in omap4_enter_lowpower()
[all …]
Dpm34xx.c178 static int omap34xx_do_sram_idle(unsigned long save_state) in omap34xx_do_sram_idle() argument
180 omap34xx_cpu_suspend(save_state); in omap34xx_do_sram_idle()
192 int save_state = 0; in omap_sram_idle() local
203 save_state = 0; in omap_sram_idle()
206 save_state = 3; in omap_sram_idle()
258 if (save_state) in omap_sram_idle()
260 if (save_state == 1 || save_state == 3) in omap_sram_idle()
261 cpu_suspend(save_state, omap34xx_do_sram_idle); in omap_sram_idle()
263 omap34xx_do_sram_idle(save_state); in omap_sram_idle()
Dpm.h73 extern void omap34xx_cpu_suspend(int save_state);
/Linux-v5.4/drivers/pci/
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 …]
Dpci.c1219 struct pci_cap_saved_state *save_state; in pci_save_pcie_state() local
1225 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_save_pcie_state()
1226 if (!save_state) { in pci_save_pcie_state()
1231 cap = (u16 *)&save_state->cap.data[0]; in pci_save_pcie_state()
1246 struct pci_cap_saved_state *save_state; in pci_restore_pcie_state() local
1249 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_restore_pcie_state()
1250 if (!save_state) in pci_restore_pcie_state()
1253 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_pcie_state()
1266 struct pci_cap_saved_state *save_state; in pci_save_pcix_state() local
1272 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); in pci_save_pcix_state()
[all …]
/Linux-v5.4/drivers/pci/pcie/
Ddpc.c62 struct pci_cap_saved_state *save_state; in pci_save_dpc_state() local
72 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_DPC); in pci_save_dpc_state()
73 if (!save_state) in pci_save_dpc_state()
76 cap = (u16 *)&save_state->cap.data[0]; in pci_save_dpc_state()
83 struct pci_cap_saved_state *save_state; in pci_restore_dpc_state() local
93 save_state = pci_find_saved_ext_cap(dev, PCI_EXT_CAP_ID_DPC); in pci_restore_dpc_state()
94 if (!save_state) in pci_restore_dpc_state()
97 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_dpc_state()
/Linux-v5.4/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
Ddsi_pll_28nm_8960.c513 pll->save_state = dsi_pll_28nm_save_state; in msm_dsi_pll_28nm_8960_init()
Ddsi_pll_28nm.c612 pll->save_state = dsi_pll_28nm_save_state; in msm_dsi_pll_28nm_init()
/Linux-v5.4/drivers/pcmcia/
Dyenta_socket.c860 .save_state = ti_save_state,
866 .save_state = ti_save_state,
872 .save_state = ti_save_state,
878 .save_state = ti_save_state,
884 .save_state = ti_save_state,
892 .save_state = ricoh_save_state,
1298 if (socket->type && socket->type->save_state) in yenta_dev_suspend_noirq()
1299 socket->type->save_state(socket); in yenta_dev_suspend_noirq()
Dyenta_socket.h109 void (*save_state)(struct yenta_socket *); member
/Linux-v5.4/include/linux/
Drtmutex.h35 int save_state; member
Dparport.h87 void (*save_state)(struct parport *, struct parport_state *); member
/Linux-v5.4/drivers/parport/
Dparport_atari.c153 .save_state = parport_atari_save_state,
Dparport_amiga.c175 .save_state = amiga_save_state,
Dshare.c85 .save_state = dead_state,
1132 port->ops->save_state(port, dev->state); in parport_claim()
1326 port->ops->save_state(port, dev->state); in parport_release()
Dparport_gsc.c111 .save_state = parport_gsc_save_state,
Dparport_mfc3.c268 .save_state = mfc3_save_state,
Dparport_sunbpp.c250 .save_state = parport_sunbpp_save_state,
Dparport_ax88796.c249 .save_state = parport_ax88796_save_state,
/Linux-v5.4/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()
1343 memcpy(hw, &dinfo->save_state, sizeof(*hw)); in intelfb_set_par()
/Linux-v5.4/drivers/infiniband/sw/rxe/
Drxe_req.c546 static void save_state(struct rxe_send_wqe *wqe, in save_state() function
729 save_state(wqe, qp, &rollback_wqe, &rollback_psn); in rxe_requester()
/Linux-v5.4/drivers/scsi/aic7xxx/
Daic7xxx.h1190 int save_state);

12