Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/memory/
Datmel-ebi.c23 struct atmel_smc_cs_conf smcconf; member
83 &conf->smcconf); in at91sam9_ebi_get_config()
90 conf->cs, &conf->smcconf); in sama5_ebi_get_config()
112 struct atmel_smc_cs_conf *smcconf) in atmel_ebi_xslate_smc_timings() argument
133 smcconf->mode |= ATMEL_SMC_MODE_TDF(ncycles); in atmel_ebi_xslate_smc_timings()
155 ret = xlate->converter(smcconf, xlate->shift, ncycles); in atmel_ebi_xslate_smc_timings()
175 struct atmel_smc_cs_conf *smcconf = &conf->smcconf; in atmel_ebi_xslate_smc_config() local
185 smcconf->mode |= ATMEL_SMC_MODE_DBW_8; in atmel_ebi_xslate_smc_config()
189 smcconf->mode |= ATMEL_SMC_MODE_DBW_16; in atmel_ebi_xslate_smc_config()
193 smcconf->mode |= ATMEL_SMC_MODE_DBW_32; in atmel_ebi_xslate_smc_config()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/atmel/
Dnand-controller.c157 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()
[all …]