tw2r               98 drivers/mtd/nand/raw/mtk_nand.c #define ACCTIMING(tpoecs, tprecs, tc2r, tw2r, twh, twst, trlt) \
tw2r              100 drivers/mtd/nand/raw/mtk_nand.c 	(tw2r) << 12 | (twh) << 8 | (twst) << 4 | (trlt))
tw2r              509 drivers/mtd/nand/raw/mtk_nand.c 	u32 rate, tpoecs, tprecs, tc2r, tw2r, twh, twst = 0, trlt = 0;
tw2r              537 drivers/mtd/nand/raw/mtk_nand.c 	tw2r = timings->tWHR_min / 1000;
tw2r              538 drivers/mtd/nand/raw/mtk_nand.c 	tw2r = DIV_ROUND_UP(tw2r * rate, 1000000);
tw2r              539 drivers/mtd/nand/raw/mtk_nand.c 	tw2r = DIV_ROUND_UP(tw2r - 1, 2);
tw2r              540 drivers/mtd/nand/raw/mtk_nand.c 	tw2r &= 0xf;
tw2r              606 drivers/mtd/nand/raw/mtk_nand.c 	trlt = ACCTIMING(tpoecs, tprecs, tc2r, tw2r, twh, twst, trlt);