Lines Matching refs:gpmc_context
2491 static struct omap3_gpmc_regs gpmc_context; variable
2500 gpmc_context.sysconfig = gpmc_read_reg(GPMC_SYSCONFIG); in omap3_gpmc_save_context()
2501 gpmc_context.irqenable = gpmc_read_reg(GPMC_IRQENABLE); in omap3_gpmc_save_context()
2502 gpmc_context.timeout_ctrl = gpmc_read_reg(GPMC_TIMEOUT_CONTROL); in omap3_gpmc_save_context()
2503 gpmc_context.config = gpmc_read_reg(GPMC_CONFIG); in omap3_gpmc_save_context()
2504 gpmc_context.prefetch_config1 = gpmc_read_reg(GPMC_PREFETCH_CONFIG1); in omap3_gpmc_save_context()
2505 gpmc_context.prefetch_config2 = gpmc_read_reg(GPMC_PREFETCH_CONFIG2); in omap3_gpmc_save_context()
2506 gpmc_context.prefetch_control = gpmc_read_reg(GPMC_PREFETCH_CONTROL); in omap3_gpmc_save_context()
2508 gpmc_context.cs_context[i].is_valid = gpmc_cs_mem_enabled(i); in omap3_gpmc_save_context()
2509 if (gpmc_context.cs_context[i].is_valid) { in omap3_gpmc_save_context()
2510 gpmc_context.cs_context[i].config1 = in omap3_gpmc_save_context()
2512 gpmc_context.cs_context[i].config2 = in omap3_gpmc_save_context()
2514 gpmc_context.cs_context[i].config3 = in omap3_gpmc_save_context()
2516 gpmc_context.cs_context[i].config4 = in omap3_gpmc_save_context()
2518 gpmc_context.cs_context[i].config5 = in omap3_gpmc_save_context()
2520 gpmc_context.cs_context[i].config6 = in omap3_gpmc_save_context()
2522 gpmc_context.cs_context[i].config7 = in omap3_gpmc_save_context()
2535 gpmc_write_reg(GPMC_SYSCONFIG, gpmc_context.sysconfig); in omap3_gpmc_restore_context()
2536 gpmc_write_reg(GPMC_IRQENABLE, gpmc_context.irqenable); in omap3_gpmc_restore_context()
2537 gpmc_write_reg(GPMC_TIMEOUT_CONTROL, gpmc_context.timeout_ctrl); in omap3_gpmc_restore_context()
2538 gpmc_write_reg(GPMC_CONFIG, gpmc_context.config); in omap3_gpmc_restore_context()
2539 gpmc_write_reg(GPMC_PREFETCH_CONFIG1, gpmc_context.prefetch_config1); in omap3_gpmc_restore_context()
2540 gpmc_write_reg(GPMC_PREFETCH_CONFIG2, gpmc_context.prefetch_config2); in omap3_gpmc_restore_context()
2541 gpmc_write_reg(GPMC_PREFETCH_CONTROL, gpmc_context.prefetch_control); in omap3_gpmc_restore_context()
2543 if (gpmc_context.cs_context[i].is_valid) { in omap3_gpmc_restore_context()
2545 gpmc_context.cs_context[i].config1); in omap3_gpmc_restore_context()
2547 gpmc_context.cs_context[i].config2); in omap3_gpmc_restore_context()
2549 gpmc_context.cs_context[i].config3); in omap3_gpmc_restore_context()
2551 gpmc_context.cs_context[i].config4); in omap3_gpmc_restore_context()
2553 gpmc_context.cs_context[i].config5); in omap3_gpmc_restore_context()
2555 gpmc_context.cs_context[i].config6); in omap3_gpmc_restore_context()
2557 gpmc_context.cs_context[i].config7); in omap3_gpmc_restore_context()