Searched refs:thiz (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/mtd/nand/raw/ |
H A D | fsmc_nand.c | 108 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 D | stm32_fmc2_nand.c | 226 u8 thiz; member 309 pmem |= FIELD_PREP(FMC2_PMEM_MEMHIZ, timings->thiz); in stm32_fmc2_nfc_timings_init() 316 patt |= FIELD_PREP(FMC2_PATT_ATTHIZ, timings->thiz); in stm32_fmc2_nfc_timings_init() 1420 unsigned long timing, tar, tclr, thiz, twait; in stm32_fmc2_nfc_calc_timings() local 1431 tims->thiz = FMC2_THIZ; in stm32_fmc2_nfc_calc_timings() 1432 thiz = (tims->thiz + 1) * hclkp; in stm32_fmc2_nfc_calc_timings() 1455 if (twait > thiz && (sdrt->tDS_min > twait - thiz) && in stm32_fmc2_nfc_calc_timings() 1456 (tset_mem < sdrt->tDS_min - (twait - thiz))) in stm32_fmc2_nfc_calc_timings() 1457 tset_mem = sdrt->tDS_min - (twait - thiz); in stm32_fmc2_nfc_calc_timings() 1496 if (twait > thiz && (sdrt->tDS_min > twait - thiz) && in stm32_fmc2_nfc_calc_timings() [all …]
|