Lines Matching refs:twait
110 u8 twait; member
266 u32 tclr, tar, thiz, thold, twait, tset; in fsmc_nand_setup() local
272 twait = (tims->twait & FSMC_TWAIT_MASK) << FSMC_TWAIT_SHIFT; in fsmc_nand_setup()
279 writel_relaxed(thiz | thold | twait | tset, host->regs_va + COMM); in fsmc_nand_setup()
280 writel_relaxed(thiz | thold | twait | tset, host->regs_va + ATTRIB); in fsmc_nand_setup()
289 u32 thiz, thold, twait, tset, twait_min; in fsmc_calc_timings() local
336 twait = max3(sdrt->tRP_min, sdrt->tWP_min, twait_min); in fsmc_calc_timings()
338 tims->twait = DIV_ROUND_UP(twait / 1000, hclkn) - 1; in fsmc_calc_timings()
339 if (tims->twait == 0) in fsmc_calc_timings()
340 tims->twait = 1; in fsmc_calc_timings()
341 else if (tims->twait > FSMC_TWAIT_MASK) in fsmc_calc_timings()
342 tims->twait = FSMC_TWAIT_MASK; in fsmc_calc_timings()