Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/raw/
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
571 twh = max(timings->tREH_min, timings->tWH_min) / 1000; in mtk_nfc_setup_interface()
572 twh = DIV_ROUND_UP(twh * rate, 1000000) - 1; in mtk_nfc_setup_interface()
573 twh &= 0xf; in mtk_nfc_setup_interface()
576 temp = (twh + 1) * 1000000 / rate; in mtk_nfc_setup_interface()
635 trlt = ACCTIMING(tpoecs, tprecs, tc2r, tw2r, twh, twst, trlt); in mtk_nfc_setup_interface()
Dcadence-nand-controller.c2489 u32 twh; in cadence_nand_setup_interface() local
2497 twh = (sdr->tWC_min - (twp_cnt + 1) * clk_period); in cadence_nand_setup_interface()
2498 if (sdr->tWH_min >= twh) in cadence_nand_setup_interface()
2499 twh = sdr->tWH_min; in cadence_nand_setup_interface()
2501 twh_cnt = calc_cycl(twh + if_skew, clk_period); in cadence_nand_setup_interface()