Lines Matching refs:control_context

136 static struct omap3_control_regs control_context;  variable
415 control_context.sysconfig = omap_ctrl_readl(OMAP2_CONTROL_SYSCONFIG); in omap3_control_save_context()
416 control_context.devconf0 = omap_ctrl_readl(OMAP2_CONTROL_DEVCONF0); in omap3_control_save_context()
417 control_context.mem_dftrw0 = in omap3_control_save_context()
419 control_context.mem_dftrw1 = in omap3_control_save_context()
421 control_context.msuspendmux_0 = in omap3_control_save_context()
423 control_context.msuspendmux_1 = in omap3_control_save_context()
425 control_context.msuspendmux_2 = in omap3_control_save_context()
427 control_context.msuspendmux_3 = in omap3_control_save_context()
429 control_context.msuspendmux_4 = in omap3_control_save_context()
431 control_context.msuspendmux_5 = in omap3_control_save_context()
433 control_context.sec_ctrl = omap_ctrl_readl(OMAP2_CONTROL_SEC_CTRL); in omap3_control_save_context()
434 control_context.devconf1 = omap_ctrl_readl(OMAP343X_CONTROL_DEVCONF1); in omap3_control_save_context()
435 control_context.csirxfe = omap_ctrl_readl(OMAP343X_CONTROL_CSIRXFE); in omap3_control_save_context()
436 control_context.iva2_bootaddr = in omap3_control_save_context()
438 control_context.iva2_bootmod = in omap3_control_save_context()
440 control_context.wkup_ctrl = omap_ctrl_readl(OMAP34XX_CONTROL_WKUP_CTRL); in omap3_control_save_context()
441 control_context.debobs_0 = omap_ctrl_readl(OMAP343X_CONTROL_DEBOBS(0)); in omap3_control_save_context()
442 control_context.debobs_1 = omap_ctrl_readl(OMAP343X_CONTROL_DEBOBS(1)); in omap3_control_save_context()
443 control_context.debobs_2 = omap_ctrl_readl(OMAP343X_CONTROL_DEBOBS(2)); in omap3_control_save_context()
444 control_context.debobs_3 = omap_ctrl_readl(OMAP343X_CONTROL_DEBOBS(3)); in omap3_control_save_context()
445 control_context.debobs_4 = omap_ctrl_readl(OMAP343X_CONTROL_DEBOBS(4)); in omap3_control_save_context()
446 control_context.debobs_5 = omap_ctrl_readl(OMAP343X_CONTROL_DEBOBS(5)); in omap3_control_save_context()
447 control_context.debobs_6 = omap_ctrl_readl(OMAP343X_CONTROL_DEBOBS(6)); in omap3_control_save_context()
448 control_context.debobs_7 = omap_ctrl_readl(OMAP343X_CONTROL_DEBOBS(7)); in omap3_control_save_context()
449 control_context.debobs_8 = omap_ctrl_readl(OMAP343X_CONTROL_DEBOBS(8)); in omap3_control_save_context()
450 control_context.prog_io0 = omap_ctrl_readl(OMAP343X_CONTROL_PROG_IO0); in omap3_control_save_context()
451 control_context.prog_io1 = omap_ctrl_readl(OMAP343X_CONTROL_PROG_IO1); in omap3_control_save_context()
452 control_context.dss_dpll_spreading = in omap3_control_save_context()
454 control_context.core_dpll_spreading = in omap3_control_save_context()
456 control_context.per_dpll_spreading = in omap3_control_save_context()
458 control_context.usbhost_dpll_spreading = in omap3_control_save_context()
460 control_context.pbias_lite = in omap3_control_save_context()
462 control_context.temp_sensor = in omap3_control_save_context()
464 control_context.sramldo4 = omap_ctrl_readl(OMAP343X_CONTROL_SRAMLDO4); in omap3_control_save_context()
465 control_context.sramldo5 = omap_ctrl_readl(OMAP343X_CONTROL_SRAMLDO5); in omap3_control_save_context()
466 control_context.csi = omap_ctrl_readl(OMAP343X_CONTROL_CSI); in omap3_control_save_context()
467 control_context.padconf_sys_nirq = in omap3_control_save_context()
473 omap_ctrl_writel(control_context.sysconfig, OMAP2_CONTROL_SYSCONFIG); in omap3_control_restore_context()
474 omap_ctrl_writel(control_context.devconf0, OMAP2_CONTROL_DEVCONF0); in omap3_control_restore_context()
475 omap_ctrl_writel(control_context.mem_dftrw0, in omap3_control_restore_context()
477 omap_ctrl_writel(control_context.mem_dftrw1, in omap3_control_restore_context()
479 omap_ctrl_writel(control_context.msuspendmux_0, in omap3_control_restore_context()
481 omap_ctrl_writel(control_context.msuspendmux_1, in omap3_control_restore_context()
483 omap_ctrl_writel(control_context.msuspendmux_2, in omap3_control_restore_context()
485 omap_ctrl_writel(control_context.msuspendmux_3, in omap3_control_restore_context()
487 omap_ctrl_writel(control_context.msuspendmux_4, in omap3_control_restore_context()
489 omap_ctrl_writel(control_context.msuspendmux_5, in omap3_control_restore_context()
491 omap_ctrl_writel(control_context.sec_ctrl, OMAP2_CONTROL_SEC_CTRL); in omap3_control_restore_context()
492 omap_ctrl_writel(control_context.devconf1, OMAP343X_CONTROL_DEVCONF1); in omap3_control_restore_context()
493 omap_ctrl_writel(control_context.csirxfe, OMAP343X_CONTROL_CSIRXFE); in omap3_control_restore_context()
494 omap_ctrl_writel(control_context.iva2_bootaddr, in omap3_control_restore_context()
496 omap_ctrl_writel(control_context.iva2_bootmod, in omap3_control_restore_context()
498 omap_ctrl_writel(control_context.wkup_ctrl, OMAP34XX_CONTROL_WKUP_CTRL); in omap3_control_restore_context()
499 omap_ctrl_writel(control_context.debobs_0, OMAP343X_CONTROL_DEBOBS(0)); in omap3_control_restore_context()
500 omap_ctrl_writel(control_context.debobs_1, OMAP343X_CONTROL_DEBOBS(1)); in omap3_control_restore_context()
501 omap_ctrl_writel(control_context.debobs_2, OMAP343X_CONTROL_DEBOBS(2)); in omap3_control_restore_context()
502 omap_ctrl_writel(control_context.debobs_3, OMAP343X_CONTROL_DEBOBS(3)); in omap3_control_restore_context()
503 omap_ctrl_writel(control_context.debobs_4, OMAP343X_CONTROL_DEBOBS(4)); in omap3_control_restore_context()
504 omap_ctrl_writel(control_context.debobs_5, OMAP343X_CONTROL_DEBOBS(5)); in omap3_control_restore_context()
505 omap_ctrl_writel(control_context.debobs_6, OMAP343X_CONTROL_DEBOBS(6)); in omap3_control_restore_context()
506 omap_ctrl_writel(control_context.debobs_7, OMAP343X_CONTROL_DEBOBS(7)); in omap3_control_restore_context()
507 omap_ctrl_writel(control_context.debobs_8, OMAP343X_CONTROL_DEBOBS(8)); in omap3_control_restore_context()
508 omap_ctrl_writel(control_context.prog_io0, OMAP343X_CONTROL_PROG_IO0); in omap3_control_restore_context()
509 omap_ctrl_writel(control_context.prog_io1, OMAP343X_CONTROL_PROG_IO1); in omap3_control_restore_context()
510 omap_ctrl_writel(control_context.dss_dpll_spreading, in omap3_control_restore_context()
512 omap_ctrl_writel(control_context.core_dpll_spreading, in omap3_control_restore_context()
514 omap_ctrl_writel(control_context.per_dpll_spreading, in omap3_control_restore_context()
516 omap_ctrl_writel(control_context.usbhost_dpll_spreading, in omap3_control_restore_context()
518 omap_ctrl_writel(control_context.pbias_lite, in omap3_control_restore_context()
520 omap_ctrl_writel(control_context.temp_sensor, in omap3_control_restore_context()
522 omap_ctrl_writel(control_context.sramldo4, OMAP343X_CONTROL_SRAMLDO4); in omap3_control_restore_context()
523 omap_ctrl_writel(control_context.sramldo5, OMAP343X_CONTROL_SRAMLDO5); in omap3_control_restore_context()
524 omap_ctrl_writel(control_context.csi, OMAP343X_CONTROL_CSI); in omap3_control_restore_context()
525 omap_ctrl_writel(control_context.padconf_sys_nirq, in omap3_control_restore_context()