Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Dfsmc_nand.c295 if (tims->tar > FSMC_TAR_MASK) in fsmc_calc_timings()
296 tims->tar = FSMC_TAR_MASK; in fsmc_calc_timings()
299 tims->tclr = FSMC_TCLR_MASK; in fsmc_calc_timings()
316 if (tims->thold == 0) in fsmc_calc_timings()
317 tims->thold = 1; in fsmc_calc_timings()
324 if (tims->tset == 0) in fsmc_calc_timings()
325 tims->tset = 1; in fsmc_calc_timings()
327 tims->tset = FSMC_TSET_MASK; in fsmc_calc_timings()
339 if (tims->twait == 0) in fsmc_calc_timings()
340 tims->twait = 1; in fsmc_calc_timings()
[all …]
H A Dstm32_fmc2_nand.c1400 struct stm32_fmc2_timings *tims = &nand->timings; in stm32_fmc2_nfc_calc_timings() local
1408 tims->tar = min_t(unsigned long, timing, FMC2_PCR_TIMING_MASK); in stm32_fmc2_nfc_calc_timings()
1412 tims->tclr = min_t(unsigned long, timing, FMC2_PCR_TIMING_MASK); in stm32_fmc2_nfc_calc_timings()
1414 tims->thiz = FMC2_THIZ; in stm32_fmc2_nfc_calc_timings()
1415 thiz = (tims->thiz + 1) * hclkp; in stm32_fmc2_nfc_calc_timings()
1426 tims->twait = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK); in stm32_fmc2_nfc_calc_timings()
1442 tims->tset_mem = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK); in stm32_fmc2_nfc_calc_timings()
1460 tims->thold_mem = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK); in stm32_fmc2_nfc_calc_timings()
1483 tims->tset_att = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK); in stm32_fmc2_nfc_calc_timings()
1522 tims->thold_att = clamp_val(timing, 1, FMC2_PMEM_PATT_TIMING_MASK); in stm32_fmc2_nfc_calc_timings()