Lines Matching refs:gpmc_context

2392 	struct omap3_gpmc_regs *gpmc_context;  in omap3_gpmc_save_context()  local
2398 gpmc_context = &gpmc->context; in omap3_gpmc_save_context()
2400 gpmc_context->sysconfig = gpmc_read_reg(GPMC_SYSCONFIG); in omap3_gpmc_save_context()
2401 gpmc_context->irqenable = gpmc_read_reg(GPMC_IRQENABLE); in omap3_gpmc_save_context()
2402 gpmc_context->timeout_ctrl = gpmc_read_reg(GPMC_TIMEOUT_CONTROL); in omap3_gpmc_save_context()
2403 gpmc_context->config = gpmc_read_reg(GPMC_CONFIG); in omap3_gpmc_save_context()
2404 gpmc_context->prefetch_config1 = gpmc_read_reg(GPMC_PREFETCH_CONFIG1); in omap3_gpmc_save_context()
2405 gpmc_context->prefetch_config2 = gpmc_read_reg(GPMC_PREFETCH_CONFIG2); in omap3_gpmc_save_context()
2406 gpmc_context->prefetch_control = gpmc_read_reg(GPMC_PREFETCH_CONTROL); in omap3_gpmc_save_context()
2408 gpmc_context->cs_context[i].is_valid = gpmc_cs_mem_enabled(i); in omap3_gpmc_save_context()
2409 if (gpmc_context->cs_context[i].is_valid) { in omap3_gpmc_save_context()
2410 gpmc_context->cs_context[i].config1 = in omap3_gpmc_save_context()
2412 gpmc_context->cs_context[i].config2 = in omap3_gpmc_save_context()
2414 gpmc_context->cs_context[i].config3 = in omap3_gpmc_save_context()
2416 gpmc_context->cs_context[i].config4 = in omap3_gpmc_save_context()
2418 gpmc_context->cs_context[i].config5 = in omap3_gpmc_save_context()
2420 gpmc_context->cs_context[i].config6 = in omap3_gpmc_save_context()
2422 gpmc_context->cs_context[i].config7 = in omap3_gpmc_save_context()
2430 struct omap3_gpmc_regs *gpmc_context; in omap3_gpmc_restore_context() local
2436 gpmc_context = &gpmc->context; in omap3_gpmc_restore_context()
2438 gpmc_write_reg(GPMC_SYSCONFIG, gpmc_context->sysconfig); in omap3_gpmc_restore_context()
2439 gpmc_write_reg(GPMC_IRQENABLE, gpmc_context->irqenable); in omap3_gpmc_restore_context()
2440 gpmc_write_reg(GPMC_TIMEOUT_CONTROL, gpmc_context->timeout_ctrl); in omap3_gpmc_restore_context()
2441 gpmc_write_reg(GPMC_CONFIG, gpmc_context->config); in omap3_gpmc_restore_context()
2442 gpmc_write_reg(GPMC_PREFETCH_CONFIG1, gpmc_context->prefetch_config1); in omap3_gpmc_restore_context()
2443 gpmc_write_reg(GPMC_PREFETCH_CONFIG2, gpmc_context->prefetch_config2); in omap3_gpmc_restore_context()
2444 gpmc_write_reg(GPMC_PREFETCH_CONTROL, gpmc_context->prefetch_control); in omap3_gpmc_restore_context()
2446 if (gpmc_context->cs_context[i].is_valid) { in omap3_gpmc_restore_context()
2448 gpmc_context->cs_context[i].config1); in omap3_gpmc_restore_context()
2450 gpmc_context->cs_context[i].config2); in omap3_gpmc_restore_context()
2452 gpmc_context->cs_context[i].config3); in omap3_gpmc_restore_context()
2454 gpmc_context->cs_context[i].config4); in omap3_gpmc_restore_context()
2456 gpmc_context->cs_context[i].config5); in omap3_gpmc_restore_context()
2458 gpmc_context->cs_context[i].config6); in omap3_gpmc_restore_context()
2460 gpmc_context->cs_context[i].config7); in omap3_gpmc_restore_context()