twh                98 drivers/mtd/nand/raw/mtk_nand.c #define ACCTIMING(tpoecs, tprecs, tc2r, tw2r, twh, twst, trlt) \
twh               100 drivers/mtd/nand/raw/mtk_nand.c 	(tw2r) << 12 | (twh) << 8 | (twst) << 4 | (trlt))
twh               509 drivers/mtd/nand/raw/mtk_nand.c 	u32 rate, tpoecs, tprecs, tc2r, tw2r, twh, twst = 0, trlt = 0;
twh               542 drivers/mtd/nand/raw/mtk_nand.c 	twh = max(timings->tREH_min, timings->tWH_min) / 1000;
twh               543 drivers/mtd/nand/raw/mtk_nand.c 	twh = DIV_ROUND_UP(twh * rate, 1000000) - 1;
twh               544 drivers/mtd/nand/raw/mtk_nand.c 	twh &= 0xf;
twh               547 drivers/mtd/nand/raw/mtk_nand.c 	temp = (twh + 1) * 1000000 / rate;
twh               606 drivers/mtd/nand/raw/mtk_nand.c 	trlt = ACCTIMING(tpoecs, tprecs, tc2r, tw2r, twh, twst, trlt);