Home
last modified time | relevance | path

Searched refs:smcconf (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/memory/
Datmel-ebi.c24 struct atmel_smc_cs_conf smcconf; member
84 &conf->smcconf); in at91sam9_ebi_get_config()
91 conf->cs, &conf->smcconf); in sama5_ebi_get_config()
113 struct atmel_smc_cs_conf *smcconf) in atmel_ebi_xslate_smc_timings() argument
134 smcconf->mode |= ATMEL_SMC_MODE_TDF(ncycles); in atmel_ebi_xslate_smc_timings()
156 ret = xlate->converter(smcconf, xlate->shift, ncycles); in atmel_ebi_xslate_smc_timings()
176 struct atmel_smc_cs_conf *smcconf = &conf->smcconf; in atmel_ebi_xslate_smc_config() local
186 smcconf->mode |= ATMEL_SMC_MODE_DBW_8; in atmel_ebi_xslate_smc_config()
190 smcconf->mode |= ATMEL_SMC_MODE_DBW_16; in atmel_ebi_xslate_smc_config()
194 smcconf->mode |= ATMEL_SMC_MODE_DBW_32; in atmel_ebi_xslate_smc_config()
[all …]
/Linux-v5.4/drivers/mtd/nand/raw/atmel/
Dnand-controller.c157 struct atmel_smc_cs_conf smcconf; member
1172 struct atmel_smc_cs_conf *smcconf) in atmel_smc_nand_prepare_smcconf() argument
1191 atmel_smc_cs_conf_init(smcconf); in atmel_smc_nand_prepare_smcconf()
1203 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NWE_SHIFT, in atmel_smc_nand_prepare_smcconf()
1225 ret = atmel_smc_cs_conf_set_setup(smcconf, ATMEL_SMC_NWE_SHIFT, in atmel_smc_nand_prepare_smcconf()
1252 ret = atmel_smc_cs_conf_set_cycle(smcconf, ATMEL_SMC_NWE_SHIFT, in atmel_smc_nand_prepare_smcconf()
1264 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NCS_WR_SHIFT, in atmel_smc_nand_prepare_smcconf()
1296 smcconf->mode |= ATMEL_SMC_MODE_TDF(ncycles) | in atmel_smc_nand_prepare_smcconf()
1306 ret = atmel_smc_cs_conf_set_pulse(smcconf, ATMEL_SMC_NRD_SHIFT, in atmel_smc_nand_prepare_smcconf()
1322 ret = atmel_smc_cs_conf_set_cycle(smcconf, ATMEL_SMC_NRD_SHIFT, in atmel_smc_nand_prepare_smcconf()
[all …]