Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Ddenali.c238 en_lo = CEIL_DIV(Trp[mode], CLK_X); in nand_onfi_timing_set()
239 en_hi = CEIL_DIV(Treh[mode], CLK_X); in nand_onfi_timing_set()
241 if ((en_hi * CLK_X) < (Treh[mode] + 2)) in nand_onfi_timing_set()
245 if ((en_lo + en_hi) * CLK_X < Trc[mode]) in nand_onfi_timing_set()
246 en_lo += CEIL_DIV((Trc[mode] - (en_lo + en_hi) * CLK_X), CLK_X); in nand_onfi_timing_set()
252 data_invalid_rhoh = en_lo * CLK_X + Trhoh[mode]; in nand_onfi_timing_set()
254 data_invalid_rloh = (en_lo + en_hi) * CLK_X + Trloh[mode]; in nand_onfi_timing_set()
265 acc_clks = CEIL_DIV(Trea[mode], CLK_X); in nand_onfi_timing_set()
267 while (acc_clks * CLK_X - Trea[mode] < 3) in nand_onfi_timing_set()
270 if (data_invalid - acc_clks * CLK_X < 2) in nand_onfi_timing_set()
[all …]
Ddenali.h381 #define CLK_X 5 macro