Home
last modified time | relevance | path

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

12

/Linux-v4.19/arch/arm/mach-omap2/
Domap-mpuss-lowpower.c187 static void l2x0_pwrst_prepare(unsigned int cpu_id, unsigned int save_state) in l2x0_pwrst_prepare() argument
192 writel_relaxed(save_state, pm_info->l2x0_sar_addr); in l2x0_pwrst_prepare()
233 unsigned int save_state = 0, cpu_logic_state = PWRDM_POWER_RET; in omap4_enter_lowpower() local
242 save_state = 0; in omap4_enter_lowpower()
246 save_state = 1; in omap4_enter_lowpower()
250 save_state = 0; in omap4_enter_lowpower()
272 save_state = 2; in omap4_enter_lowpower()
279 l2x0_pwrst_prepare(cpu, save_state); in omap4_enter_lowpower()
284 if (save_state) in omap4_enter_lowpower()
285 cpu_suspend(save_state, omap_pm_ops.finish_suspend); in omap4_enter_lowpower()
[all …]
Dpm34xx.c182 static int omap34xx_do_sram_idle(unsigned long save_state) in omap34xx_do_sram_idle() argument
184 omap34xx_cpu_suspend(save_state); in omap34xx_do_sram_idle()
196 int save_state = 0; in omap_sram_idle() local
208 save_state = 0; in omap_sram_idle()
211 save_state = 3; in omap_sram_idle()
265 if (save_state) in omap_sram_idle()
267 if (save_state == 1 || save_state == 3) in omap_sram_idle()
268 cpu_suspend(save_state, omap34xx_do_sram_idle); in omap_sram_idle()
270 omap34xx_do_sram_idle(save_state); in omap_sram_idle()
Dpm.h76 extern void omap34xx_cpu_suspend(int save_state);
/Linux-v4.19/drivers/pci/
Dvc.c184 struct pci_cap_saved_state *save_state, in pci_vc_do_save_buffer() argument
190 u8 *buf = save_state ? (u8 *)save_state->cap.data : NULL; in pci_vc_do_save_buffer()
193 if (buf && save_state->cap.size != in pci_vc_do_save_buffer()
357 struct pci_cap_saved_state *save_state; in pci_save_vc_state() local
363 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_save_vc_state()
364 if (!save_state) { in pci_save_vc_state()
370 ret = pci_vc_do_save_buffer(dev, pos, save_state, true); in pci_save_vc_state()
394 struct pci_cap_saved_state *save_state; in pci_restore_vc_state() local
397 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); in pci_restore_vc_state()
398 if (!save_state || !pos) in pci_restore_vc_state()
[all …]
Dpci.c1185 struct pci_cap_saved_state *save_state; in pci_save_pcie_state() local
1191 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_save_pcie_state()
1192 if (!save_state) { in pci_save_pcie_state()
1197 cap = (u16 *)&save_state->cap.data[0]; in pci_save_pcie_state()
1212 struct pci_cap_saved_state *save_state; in pci_restore_pcie_state() local
1215 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); in pci_restore_pcie_state()
1216 if (!save_state) in pci_restore_pcie_state()
1219 cap = (u16 *)&save_state->cap.data[0]; in pci_restore_pcie_state()
1233 struct pci_cap_saved_state *save_state; in pci_save_pcix_state() local
1239 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); in pci_save_pcix_state()
[all …]
/Linux-v4.19/drivers/gpu/drm/msm/dsi/pll/
Ddsi_pll.c122 if (pll->save_state) { in msm_dsi_pll_save_state()
123 pll->save_state(pll); in msm_dsi_pll_save_state()
Ddsi_pll.h42 void (*save_state)(struct msm_dsi_pll *pll); member
Ddsi_pll_28nm_8960.c521 pll->save_state = dsi_pll_28nm_save_state; in msm_dsi_pll_28nm_8960_init()
Ddsi_pll_28nm.c620 pll->save_state = dsi_pll_28nm_save_state; in msm_dsi_pll_28nm_init()
/Linux-v4.19/drivers/pcmcia/
Dyenta_socket.c858 .save_state = ti_save_state,
864 .save_state = ti_save_state,
870 .save_state = ti_save_state,
876 .save_state = ti_save_state,
882 .save_state = ti_save_state,
890 .save_state = ricoh_save_state,
1296 if (socket->type && socket->type->save_state) in yenta_dev_suspend_noirq()
1297 socket->type->save_state(socket); in yenta_dev_suspend_noirq()
Dyenta_socket.h109 void (*save_state)(struct yenta_socket *); member
/Linux-v4.19/include/linux/
Drtmutex.h35 int save_state; member
Dparport.h87 void (*save_state)(struct parport *, struct parport_state *); member
/Linux-v4.19/drivers/parport/
Dparport_atari.c152 .save_state = parport_atari_save_state,
Dparport_amiga.c174 .save_state = amiga_save_state,
Dshare.c85 .save_state = dead_state,
1130 port->ops->save_state(port, dev->state); in parport_claim()
1324 port->ops->save_state(port, dev->state); in parport_release()
Dparport_gsc.c116 .save_state = parport_gsc_save_state,
Dparport_mfc3.c267 .save_state = mfc3_save_state,
Dparport_sunbpp.c249 .save_state = parport_sunbpp_save_state,
Dparport_ax88796.c253 .save_state = parport_ax88796_save_state,
/Linux-v4.19/drivers/video/fbdev/intelfb/
Dintelfb.h279 struct intelfb_hwstate save_state; member
Dintelfbdrv.c836 i = intelfbhw_read_hw_state(dinfo, &dinfo->save_state, in intelfb_pci_register()
843 intelfbhw_print_hw_state(dinfo, &dinfo->save_state); in intelfb_pci_register()
849 dinfo->pipe = intelfbhw_active_pipe(&dinfo->save_state); in intelfb_pci_register()
1344 memcpy(hw, &dinfo->save_state, sizeof(*hw)); in intelfb_set_par()
/Linux-v4.19/drivers/infiniband/sw/rxe/
Drxe_req.c543 static void save_state(struct rxe_send_wqe *wqe, in save_state() function
725 save_state(wqe, qp, &rollback_wqe, &rollback_psn); in rxe_requester()
/Linux-v4.19/drivers/scsi/aic7xxx/
Daic7xxx.h1195 int save_state);
/Linux-v4.19/drivers/usb/misc/
Duss720.c651 .save_state = parport_uss720_save_state,

12