Lines Matching refs:smcconf
157 struct atmel_smc_cs_conf smcconf;
1241 struct atmel_smc_cs_conf *smcconf)
1260 atmel_smc_cs_conf_init(smcconf);
1272 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NWE_SHIFT,
1294 ret = atmel_smc_cs_conf_set_setup(smcconf, ATMEL_SMC_NWE_SHIFT,
1321 ret = atmel_smc_cs_conf_set_cycle(smcconf, ATMEL_SMC_NWE_SHIFT,
1333 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NCS_WR_SHIFT,
1365 smcconf->mode |= ATMEL_SMC_MODE_TDF(ncycles) |
1375 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NRD_SHIFT,
1391 ret = atmel_smc_cs_conf_set_cycle(smcconf, ATMEL_SMC_NRD_SHIFT,
1403 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NCS_RD_SHIFT,
1410 ret = atmel_smc_cs_conf_set_timing(smcconf,
1417 ret = atmel_smc_cs_conf_set_timing(smcconf,
1435 ret = atmel_smc_cs_conf_set_timing(smcconf,
1442 ret = atmel_smc_cs_conf_set_timing(smcconf,
1449 ret = atmel_smc_cs_conf_set_timing(smcconf,
1456 smcconf->timings |= ATMEL_HSMC_TIMINGS_NFSEL;
1460 smcconf->mode |= ATMEL_SMC_MODE_DBW_16;
1463 smcconf->mode |= ATMEL_SMC_MODE_READMODE_NRD |
1474 struct atmel_smc_cs_conf smcconf;
1480 ret = atmel_smc_nand_prepare_smcconf(nand, conf, &smcconf);
1488 cs->smcconf = smcconf;
1489 atmel_smc_cs_conf_apply(nc->smc, cs->id, &cs->smcconf);
1499 struct atmel_smc_cs_conf smcconf;
1505 ret = atmel_smc_nand_prepare_smcconf(nand, conf, &smcconf);
1513 cs->smcconf = smcconf;
1516 cs->smcconf.timings |= ATMEL_HSMC_TIMINGS_RBNSEL(cs->rb.id);
1519 &cs->smcconf);