Home
last modified time | relevance | path

Searched refs:twait (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/drivers/mtd/nand/raw/
Dstm32_fmc2_nand.c226 u8 twait; member
296 pmem |= FIELD_PREP(FMC2_PMEM_MEMWAIT, timings->twait); in stm32_fmc2_nfc_timings_init()
303 patt |= FIELD_PREP(FMC2_PATT_ATTWAIT, timings->twait); in stm32_fmc2_nfc_timings_init()
1403 unsigned long timing, tar, tclr, thiz, twait; in stm32_fmc2_nfc_calc_timings() local
1422 twait = max_t(unsigned long, hclkp, sdrt->tRP_min); in stm32_fmc2_nfc_calc_timings()
1423 twait = max_t(unsigned long, twait, sdrt->tWP_min); in stm32_fmc2_nfc_calc_timings()
1424 twait = max_t(unsigned long, twait, sdrt->tREA_max + FMC2_TIO); in stm32_fmc2_nfc_calc_timings()
1425 timing = DIV_ROUND_UP(twait, 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()
1434 if (sdrt->tCS_min > twait && (tset_mem < sdrt->tCS_min - twait)) in stm32_fmc2_nfc_calc_timings()
[all …]
Dfsmc_nand.c110 u8 twait; member
266 u32 tclr, tar, thiz, thold, twait, tset; in fsmc_nand_setup() local
272 twait = (tims->twait & FSMC_TWAIT_MASK) << FSMC_TWAIT_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
336 twait = max3(sdrt->tRP_min, sdrt->tWP_min, twait_min); in fsmc_calc_timings()
338 tims->twait = DIV_ROUND_UP(twait / 1000, hclkn) - 1; in fsmc_calc_timings()
339 if (tims->twait == 0) in fsmc_calc_timings()
340 tims->twait = 1; in fsmc_calc_timings()
[all …]
/linux-6.1.9/drivers/ntb/test/
Dntb_perf.c197 wait_queue_head_t twait; member
917 wake_up(&perf->twait); in perf_init_test()
1017 wake_up(&perf->twait); in perf_clear_test()
1071 wake_up(&perf->twait); in perf_terminate_test()
1105 ret = wait_event_interruptible(perf->twait, in perf_submit_test()
1159 init_waitqueue_head(&perf->twait); in perf_init_threads()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dsdma.c1727 struct iowait *wait, *nw, *twait; in sdma_desc_avail() local
1761 twait = waits[tidx]; in sdma_desc_avail()
1764 twait, in sdma_desc_avail()