Home
last modified time | relevance | path

Searched refs:tmout (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/drivers/video/fbdev/matrox/
Dmatroxfb_Ti3026.c448 int tmout; in ti3026_setMCLK() local
473 for (tmout = 500000; tmout; tmout--) { in ti3026_setMCLK()
478 if (!tmout) in ti3026_setMCLK()
497 for (tmout = 500000; tmout; tmout--) { in ti3026_setMCLK()
502 if (!tmout) in ti3026_setMCLK()
533 for (tmout = 500000; tmout; tmout--) { in ti3026_setMCLK()
538 if (!tmout) in ti3026_setMCLK()
619 int tmout; in Ti3026_restore() local
621 for (tmout = 500000; tmout; --tmout) { in Ti3026_restore()
629 if (!tmout) in Ti3026_restore()
[all …]
Dmatroxfb_DAC1064.c485 int tmout; in m1064_compute() local
494 for (tmout = 500000; tmout; tmout--) { in m1064_compute()
502 if (!tmout) in m1064_compute()
/linux-6.6.21/drivers/accessibility/speakup/
Dserialio.c218 int tmout = SPK_XMITR_TIMEOUT; in spk_serial_wait_for_xmitr() local
233 if (--tmout == 0) { in spk_serial_wait_for_xmitr()
241 tmout = SPK_CTS_TIMEOUT; in spk_serial_wait_for_xmitr()
244 if (--tmout == 0) { in spk_serial_wait_for_xmitr()
256 int tmout = SPK_SERIAL_TIMEOUT; in spk_serial_in() local
259 if (--tmout == 0) { in spk_serial_in()
/linux-6.6.21/drivers/mmc/host/
Ddw_mmc-exynos.c550 u32 clk_div, tmout; in dw_mci_exynos_set_data_timeout() local
562 tmout = 0xFF; /* Set maximum */ in dw_mci_exynos_set_data_timeout()
569 tmout |= (0xFFFFFF << 8); in dw_mci_exynos_set_data_timeout()
573 tmout |= tmp2 << 8; in dw_mci_exynos_set_data_timeout()
577 tmout |= (tmp & 0xFFFFF8) << 8; in dw_mci_exynos_set_data_timeout()
580 mci_writel(host, TMOUT, tmout); in dw_mci_exynos_set_data_timeout()
582 timeout_ns, tmout >> 8); in dw_mci_exynos_set_data_timeout()
Dmvsdio.c59 unsigned int tmout; in mvsd_setup_data() local
88 tmout = DIV_ROUND_UP(data->timeout_ns, host->ns_per_clk); in mvsd_setup_data()
89 tmout += data->timeout_clks; in mvsd_setup_data()
90 tmout_index = fls(tmout - 1) - 12; in mvsd_setup_data()
99 tmout, tmout_index); in mvsd_setup_data()
Ddw_mmc.c1290 u32 clk_div, tmout; in dw_mci_set_data_timeout() local
1304 tmout = 0xFF; /* Set maximum */ in dw_mci_set_data_timeout()
1308 tmout |= (0xFFFFFF << 8); in dw_mci_set_data_timeout()
1310 tmout |= (tmp & 0xFFFFFF) << 8; in dw_mci_set_data_timeout()
1312 mci_writel(host, TMOUT, tmout); in dw_mci_set_data_timeout()
1314 timeout_ns, tmout >> 8); in dw_mci_set_data_timeout()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_tegra.c28 unsigned int status, tmout = 10000; in tegra_uart_handle_break() local
37 if (--tmout == 0) in tegra_uart_handle_break()
D8250_port.c2085 unsigned int status, tmout = 10000; in wait_for_lsr() local
2093 if (--tmout == 0) in wait_for_lsr()
2105 unsigned int tmout; in wait_for_xmitr() local
2111 for (tmout = 1000000; tmout; tmout--) { in wait_for_xmitr()
/linux-6.6.21/drivers/tty/serial/
Dbcm63xx_uart.c662 unsigned int tmout; in wait_for_xmitr() local
665 tmout = 10000; in wait_for_xmitr()
666 while (--tmout) { in wait_for_xmitr()
677 tmout = 1000000; in wait_for_xmitr()
678 while (--tmout) { in wait_for_xmitr()
Dserial_txx9.c225 unsigned int tmout = 10000; in serial_txx9_initialize() local
231 while ((sio_in(up, TXX9_SIFCR) & TXX9_SIFCR_SWRST) && --tmout) in serial_txx9_initialize()
416 unsigned int tmout = 10000; in wait_for_xmitr() local
419 while (--tmout && in wait_for_xmitr()
425 tmout = 1000000; in wait_for_xmitr()
426 while (--tmout && in wait_for_xmitr()
Dvt8500_serial.c454 unsigned int status, tmout = 10000; in wait_for_xmitr() local
460 if (--tmout == 0) in wait_for_xmitr()
546 unsigned int status, tmout = 10000; in vt8500_put_poll_char() local
551 if (--tmout == 0) in vt8500_put_poll_char()
Dpxa.c561 unsigned int status, tmout = 10000; in wait_for_xmitr() local
570 if (--tmout == 0) in wait_for_xmitr()
577 tmout = 1000000; in wait_for_xmitr()
578 while (--tmout && in wait_for_xmitr()
Domap-serial.c1080 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1089 if (--tmout == 0) in wait_for_xmitr()
1096 tmout = 1000000; in wait_for_xmitr()
1097 for (tmout = 1000000; tmout; tmout--) { in wait_for_xmitr()
Dpch_uart.c1449 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1457 if (--tmout == 0) in wait_for_xmitr()
1464 unsigned int tmout; in wait_for_xmitr() local
1465 for (tmout = 1000000; tmout; tmout--) { in wait_for_xmitr()
Dsunsu.c1256 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1265 if (--tmout == 0) in wait_for_xmitr()
1272 tmout = 1000000; in wait_for_xmitr()
1273 while (--tmout && in wait_for_xmitr()
Dserial-tegra.c293 unsigned int tmout = 100; in tegra_uart_wait_fifo_mode_enabled() local
300 } while (--tmout); in tegra_uart_wait_fifo_mode_enabled()
308 unsigned int lsr, tmout = 10000; in tegra_uart_fifo_reset() local
343 } while (--tmout); in tegra_uart_fifo_reset()
Dsprd_serial.c950 unsigned int status, tmout = 10000; in wait_for_xmitr() local
955 if (--tmout == 0) in wait_for_xmitr()
/linux-6.6.21/drivers/mtd/nand/raw/
Dtxx9ndfmc.c223 int tmout = 100; in txx9ndfmc_initialize() local
234 if (--tmout == 0) { in txx9ndfmc_initialize()
/linux-6.6.21/tools/testing/selftests/
Dkselftest_harness.h376 #define __TEST_F_IMPL(fixture_name, test_name, signal, tmout) \ argument
406 .timeout = tmout, \
/linux-6.6.21/drivers/iio/pressure/
Dzpa2326.c938 unsigned long tmout = jiffies + ZPA2326_CONVERSION_JIFFIES; in zpa2326_poll_oneshot_completion() local
963 if (time_after(jiffies, tmout)) { in zpa2326_poll_oneshot_completion()
/linux-6.6.21/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c792 bool is_dcd, tmout, vout; in rockchip_chg_detect_work() local
813 tmout = ++rphy->dcd_retries == CHG_DCD_MAX_RETRIES; in rockchip_chg_detect_work()
815 if (is_dcd || tmout) { in rockchip_chg_detect_work()
/linux-6.6.21/drivers/ufs/core/
Dufshcd.c922 ufshcd_config_intr_aggr(struct ufs_hba *hba, u8 cnt, u8 tmout) in ufshcd_config_intr_aggr() argument
926 INT_AGGR_TIMEOUT_VAL(tmout), in ufshcd_config_intr_aggr()