Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A 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()
H A Dstm32_fmc2_nand.c225 u8 thiz; member
298 pmem |= FIELD_PREP(FMC2_PMEM_MEMHIZ, 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()
1480 (tset_att < sdrt->tDS_min - (twait - thiz))) in stm32_fmc2_nfc_calc_timings()
[all …]