Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/video/matrox/
Dmatroxfb_Ti3026.c447 int tmout; in ti3026_setMCLK() local
472 for (tmout = 500000; tmout; tmout--) { in ti3026_setMCLK()
477 if (!tmout) in ti3026_setMCLK()
496 for (tmout = 500000; tmout; tmout--) { in ti3026_setMCLK()
501 if (!tmout) in ti3026_setMCLK()
532 for (tmout = 500000; tmout; tmout--) { in ti3026_setMCLK()
537 if (!tmout) in ti3026_setMCLK()
618 int tmout; in Ti3026_restore() local
620 for (tmout = 500000; tmout; --tmout) { in Ti3026_restore()
628 if (!tmout) in Ti3026_restore()
[all …]
Dmatroxfb_DAC1064.c484 int tmout; in m1064_compute() local
493 for (tmout = 500000; tmout; tmout--) { in m1064_compute()
501 if (!tmout) in m1064_compute()
/linux-3.4.99/drivers/staging/speakup/
Dserialio.c135 int tmout = SPK_XMITR_TIMEOUT; in spk_wait_for_xmitr() local
148 if (--tmout == 0) { in spk_wait_for_xmitr()
155 tmout = SPK_CTS_TIMEOUT; in spk_wait_for_xmitr()
158 if (--tmout == 0) { in spk_wait_for_xmitr()
172 int tmout = SPK_SERIAL_TIMEOUT; in spk_serial_in() local
175 if (--tmout == 0) { in spk_serial_in()
/linux-3.4.99/arch/arm/mach-ks8695/
Dtime.c86 unsigned long tmout = CLOCK_TICK_RATE / HZ; in ks8695_timer_setup() local
93 __raw_writel(tmout / 2, KS8695_TMR_VA + KS8695_T1TC); in ks8695_timer_setup()
94 __raw_writel(tmout / 2, KS8695_TMR_VA + KS8695_T1PD); in ks8695_timer_setup()
/linux-3.4.99/drivers/tty/serial/
Dbcm63xx_uart.c673 unsigned int tmout; in wait_for_xmitr() local
676 tmout = 10000; in wait_for_xmitr()
677 while (--tmout) { in wait_for_xmitr()
688 tmout = 1000000; in wait_for_xmitr()
689 while (--tmout) { in wait_for_xmitr()
Dserial_txx9.c255 unsigned int tmout = 10000; in serial_txx9_initialize() local
262 while ((sio_in(up, TXX9_SIFCR) & TXX9_SIFCR_SWRST) && --tmout) in serial_txx9_initialize()
475 unsigned int tmout = 10000; in wait_for_xmitr() local
478 while (--tmout && in wait_for_xmitr()
484 tmout = 1000000; in wait_for_xmitr()
485 while (--tmout && in wait_for_xmitr()
Dpxa.c631 unsigned int status, tmout = 10000; in wait_for_xmitr() local
640 if (--tmout == 0) in wait_for_xmitr()
647 tmout = 1000000; in wait_for_xmitr()
648 while (--tmout && in wait_for_xmitr()
Dm32r_sio.c1009 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1015 if (--tmout == 0) in wait_for_xmitr()
1022 tmout = 1000000; in wait_for_xmitr()
1023 while (--tmout) in wait_for_xmitr()
Dnwpserial.c45 unsigned int status, tmout = 10000; in wait_for_bits() local
51 if (--tmout == 0) in wait_for_bits()
Domap-serial.c984 unsigned int status, tmout = 10000; in wait_for_xmitr() local
993 if (--tmout == 0) in wait_for_xmitr()
1000 tmout = 1000000; in wait_for_xmitr()
1001 for (tmout = 1000000; tmout; tmout--) { in wait_for_xmitr()
Dpch_uart.c1518 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1526 if (--tmout == 0) in wait_for_xmitr()
1533 unsigned int tmout; in wait_for_xmitr() local
1534 for (tmout = 1000000; tmout; tmout--) { in wait_for_xmitr()
Dvt8500_serial.c441 unsigned int status, tmout = 10000; in wait_for_xmitr() local
447 if (--tmout == 0) in wait_for_xmitr()
Dmfd.c1070 unsigned int status, tmout = 1000; in wait_for_xmitr() local
1079 if (--tmout == 0) in wait_for_xmitr()
1086 tmout = 1000000; in wait_for_xmitr()
1087 while (--tmout && in wait_for_xmitr()
Dsunsu.c1255 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1264 if (--tmout == 0) in wait_for_xmitr()
1271 tmout = 1000000; in wait_for_xmitr()
1272 while (--tmout && in wait_for_xmitr()
/linux-3.4.99/sound/oss/
Ddmabuf.c47 long tmout; in dmabuf_timeout() local
49 tmout = (dmap->fragment_size * HZ) / dmap->data_rate; in dmabuf_timeout()
50 tmout += HZ / 5; /* Some safety distance */ in dmabuf_timeout()
51 if (tmout < (HZ / 2)) in dmabuf_timeout()
52 tmout = HZ / 2; in dmabuf_timeout()
53 if (tmout > 20 * HZ) in dmabuf_timeout()
54 tmout = 20 * HZ; in dmabuf_timeout()
55 return tmout; in dmabuf_timeout()
Dad1848.c1338 int tmout; in ad1848_halt_input() local
1343 for (tmout = 0; tmout < 100000; tmout++) in ad1848_halt_input()
1373 int tmout; in ad1848_halt_output() local
1378 for (tmout = 0; tmout < 100000; tmout++) in ad1848_halt_output()
/linux-3.4.99/drivers/media/video/
Darv.c251 int tmout = 10000; /* FIXME */ in wait_for_vertical_sync() local
257 for (; tmout >= 0; tmout--) { in wait_for_vertical_sync()
262 if (tmout < 0) in wait_for_vertical_sync()
/linux-3.4.99/drivers/mmc/host/
Dmvsdio.c64 unsigned int tmout; in mvsd_setup_data() local
93 tmout = DIV_ROUND_UP(data->timeout_ns, host->ns_per_clk); in mvsd_setup_data()
94 tmout += data->timeout_clks; in mvsd_setup_data()
95 tmout_index = fls(tmout - 1) - 12; in mvsd_setup_data()
104 tmout, tmout_index); in mvsd_setup_data()
/linux-3.4.99/drivers/mtd/nand/
Dtxx9ndfmc.c241 int tmout = 100; in txx9ndfmc_initialize() local
252 if (--tmout == 0) { in txx9ndfmc_initialize()
/linux-3.4.99/drivers/tty/serial/8250/
D8250.c1369 unsigned int status, tmout = 10000; in clear_rx_fifo() local
1376 if (--tmout == 0) in clear_rx_fifo()
1876 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1886 if (--tmout == 0) in wait_for_xmitr()
1893 unsigned int tmout; in wait_for_xmitr() local
1894 for (tmout = 1000000; tmout; tmout--) { in wait_for_xmitr()
/linux-3.4.99/drivers/usb/otg/
Dmsm_otg.c1042 bool is_dcd, tmout, vout; in msm_chg_detect_work() local
1057 tmout = ++motg->dcd_retries == MSM_CHG_DCD_MAX_RETRIES; in msm_chg_detect_work()
1058 if (is_dcd || tmout) { in msm_chg_detect_work()
/linux-3.4.99/drivers/ata/
Dlibata-sff.c216 unsigned long tmout_pat, unsigned long tmout) in ata_sff_busy_sleep() argument
235 timeout = ata_deadline(timer_start, tmout); in ata_sff_busy_sleep()
248 DIV_ROUND_UP(tmout, 1000), status); in ata_sff_busy_sleep()