Lines Matching defs:gpmc_context

2531 static struct omap3_gpmc_regs gpmc_context;
2540 gpmc_context.sysconfig = gpmc_read_reg(GPMC_SYSCONFIG);
2541 gpmc_context.irqenable = gpmc_read_reg(GPMC_IRQENABLE);
2542 gpmc_context.timeout_ctrl = gpmc_read_reg(GPMC_TIMEOUT_CONTROL);
2543 gpmc_context.config = gpmc_read_reg(GPMC_CONFIG);
2544 gpmc_context.prefetch_config1 = gpmc_read_reg(GPMC_PREFETCH_CONFIG1);
2545 gpmc_context.prefetch_config2 = gpmc_read_reg(GPMC_PREFETCH_CONFIG2);
2546 gpmc_context.prefetch_control = gpmc_read_reg(GPMC_PREFETCH_CONTROL);
2548 gpmc_context.cs_context[i].is_valid = gpmc_cs_mem_enabled(i);
2549 if (gpmc_context.cs_context[i].is_valid) {
2550 gpmc_context.cs_context[i].config1 =
2552 gpmc_context.cs_context[i].config2 =
2554 gpmc_context.cs_context[i].config3 =
2556 gpmc_context.cs_context[i].config4 =
2558 gpmc_context.cs_context[i].config5 =
2560 gpmc_context.cs_context[i].config6 =
2562 gpmc_context.cs_context[i].config7 =
2575 gpmc_write_reg(GPMC_SYSCONFIG, gpmc_context.sysconfig);
2576 gpmc_write_reg(GPMC_IRQENABLE, gpmc_context.irqenable);
2577 gpmc_write_reg(GPMC_TIMEOUT_CONTROL, gpmc_context.timeout_ctrl);
2578 gpmc_write_reg(GPMC_CONFIG, gpmc_context.config);
2579 gpmc_write_reg(GPMC_PREFETCH_CONFIG1, gpmc_context.prefetch_config1);
2580 gpmc_write_reg(GPMC_PREFETCH_CONFIG2, gpmc_context.prefetch_config2);
2581 gpmc_write_reg(GPMC_PREFETCH_CONTROL, gpmc_context.prefetch_control);
2583 if (gpmc_context.cs_context[i].is_valid) {
2585 gpmc_context.cs_context[i].config1);
2587 gpmc_context.cs_context[i].config2);
2589 gpmc_context.cs_context[i].config3);
2591 gpmc_context.cs_context[i].config4);
2593 gpmc_context.cs_context[i].config5);
2595 gpmc_context.cs_context[i].config6);
2597 gpmc_context.cs_context[i].config7);