Home
last modified time | relevance | path

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

/u-boot/drivers/mtd/nand/raw/
A Dstm32_fmc2_nand.c606 tar = max_t(unsigned long, hclkp, sdrt->tAR_min); in stm32_fmc2_nfc_calc_timings()
607 timing = DIV_ROUND_UP(tar, hclkp) - 1; in stm32_fmc2_nfc_calc_timings()
611 timing = DIV_ROUND_UP(tclr, hclkp) - 1; in stm32_fmc2_nfc_calc_timings()
615 thiz = (tims->thiz + 1) * hclkp; in stm32_fmc2_nfc_calc_timings()
625 timing = DIV_ROUND_UP(twait, hclkp); in stm32_fmc2_nfc_calc_timings()
633 tset_mem = hclkp; in stm32_fmc2_nfc_calc_timings()
641 timing = DIV_ROUND_UP(tset_mem, hclkp); in stm32_fmc2_nfc_calc_timings()
659 timing = DIV_ROUND_UP(thold_mem, hclkp); in stm32_fmc2_nfc_calc_timings()
669 tset_att = hclkp; in stm32_fmc2_nfc_calc_timings()
682 timing = DIV_ROUND_UP(tset_att, hclkp); in stm32_fmc2_nfc_calc_timings()
[all …]
/u-boot/drivers/memory/
A Dstm32-fmc2-ebi.c282 unsigned long hclkp = FMC2_NSEC_PER_SEC / (hclk / 1000); in stm32_fmc2_ebi_ns_to_clock_cycles() local
284 return DIV_ROUND_UP(setup * 1000, hclkp); in stm32_fmc2_ebi_ns_to_clock_cycles()

Completed in 9 milliseconds