Searched refs:hclkp (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/mtd/nand/raw/ |
D | stm32_fmc2_nand.c | 1402 unsigned long hclkp = NSEC_PER_SEC / (hclk / 1000); in stm32_fmc2_nfc_calc_timings() local 1406 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() 1410 tclr = max_t(unsigned long, hclkp, sdrt->tCLR_min); 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() 1422 twait = max_t(unsigned long, hclkp, sdrt->tRP_min); 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() [all …]
|
/Linux-v6.6/drivers/memory/ |
D | stm32-fmc2-ebi.c | 300 unsigned long hclkp = NSEC_PER_SEC / (hclk / 1000); in stm32_fmc2_ebi_ns_to_clock_cycles() local 302 return DIV_ROUND_UP(setup * 1000, hclkp); in stm32_fmc2_ebi_ns_to_clock_cycles()
|