Home
last modified time | relevance | path

Searched refs:trlt (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
595 trlt = timings->tRC_min - temp; in mtk_nfc_setup_interface()
596 trlt = max(trlt, timings->tRP_min) / 1000; in mtk_nfc_setup_interface()
597 trlt = DIV_ROUND_UP(trlt * rate, 1000000) - 1; in mtk_nfc_setup_interface()
598 trlt &= 0xf; in mtk_nfc_setup_interface()
601 temp = (trlt + 1) * 1000000 / rate; in mtk_nfc_setup_interface()
611 tsel -= (trlt + 1); in mtk_nfc_setup_interface()
613 trlt += tsel - MAX_STROBE_DLY; in mtk_nfc_setup_interface()
[all …]