Lines Matching defs:smcconf
170 struct atmel_smc_cs_conf smcconf;
1130 struct atmel_smc_cs_conf *smcconf)
1149 atmel_smc_cs_conf_init(smcconf);
1161 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NWE_SHIFT,
1183 ret = atmel_smc_cs_conf_set_setup(smcconf, ATMEL_SMC_NWE_SHIFT,
1210 ret = atmel_smc_cs_conf_set_cycle(smcconf, ATMEL_SMC_NWE_SHIFT,
1222 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NCS_WR_SHIFT,
1254 smcconf->mode |= ATMEL_SMC_MODE_TDF(ncycles) |
1264 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NRD_SHIFT,
1280 ret = atmel_smc_cs_conf_set_cycle(smcconf, ATMEL_SMC_NRD_SHIFT,
1292 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NCS_RD_SHIFT,
1299 ret = atmel_smc_cs_conf_set_timing(smcconf,
1306 ret = atmel_smc_cs_conf_set_timing(smcconf,
1324 ret = atmel_smc_cs_conf_set_timing(smcconf,
1331 ret = atmel_smc_cs_conf_set_timing(smcconf,
1338 ret = atmel_smc_cs_conf_set_timing(smcconf,
1345 smcconf->timings |= ATMEL_HSMC_TIMINGS_NFSEL;
1349 smcconf->mode |= ATMEL_SMC_MODE_DBW_16;
1352 smcconf->mode |= ATMEL_SMC_MODE_READMODE_NRD |
1364 struct atmel_smc_cs_conf smcconf;
1370 ret = atmel_smc_nand_prepare_smcconf(nand, conf, &smcconf);
1378 cs->smcconf = smcconf;
1380 atmel_smc_cs_conf_apply(nc->smc, cs->id, &cs->smcconf);
1391 struct atmel_smc_cs_conf smcconf;
1397 ret = atmel_smc_nand_prepare_smcconf(nand, conf, &smcconf);
1405 cs->smcconf = smcconf;
1408 cs->smcconf.timings |= ATMEL_HSMC_TIMINGS_RBNSEL(cs->rb.id);
1411 &cs->smcconf);