Lines Matching defs:config1
209 u32 config1;
1864 u32 config1;
1904 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1));
1907 config1 |= GPMC_CONFIG1_READTYPE_SYNC;
1909 config1 |= GPMC_CONFIG1_WRITETYPE_SYNC;
1911 config1 |= GPMC_CONFIG1_WAIT_READ_MON;
1913 config1 |= GPMC_CONFIG1_WAIT_WRITE_MON;
1915 config1 |= GPMC_CONFIG1_WAIT_PIN_SEL(p->wait_pin);
1917 config1 |= GPMC_CONFIG1_DEVICETYPE(GPMC_DEVICETYPE_NAND);
1919 config1 |= GPMC_CONFIG1_MUXTYPE(p->mux_add_data);
1921 config1 |= GPMC_CONFIG1_READMULTIPLE_SUPP;
1923 config1 |= GPMC_CONFIG1_WRITEMULTIPLE_SUPP;
1925 config1 |= GPMC_CONFIG1_PAGE_LEN(p->burst_len >> 3);
1926 config1 |= p->burst_wrap ? GPMC_CONFIG1_WRAPBURST_SUPP : 0;
1929 gpmc_cs_write_reg(cs, GPMC_CS_CONFIG1, config1);
1932 config1 = gpmc_read_reg(GPMC_CONFIG);
1935 config1 &= ~GPMC_CONFIG_WAITPINPOLARITY(p->wait_pin);
1937 config1 |= GPMC_CONFIG_WAITPINPOLARITY(p->wait_pin);
1939 gpmc_write_reg(GPMC_CONFIG, config1);
2439 gpmc_context->cs_context[i].config1 =
2477 gpmc_context->cs_context[i].config1);