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