Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mtd/nand/raw/atmel/
Dnand-controller.c1240 u32 ncycles, totalcycles, timeps, mckperiodps; in atmel_smc_nand_prepare_smcconf() local
1259 mckperiodps = NSEC_PER_SEC / clk_get_rate(nc->mck); in atmel_smc_nand_prepare_smcconf()
1260 mckperiodps *= 1000; in atmel_smc_nand_prepare_smcconf()
1267 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWP_min, mckperiodps); in atmel_smc_nand_prepare_smcconf()
1288 ncycles = DIV_ROUND_UP(timeps, mckperiodps); in atmel_smc_nand_prepare_smcconf()
1306 ncycles = DIV_ROUND_UP(timeps, mckperiodps); in atmel_smc_nand_prepare_smcconf()
1316 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWC_min, mckperiodps); in atmel_smc_nand_prepare_smcconf()
1342 ncycles = DIV_ROUND_UP(timeps, mckperiodps); in atmel_smc_nand_prepare_smcconf()
1348 ncycles = DIV_ROUND_UP(conf->timings.sdr.tRHZ_max, mckperiodps); in atmel_smc_nand_prepare_smcconf()
1370 ncycles = DIV_ROUND_UP(conf->timings.sdr.tRP_min, mckperiodps); in atmel_smc_nand_prepare_smcconf()
[all …]