tims 254 drivers/mtd/nand/raw/fsmc_nand.c struct fsmc_nand_timings *tims) tims 259 drivers/mtd/nand/raw/fsmc_nand.c tclr = (tims->tclr & FSMC_TCLR_MASK) << FSMC_TCLR_SHIFT; tims 260 drivers/mtd/nand/raw/fsmc_nand.c tar = (tims->tar & FSMC_TAR_MASK) << FSMC_TAR_SHIFT; tims 261 drivers/mtd/nand/raw/fsmc_nand.c thiz = (tims->thiz & FSMC_THIZ_MASK) << FSMC_THIZ_SHIFT; tims 262 drivers/mtd/nand/raw/fsmc_nand.c thold = (tims->thold & FSMC_THOLD_MASK) << FSMC_THOLD_SHIFT; tims 263 drivers/mtd/nand/raw/fsmc_nand.c twait = (tims->twait & FSMC_TWAIT_MASK) << FSMC_TWAIT_SHIFT; tims 264 drivers/mtd/nand/raw/fsmc_nand.c tset = (tims->tset & FSMC_TSET_MASK) << FSMC_TSET_SHIFT; tims 276 drivers/mtd/nand/raw/fsmc_nand.c struct fsmc_nand_timings *tims) tims 285 drivers/mtd/nand/raw/fsmc_nand.c tims->tar = DIV_ROUND_UP(sdrt->tAR_min / 1000, hclkn) - 1; tims 286 drivers/mtd/nand/raw/fsmc_nand.c if (tims->tar > FSMC_TAR_MASK) tims 287 drivers/mtd/nand/raw/fsmc_nand.c tims->tar = FSMC_TAR_MASK; tims 288 drivers/mtd/nand/raw/fsmc_nand.c tims->tclr = DIV_ROUND_UP(sdrt->tCLR_min / 1000, hclkn) - 1; tims 289 drivers/mtd/nand/raw/fsmc_nand.c if (tims->tclr > FSMC_TCLR_MASK) tims 290 drivers/mtd/nand/raw/fsmc_nand.c tims->tclr = FSMC_TCLR_MASK; tims 293 drivers/mtd/nand/raw/fsmc_nand.c tims->thiz = DIV_ROUND_UP(thiz / 1000, hclkn); tims 306 drivers/mtd/nand/raw/fsmc_nand.c tims->thold = DIV_ROUND_UP(thold / 1000, hclkn); tims 307 drivers/mtd/nand/raw/fsmc_nand.c if (tims->thold == 0) tims 308 drivers/mtd/nand/raw/fsmc_nand.c tims->thold = 1; tims 309 drivers/mtd/nand/raw/fsmc_nand.c else if (tims->thold > FSMC_THOLD_MASK) tims 310 drivers/mtd/nand/raw/fsmc_nand.c tims->thold = FSMC_THOLD_MASK; tims 313 drivers/mtd/nand/raw/fsmc_nand.c tims->twait = DIV_ROUND_UP(twait / 1000, hclkn) - 1; tims 314 drivers/mtd/nand/raw/fsmc_nand.c if (tims->twait == 0) tims 315 drivers/mtd/nand/raw/fsmc_nand.c tims->twait = 1; tims 316 drivers/mtd/nand/raw/fsmc_nand.c else if (tims->twait > FSMC_TWAIT_MASK) tims 317 drivers/mtd/nand/raw/fsmc_nand.c tims->twait = FSMC_TWAIT_MASK; tims 321 drivers/mtd/nand/raw/fsmc_nand.c tims->tset = DIV_ROUND_UP(tset / 1000, hclkn) - 1; tims 322 drivers/mtd/nand/raw/fsmc_nand.c if (tims->tset == 0) tims 323 drivers/mtd/nand/raw/fsmc_nand.c tims->tset = 1; tims 324 drivers/mtd/nand/raw/fsmc_nand.c else if (tims->tset > FSMC_TSET_MASK) tims 325 drivers/mtd/nand/raw/fsmc_nand.c tims->tset = FSMC_TSET_MASK; tims 334 drivers/mtd/nand/raw/fsmc_nand.c struct fsmc_nand_timings tims; tims 342 drivers/mtd/nand/raw/fsmc_nand.c ret = fsmc_calc_timings(host, sdrt, &tims); tims 349 drivers/mtd/nand/raw/fsmc_nand.c fsmc_nand_setup(host, &tims); tims 1461 drivers/mtd/nand/raw/stm32_fmc2_nand.c struct stm32_fmc2_timings *tims = &nand->timings; tims 1469 drivers/mtd/nand/raw/stm32_fmc2_nand.c tims->tar = min_t(unsigned long, timing, FMC2_PCR_TIMING_MASK); tims 1473 drivers/mtd/nand/raw/stm32_fmc2_nand.c tims->tclr = min_t(unsigned long, timing, FMC2_PCR_TIMING_MASK); tims 1475 drivers/mtd/nand/raw/stm32_fmc2_nand.c tims->thiz = FMC2_THIZ; tims 1476 drivers/mtd/nand/raw/stm32_fmc2_nand.c thiz = (tims->thiz + 1) * hclkp; tims 1487 drivers/mtd/nand/raw/stm32_fmc2_nand.c tims->twait = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK); tims 1503 drivers/mtd/nand/raw/stm32_fmc2_nand.c tims->tset_mem = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK); tims 1521 drivers/mtd/nand/raw/stm32_fmc2_nand.c tims->thold_mem = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK); tims 1544 drivers/mtd/nand/raw/stm32_fmc2_nand.c tims->tset_att = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK); tims 1583 drivers/mtd/nand/raw/stm32_fmc2_nand.c tims->thold_att = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK);