ncycles 104 arch/riscv/lib/delay.c unsigned long long ncycles = nsecs * lpj_fine * NDELAY_MULT; ncycles 105 arch/riscv/lib/delay.c __delay(ncycles >> NDELAY_SHIFT); ncycles 1057 drivers/i3c/master/i3c-master-cdns.c unsigned long i3c_lim_period, pres_step, ncycles; ncycles 1106 drivers/i3c/master/i3c-master-cdns.c ncycles = DIV_ROUND_UP(i3c_lim_period, pres_step); ncycles 1107 drivers/i3c/master/i3c-master-cdns.c if (ncycles < 4) ncycles 1108 drivers/i3c/master/i3c-master-cdns.c ncycles = 0; ncycles 1110 drivers/i3c/master/i3c-master-cdns.c ncycles -= 4; ncycles 1112 drivers/i3c/master/i3c-master-cdns.c prescl1 |= PRESCL_CTRL1_PP_LOW(ncycles); ncycles 1191 drivers/i3c/master/i3c-master-cdns.c int ret, ncycles; ncycles 1238 drivers/i3c/master/i3c-master-cdns.c ncycles = DIV_ROUND_UP(I3C_BUS_TLOW_OD_MIN_NS, pres_step) - 2; ncycles 1239 drivers/i3c/master/i3c-master-cdns.c if (ncycles < 0) ncycles 1240 drivers/i3c/master/i3c-master-cdns.c ncycles = 0; ncycles 1241 drivers/i3c/master/i3c-master-cdns.c prescl1 = PRESCL_CTRL1_OD_LOW(ncycles); ncycles 118 drivers/memory/atmel-ebi.c unsigned int ncycles; ncycles 125 drivers/memory/atmel-ebi.c ncycles = DIV_ROUND_UP(val, clk_period_ns); ncycles 126 drivers/memory/atmel-ebi.c if (ncycles > ATMEL_SMC_MODE_TDF_MAX) { ncycles 131 drivers/memory/atmel-ebi.c if (ncycles < ATMEL_SMC_MODE_TDF_MIN) ncycles 132 drivers/memory/atmel-ebi.c ncycles = ATMEL_SMC_MODE_TDF_MIN; ncycles 134 drivers/memory/atmel-ebi.c smcconf->mode |= ATMEL_SMC_MODE_TDF(ncycles); ncycles 155 drivers/memory/atmel-ebi.c ncycles = DIV_ROUND_UP(val, clk_period_ns); ncycles 156 drivers/memory/atmel-ebi.c ret = xlate->converter(smcconf, xlate->shift, ncycles); ncycles 43 drivers/mfd/atmel-smc.c static int atmel_smc_cs_encode_ncycles(unsigned int ncycles, ncycles 54 drivers/mfd/atmel-smc.c msb = ncycles / msbfactor; ncycles 55 drivers/mfd/atmel-smc.c lsb = ncycles % msbfactor; ncycles 94 drivers/mfd/atmel-smc.c unsigned int shift, unsigned int ncycles) ncycles 112 drivers/mfd/atmel-smc.c ret = atmel_smc_cs_encode_ncycles(ncycles, 3, 1, 64, &val); ncycles 136 drivers/mfd/atmel-smc.c unsigned int shift, unsigned int ncycles) ncycles 151 drivers/mfd/atmel-smc.c ret = atmel_smc_cs_encode_ncycles(ncycles, 5, 1, 128, &val); ncycles 175 drivers/mfd/atmel-smc.c unsigned int shift, unsigned int ncycles) ncycles 190 drivers/mfd/atmel-smc.c ret = atmel_smc_cs_encode_ncycles(ncycles, 6, 1, 256, &val); ncycles 214 drivers/mfd/atmel-smc.c unsigned int shift, unsigned int ncycles) ncycles 228 drivers/mfd/atmel-smc.c ret = atmel_smc_cs_encode_ncycles(ncycles, 7, 2, 256, &val); ncycles 1174 drivers/mtd/nand/raw/atmel/nand-controller.c u32 ncycles, totalcycles, timeps, mckperiodps; ncycles 1201 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tWP_min, mckperiodps); ncycles 1202 drivers/mtd/nand/raw/atmel/nand-controller.c totalcycles = ncycles; ncycles 1204 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1222 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(timeps, mckperiodps); ncycles 1223 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = ncycles > totalcycles ? ncycles - totalcycles : 0; ncycles 1224 drivers/mtd/nand/raw/atmel/nand-controller.c totalcycles += ncycles; ncycles 1226 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1240 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(timeps, mckperiodps); ncycles 1241 drivers/mtd/nand/raw/atmel/nand-controller.c totalcycles += ncycles; ncycles 1250 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tWC_min, mckperiodps); ncycles 1251 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = max(totalcycles, ncycles); ncycles 1253 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1265 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1276 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(timeps, mckperiodps); ncycles 1277 drivers/mtd/nand/raw/atmel/nand-controller.c totalcycles = ncycles; ncycles 1282 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tRHZ_max, mckperiodps); ncycles 1283 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles -= totalcycles; ncycles 1291 drivers/mtd/nand/raw/atmel/nand-controller.c if (ncycles > ATMEL_SMC_MODE_TDF_MAX) ncycles 1292 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = ATMEL_SMC_MODE_TDF_MAX; ncycles 1293 drivers/mtd/nand/raw/atmel/nand-controller.c else if (ncycles < ATMEL_SMC_MODE_TDF_MIN) ncycles 1294 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = ATMEL_SMC_MODE_TDF_MIN; ncycles 1296 drivers/mtd/nand/raw/atmel/nand-controller.c smcconf->mode |= ATMEL_SMC_MODE_TDF(ncycles) | ncycles 1304 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tRP_min, mckperiodps); ncycles 1305 drivers/mtd/nand/raw/atmel/nand-controller.c totalcycles += ncycles; ncycles 1307 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1320 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tRC_min, mckperiodps); ncycles 1321 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = max(totalcycles, ncycles); ncycles 1323 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1335 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1340 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tCLR_min, mckperiodps); ncycles 1343 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1347 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tADL_min, mckperiodps); ncycles 1350 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1365 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tAR_min, mckperiodps); ncycles 1368 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1372 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tRR_min, mckperiodps); ncycles 1375 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 1379 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles = DIV_ROUND_UP(conf->timings.sdr.tWB_max, mckperiodps); ncycles 1382 drivers/mtd/nand/raw/atmel/nand-controller.c ncycles); ncycles 99 include/linux/mfd/syscon/atmel-smc.h unsigned int ncycles); ncycles 101 include/linux/mfd/syscon/atmel-smc.h unsigned int shift, unsigned int ncycles); ncycles 103 include/linux/mfd/syscon/atmel-smc.h unsigned int shift, unsigned int ncycles); ncycles 105 include/linux/mfd/syscon/atmel-smc.h unsigned int shift, unsigned int ncycles); ncycles 634 include/linux/mtd/rawnand.h #define NAND_OP_ADDR(ncycles, cycles, ns) \ ncycles 638 include/linux/mtd/rawnand.h .naddrs = ncycles, \ ncycles 94 sound/ppc/beep.c int period, ncycles, nsamples; ncycles 137 sound/ppc/beep.c ncycles = BEEP_BUFLEN * 256 / period; ncycles 138 sound/ppc/beep.c nsamples = (period * ncycles) >> 8; ncycles 139 sound/ppc/beep.c f = ncycles * 65536 / nsamples;