gpmc_write_reg
gpmc_write_reg(GPMC_CONFIG, regval);
gpmc_write_reg(GPMC_IRQENABLE, regval);
gpmc_write_reg(GPMC_CONFIG, regval);
gpmc_write_reg(GPMC_IRQSTATUS, BIT(hwirq));
gpmc_write_reg(GPMC_IRQSTATUS, regval);
gpmc_write_reg(GPMC_IRQENABLE, 0);
gpmc_write_reg(GPMC_IRQSTATUS, regval);
gpmc_write_reg(GPMC_CONFIG, config1);
gpmc_write_reg(GPMC_CONFIG, val);
gpmc_write_reg(GPMC_SYSCONFIG, gpmc_context->sysconfig);
gpmc_write_reg(GPMC_IRQENABLE, gpmc_context->irqenable);
gpmc_write_reg(GPMC_TIMEOUT_CONTROL, gpmc_context->timeout_ctrl);
gpmc_write_reg(GPMC_CONFIG, gpmc_context->config);
gpmc_write_reg(GPMC_PREFETCH_CONFIG1, gpmc_context->prefetch_config1);
gpmc_write_reg(GPMC_PREFETCH_CONFIG2, gpmc_context->prefetch_config2);
gpmc_write_reg(GPMC_PREFETCH_CONTROL, gpmc_context->prefetch_control);