Lines Matching defs:config1
797 u32 config1;
836 config1 = GPMC_CONFIG1_DEVICESIZE((p->device_width - 1));
839 config1 |= GPMC_CONFIG1_READTYPE_SYNC;
841 config1 |= GPMC_CONFIG1_WRITETYPE_SYNC;
843 config1 |= GPMC_CONFIG1_WAIT_READ_MON;
845 config1 |= GPMC_CONFIG1_WAIT_WRITE_MON;
847 config1 |= GPMC_CONFIG1_WAIT_PIN_SEL(p->wait_pin);
849 config1 |= GPMC_CONFIG1_DEVICETYPE(GPMC_DEVICETYPE_NAND);
851 config1 |= GPMC_CONFIG1_MUXTYPE(p->mux_add_data);
853 config1 |= GPMC_CONFIG1_READMULTIPLE_SUPP;
855 config1 |= GPMC_CONFIG1_WRITEMULTIPLE_SUPP;
857 config1 |= GPMC_CONFIG1_PAGE_LEN(p->burst_len >> 3);
858 config1 |= p->burst_wrap ? GPMC_CONFIG1_WRAPBURST_SUPP : 0;
861 gpmc_cs_write_reg(cs, GPMC_CS_CONFIG1, config1);