Searched refs:mckperiodps (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.15/drivers/mtd/nand/raw/atmel/ |
| D | nand-controller.c | 1242 u32 ncycles, totalcycles, timeps, mckperiodps; in atmel_smc_nand_prepare_smcconf() local 1261 mckperiodps = NSEC_PER_SEC / clk_get_rate(nc->mck); in atmel_smc_nand_prepare_smcconf() 1262 mckperiodps *= 1000; in atmel_smc_nand_prepare_smcconf() 1269 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWP_min, mckperiodps); in atmel_smc_nand_prepare_smcconf() 1290 ncycles = DIV_ROUND_UP(timeps, mckperiodps); in atmel_smc_nand_prepare_smcconf() 1308 ncycles = DIV_ROUND_UP(timeps, mckperiodps); in atmel_smc_nand_prepare_smcconf() 1318 ncycles = DIV_ROUND_UP(conf->timings.sdr.tWC_min, mckperiodps); in atmel_smc_nand_prepare_smcconf() 1344 ncycles = DIV_ROUND_UP(timeps, mckperiodps); in atmel_smc_nand_prepare_smcconf() 1350 ncycles = DIV_ROUND_UP(conf->timings.sdr.tRHZ_max, mckperiodps); in atmel_smc_nand_prepare_smcconf() 1372 ncycles = DIV_ROUND_UP(conf->timings.sdr.tRP_min, mckperiodps); in atmel_smc_nand_prepare_smcconf() [all …]
|