Searched refs:CEIL_DIV (Results 1 – 1 of 1) sorted by relevance
/drivers/mtd/nand/ |
D | denali.c | 65 #define CEIL_DIV(X, Y) (((X)%(Y)) ? ((X)/(Y)+1) : ((X)/(Y))) macro 225 en_lo = CEIL_DIV(Trp[mode], CLK_X); in nand_onfi_timing_set() 226 en_hi = CEIL_DIV(Treh[mode], CLK_X); in nand_onfi_timing_set() 233 en_lo += CEIL_DIV((Trc[mode] - (en_lo + en_hi) * CLK_X), CLK_X); in nand_onfi_timing_set() 253 acc_clks = CEIL_DIV(Trea[mode], CLK_X); in nand_onfi_timing_set() 262 addr_2_data = CEIL_DIV(Tadl[mode], CLK_X); in nand_onfi_timing_set() 263 re_2_we = CEIL_DIV(Trhw[mode], CLK_X); in nand_onfi_timing_set() 264 re_2_re = CEIL_DIV(Trhz[mode], CLK_X); in nand_onfi_timing_set() 265 we_2_re = CEIL_DIV(Twhr[mode], CLK_X); in nand_onfi_timing_set() 266 cs_cnt = CEIL_DIV((Tcs[mode] - Trp[mode]), CLK_X); in nand_onfi_timing_set() [all …]
|