Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/mtd/nand/raw/
Dfsmc_nand.c99 u8 thiz; member
257 u32 tclr, tar, thiz, thold, twait, tset; in fsmc_nand_setup() local
261 thiz = (tims->thiz & FSMC_THIZ_MASK) << FSMC_THIZ_SHIFT; in fsmc_nand_setup()
270 writel_relaxed(thiz | thold | twait | tset, host->regs_va + COMM); in fsmc_nand_setup()
271 writel_relaxed(thiz | thold | twait | tset, host->regs_va + ATTRIB); in fsmc_nand_setup()
280 u32 thiz, thold, twait, tset; in fsmc_calc_timings() local
292 thiz = sdrt->tCS_min - sdrt->tWP_min; in fsmc_calc_timings()
293 tims->thiz = DIV_ROUND_UP(thiz / 1000, hclkn); in fsmc_calc_timings()
Dstm32_fmc2_nand.c224 u8 thiz; member
296 pmem |= FIELD_PREP(FMC2_PMEM_MEMHIZ, timings->thiz); in stm32_fmc2_nfc_timings_init()
303 patt |= FIELD_PREP(FMC2_PATT_ATTHIZ, timings->thiz); in stm32_fmc2_nfc_timings_init()
1399 unsigned long timing, tar, tclr, thiz, twait; in stm32_fmc2_nfc_calc_timings() local
1410 tims->thiz = FMC2_THIZ; in stm32_fmc2_nfc_calc_timings()
1411 thiz = (tims->thiz + 1) * hclkp; in stm32_fmc2_nfc_calc_timings()
1434 if (twait > thiz && (sdrt->tDS_min > twait - thiz) && in stm32_fmc2_nfc_calc_timings()
1435 (tset_mem < sdrt->tDS_min - (twait - thiz))) in stm32_fmc2_nfc_calc_timings()
1436 tset_mem = sdrt->tDS_min - (twait - thiz); in stm32_fmc2_nfc_calc_timings()
1475 if (twait > thiz && (sdrt->tDS_min > twait - thiz) && in stm32_fmc2_nfc_calc_timings()
[all …]