Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/mtd/nand/raw/
Dfsmc_nand.c108 u8 thiz; member
266 u32 tclr, tar, thiz, thold, twait, tset; in fsmc_nand_setup() local
270 thiz = (tims->thiz & FSMC_THIZ_MASK) << FSMC_THIZ_SHIFT; in fsmc_nand_setup()
279 writel_relaxed(thiz | thold | twait | tset, host->regs_va + COMM); in fsmc_nand_setup()
280 writel_relaxed(thiz | thold | twait | tset, host->regs_va + ATTRIB); in fsmc_nand_setup()
289 u32 thiz, thold, twait, tset, twait_min; in fsmc_calc_timings() local
301 thiz = sdrt->tCS_min - sdrt->tWP_min; in fsmc_calc_timings()
302 tims->thiz = DIV_ROUND_UP(thiz / 1000, hclkn); in fsmc_calc_timings()
Dstm32_fmc2_nand.c225 u8 thiz; member
298 pmem |= FIELD_PREP(FMC2_PMEM_MEMHIZ, timings->thiz); in stm32_fmc2_nfc_timings_init()
305 patt |= FIELD_PREP(FMC2_PATT_ATTHIZ, timings->thiz); in stm32_fmc2_nfc_timings_init()
1403 unsigned long timing, tar, tclr, thiz, twait; in stm32_fmc2_nfc_calc_timings() local
1414 tims->thiz = FMC2_THIZ; in stm32_fmc2_nfc_calc_timings()
1415 thiz = (tims->thiz + 1) * hclkp; in stm32_fmc2_nfc_calc_timings()
1438 if (twait > thiz && (sdrt->tDS_min > twait - thiz) && in stm32_fmc2_nfc_calc_timings()
1439 (tset_mem < sdrt->tDS_min - (twait - thiz))) in stm32_fmc2_nfc_calc_timings()
1440 tset_mem = sdrt->tDS_min - (twait - thiz); in stm32_fmc2_nfc_calc_timings()
1479 if (twait > thiz && (sdrt->tDS_min > twait - thiz) && in stm32_fmc2_nfc_calc_timings()
[all …]