Lines Matching refs:gpmc_context
2421 struct omap3_gpmc_regs *gpmc_context;
2427 gpmc_context = &gpmc->context;
2429 gpmc_context->sysconfig = gpmc_read_reg(GPMC_SYSCONFIG);
2430 gpmc_context->irqenable = gpmc_read_reg(GPMC_IRQENABLE);
2431 gpmc_context->timeout_ctrl = gpmc_read_reg(GPMC_TIMEOUT_CONTROL);
2432 gpmc_context->config = gpmc_read_reg(GPMC_CONFIG);
2433 gpmc_context->prefetch_config1 = gpmc_read_reg(GPMC_PREFETCH_CONFIG1);
2434 gpmc_context->prefetch_config2 = gpmc_read_reg(GPMC_PREFETCH_CONFIG2);
2435 gpmc_context->prefetch_control = gpmc_read_reg(GPMC_PREFETCH_CONTROL);
2437 gpmc_context->cs_context[i].is_valid = gpmc_cs_mem_enabled(i);
2438 if (gpmc_context->cs_context[i].is_valid) {
2439 gpmc_context->cs_context[i].config1 =
2441 gpmc_context->cs_context[i].config2 =
2443 gpmc_context->cs_context[i].config3 =
2445 gpmc_context->cs_context[i].config4 =
2447 gpmc_context->cs_context[i].config5 =
2449 gpmc_context->cs_context[i].config6 =
2451 gpmc_context->cs_context[i].config7 =
2459 struct omap3_gpmc_regs *gpmc_context;
2465 gpmc_context = &gpmc->context;
2467 gpmc_write_reg(GPMC_SYSCONFIG, gpmc_context->sysconfig);
2468 gpmc_write_reg(GPMC_IRQENABLE, gpmc_context->irqenable);
2469 gpmc_write_reg(GPMC_TIMEOUT_CONTROL, gpmc_context->timeout_ctrl);
2470 gpmc_write_reg(GPMC_CONFIG, gpmc_context->config);
2471 gpmc_write_reg(GPMC_PREFETCH_CONFIG1, gpmc_context->prefetch_config1);
2472 gpmc_write_reg(GPMC_PREFETCH_CONFIG2, gpmc_context->prefetch_config2);
2473 gpmc_write_reg(GPMC_PREFETCH_CONTROL, gpmc_context->prefetch_control);
2475 if (gpmc_context->cs_context[i].is_valid) {
2477 gpmc_context->cs_context[i].config1);
2479 gpmc_context->cs_context[i].config2);
2481 gpmc_context->cs_context[i].config3);
2483 gpmc_context->cs_context[i].config4);
2485 gpmc_context->cs_context[i].config5);
2487 gpmc_context->cs_context[i].config6);
2489 gpmc_context->cs_context[i].config7);