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

/linux-4.4.14/arch/arm/mach-omap2/
H A Domap-mpuss-lowpower.c184 static void l2x0_pwrst_prepare(unsigned int cpu_id, unsigned int save_state) l2x0_pwrst_prepare() argument
189 writel_relaxed(save_state, pm_info->l2x0_sar_addr); l2x0_pwrst_prepare()
221 * save_state =
230 unsigned int save_state = 0, cpu_logic_state = PWRDM_POWER_RET; omap4_enter_lowpower() local
239 save_state = 0; omap4_enter_lowpower()
243 save_state = 1; omap4_enter_lowpower()
247 save_state = 0; omap4_enter_lowpower()
270 save_state = 2; omap4_enter_lowpower()
277 l2x0_pwrst_prepare(cpu, save_state); omap4_enter_lowpower()
282 if (save_state) omap4_enter_lowpower()
283 cpu_suspend(save_state, omap_pm_ops.finish_suspend); omap4_enter_lowpower()
285 omap_pm_ops.finish_suspend(save_state); omap4_enter_lowpower()
H A Dpm34xx.c182 static int omap34xx_do_sram_idle(unsigned long save_state) omap34xx_do_sram_idle() argument
184 omap34xx_cpu_suspend(save_state); omap34xx_do_sram_idle()
192 /* save_state = 0 => Nothing to save and restored */ omap_sram_idle()
193 /* save_state = 1 => Only L1 and logic lost */ omap_sram_idle()
194 /* save_state = 2 => Only L2 lost */ omap_sram_idle()
195 /* save_state = 3 => L1, L2 and logic lost */ omap_sram_idle()
196 int save_state = 0; omap_sram_idle() local
209 save_state = 0; omap_sram_idle()
212 save_state = 3; omap_sram_idle()
266 if (save_state) omap_sram_idle()
268 if (save_state == 1 || save_state == 3) omap_sram_idle()
269 cpu_suspend(save_state, omap34xx_do_sram_idle); omap_sram_idle()
271 omap34xx_do_sram_idle(save_state); omap_sram_idle()
H A Dpm.h76 extern void omap34xx_cpu_suspend(int save_state);
/linux-4.4.14/drivers/pci/
H A Dvc.c175 * @save_state: buffer for save/restore
182 * @save_state, return the size of the necessary save buffer. When called
183 * with a non-NULL @save_state, @save determines whether we save to the
187 struct pci_cap_saved_state *save_state, pci_vc_do_save_buffer()
193 u8 *buf = save_state ? (u8 *)save_state->cap.data : NULL; pci_vc_do_save_buffer()
196 if (buf && save_state->cap.size != pci_vc_do_save_buffer()
361 struct pci_cap_saved_state *save_state; pci_save_vc_state() local
367 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); pci_save_vc_state()
368 if (!save_state) { pci_save_vc_state()
374 ret = pci_vc_do_save_buffer(dev, pos, save_state, true); pci_save_vc_state()
398 struct pci_cap_saved_state *save_state; pci_restore_vc_state() local
401 save_state = pci_find_saved_ext_cap(dev, vc_caps[i].id); pci_restore_vc_state()
402 if (!save_state || !pos) pci_restore_vc_state()
405 pci_vc_do_save_buffer(dev, pos, save_state, false); pci_restore_vc_state()
186 pci_vc_do_save_buffer(struct pci_dev *dev, int pos, struct pci_cap_saved_state *save_state, bool save) pci_vc_do_save_buffer() argument
H A Dpci.c964 struct pci_cap_saved_state *save_state; pci_save_pcie_state() local
970 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); pci_save_pcie_state()
971 if (!save_state) { pci_save_pcie_state()
976 cap = (u16 *)&save_state->cap.data[0]; pci_save_pcie_state()
991 struct pci_cap_saved_state *save_state; pci_restore_pcie_state() local
994 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_EXP); pci_restore_pcie_state()
995 if (!save_state) pci_restore_pcie_state()
998 cap = (u16 *)&save_state->cap.data[0]; pci_restore_pcie_state()
1012 struct pci_cap_saved_state *save_state; pci_save_pcix_state() local
1018 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); pci_save_pcix_state()
1019 if (!save_state) { pci_save_pcix_state()
1025 (u16 *)save_state->cap.data); pci_save_pcix_state()
1033 struct pci_cap_saved_state *save_state; pci_restore_pcix_state() local
1036 save_state = pci_find_saved_cap(dev, PCI_CAP_ID_PCIX); pci_restore_pcix_state()
1038 if (!save_state || !pos) pci_restore_pcix_state()
1040 cap = (u16 *)&save_state->cap.data[0]; pci_restore_pcix_state()
2440 struct pci_cap_saved_state *save_state; _pci_add_cap_save_buffer() local
2450 save_state = kzalloc(sizeof(*save_state) + size, GFP_KERNEL); _pci_add_cap_save_buffer()
2451 if (!save_state) _pci_add_cap_save_buffer()
2454 save_state->cap.cap_nr = cap; _pci_add_cap_save_buffer()
2455 save_state->cap.cap_extended = extended; _pci_add_cap_save_buffer()
2456 save_state->cap.size = size; _pci_add_cap_save_buffer()
2457 pci_add_saved_cap(dev, save_state); _pci_add_cap_save_buffer()
/linux-4.4.14/drivers/gpu/drm/msm/dsi/pll/
H A Ddsi_pll.c122 if (pll->save_state) { msm_dsi_pll_save_state()
123 pll->save_state(pll); msm_dsi_pll_save_state()
H A Ddsi_pll.h42 void (*save_state)(struct msm_dsi_pll *pll); member in struct:msm_dsi_pll
H A Ddsi_pll_28nm.c619 pll->save_state = dsi_pll_28nm_save_state; msm_dsi_pll_28nm_init()
/linux-4.4.14/include/linux/
H A Drtmutex.h35 int save_state; member in struct:rt_mutex
H A Dpm_domain.h35 int (*save_state)(struct device *dev); member in struct:gpd_dev_ops
H A Dparport.h87 void (*save_state)(struct parport *, struct parport_state *); member in struct:parport_operations
/linux-4.4.14/drivers/parport/
H A Dparport_atari.c152 .save_state = parport_atari_save_state,
H A Dparport_ax88796.c223 dev_dbg(dd->dev, "save_state: %p: state=%p\n", p, s); parport_ax88796_save_state()
253 .save_state = parport_ax88796_save_state,
H A Dparport_amiga.c174 .save_state = amiga_save_state,
H A Dparport_mfc3.c267 .save_state = mfc3_save_state,
H A Dparport_sunbpp.c249 .save_state = parport_sunbpp_save_state,
H A Dparport_gsc.c116 .save_state = parport_gsc_save_state,
H A Dshare.c85 .save_state = dead_state,
1119 port->ops->save_state(port, dev->state); parport_claim()
1305 port->ops->save_state(port, dev->state); parport_release()
H A Dparport_ip32.c1789 .save_state = parport_ip32_save_state,
H A Dparport_pc.c924 .save_state = parport_pc_save_state,
/linux-4.4.14/drivers/pcmcia/
H A 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,
1297 if (socket->type && socket->type->save_state) yenta_dev_suspend_noirq()
1298 socket->type->save_state(socket); yenta_dev_suspend_noirq()
H A Dyenta_socket.h108 void (*save_state)(struct yenta_socket *); member in struct:cardbus_type
/linux-4.4.14/drivers/video/fbdev/intelfb/
H A Dintelfb.h278 struct intelfb_hwstate save_state; member in struct:intelfb_info
H A Dintelfbdrv.c836 i = intelfbhw_read_hw_state(dinfo, &dinfo->save_state, intelfb_pci_register()
843 intelfbhw_print_hw_state(dinfo, &dinfo->save_state); intelfb_pci_register()
849 dinfo->pipe = intelfbhw_active_pipe(&dinfo->save_state); intelfb_pci_register()
1349 memcpy(hw, &dinfo->save_state, sizeof(*hw)); intelfb_set_par()
/linux-4.4.14/drivers/usb/misc/
H A Duss720.c670 .save_state = parport_uss720_save_state,
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
H A Dtulip_core.c1845 goto save_state; tulip_suspend()
1853 save_state: tulip_suspend()
/linux-4.4.14/drivers/base/power/
H A Ddomain.c240 return GENPD_DEV_CALLBACK(genpd, int, save_state, dev); genpd_save_dev()
1509 genpd->dev_ops.save_state = pm_genpd_default_save_state; pm_genpd_init()
/linux-4.4.14/drivers/scsi/aic7xxx/
H A Daic79xx.h1392 int save_state);
H A Daic7xxx.h1195 int save_state);
H A Daic7xxx_core.c6171 int save_state) ahc_search_disc_list()
6183 if (save_state) { ahc_search_disc_list()
6226 if (save_state) ahc_search_disc_list()
6411 /*save_state*/FALSE); ahc_abort_scbs()
6169 ahc_search_disc_list(struct ahc_softc *ahc, int target, char channel, int lun, u_int tag, int stop_on_first, int remove, int save_state) ahc_search_disc_list() argument
H A Daic7xxx_osm.c2264 /*save_state*/FALSE); ahc_linux_queue_recovery_cmd()
/linux-4.4.14/drivers/usb/serial/
H A Dmos7720.c689 .save_state = parport_mos7715_save_state,
/linux-4.4.14/drivers/net/irda/
H A Dvlsi_ir.c1779 * - pci layer did not walk the save_state-tree (might be APM problem) vlsi_irda_resume()

Completed in 4349 milliseconds