Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Dstm32_fmc2_nand.c1406 tar = max_t(unsigned long, hclkp, sdrt->tAR_min); in stm32_fmc2_nfc_calc_timings()
1407 timing = DIV_ROUND_UP(tar, hclkp) - 1; in stm32_fmc2_nfc_calc_timings()
1411 timing = DIV_ROUND_UP(tclr, hclkp) - 1; in stm32_fmc2_nfc_calc_timings()
1415 thiz = (tims->thiz + 1) * hclkp; in stm32_fmc2_nfc_calc_timings()
1425 timing = DIV_ROUND_UP(twait, hclkp); in stm32_fmc2_nfc_calc_timings()
1433 tset_mem = hclkp; in stm32_fmc2_nfc_calc_timings()
1441 timing = DIV_ROUND_UP(tset_mem, hclkp); in stm32_fmc2_nfc_calc_timings()
1459 timing = DIV_ROUND_UP(thold_mem, hclkp); in stm32_fmc2_nfc_calc_timings()
1469 tset_att = hclkp; in stm32_fmc2_nfc_calc_timings()
1482 timing = DIV_ROUND_UP(tset_att, hclkp); in stm32_fmc2_nfc_calc_timings()
[all …]
/openbmc/linux/drivers/memory/
H A Dstm32-fmc2-ebi.c328 unsigned long hclkp = NSEC_PER_SEC / (hclk / 1000); in stm32_fmc2_ebi_ns_to_clock_cycles() local
330 return DIV_ROUND_UP(setup * 1000, hclkp); in stm32_fmc2_ebi_ns_to_clock_cycles()