Home
last modified time | relevance | path

Searched refs:tw2r (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mtd/nand/raw/
H A Dmtk_nand.c97 #define ACCTIMING(tpoecs, tprecs, tc2r, tw2r, twh, twst, trlt) \ argument
99 (tw2r) << 12 | (twh) << 8 | (twst) << 4 | (trlt))
538 u32 rate, tpoecs, tprecs, tc2r, tw2r, twh, twst = 0, trlt = 0; in mtk_nfc_setup_interface() local
566 tw2r = timings->tWHR_min / 1000; in mtk_nfc_setup_interface()
567 tw2r = DIV_ROUND_UP(tw2r * rate, 1000000); in mtk_nfc_setup_interface()
568 tw2r = DIV_ROUND_UP(tw2r - 1, 2); in mtk_nfc_setup_interface()
569 tw2r &= 0xf; in mtk_nfc_setup_interface()
635 trlt = ACCTIMING(tpoecs, tprecs, tc2r, tw2r, twh, twst, trlt); in mtk_nfc_setup_interface()