Searched refs:thiz (Results 1 – 2 of 2) sorted by relevance
| /Linux-v5.4/drivers/mtd/nand/raw/ |
| D | fsmc_nand.c | 99 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()
|
| D | stm32_fmc2_nand.c | 221 u8 thiz; member 294 pmem |= FMC2_PMEM_MEMHIZ(timings->thiz); in stm32_fmc2_timings_init() 300 patt |= FMC2_PATT_ATTHIZ(timings->thiz); in stm32_fmc2_timings_init() 1430 unsigned long timing, tar, tclr, thiz, twait; in stm32_fmc2_calc_timings() local 1441 tims->thiz = FMC2_THIZ; in stm32_fmc2_calc_timings() 1442 thiz = (tims->thiz + 1) * hclkp; in stm32_fmc2_calc_timings() 1465 if (twait > thiz && (sdrt->tDS_min > twait - thiz) && in stm32_fmc2_calc_timings() 1466 (tset_mem < sdrt->tDS_min - (twait - thiz))) in stm32_fmc2_calc_timings() 1467 tset_mem = sdrt->tDS_min - (twait - thiz); in stm32_fmc2_calc_timings() 1506 if (twait > thiz && (sdrt->tDS_min > twait - thiz) && in stm32_fmc2_calc_timings() [all …]
|