Home
last modified time | relevance | path

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

/linux-2.6.39/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-2.6.39/drivers/staging/speakup/
Dserialio.c136 int tmout = SPK_XMITR_TIMEOUT; in wait_for_xmitr() local
149 if (--tmout == 0) { in wait_for_xmitr()
156 tmout = SPK_CTS_TIMEOUT; in wait_for_xmitr()
159 if (--tmout == 0) { in wait_for_xmitr()
173 int tmout = SPK_SERIAL_TIMEOUT; in spk_serial_in() local
176 if (--tmout == 0) { in spk_serial_in()
/linux-2.6.39/arch/arm/mach-ks8695/
Dtime.c85 unsigned long tmout = CLOCK_TICK_RATE / HZ; in ks8695_timer_setup() local
92 __raw_writel(tmout / 2, KS8695_TMR_VA + KS8695_T1TC); in ks8695_timer_setup()
93 __raw_writel(tmout / 2, KS8695_TMR_VA + KS8695_T1PD); in ks8695_timer_setup()
/linux-2.6.39/drivers/tty/serial/
Dbcm63xx_uart.c663 unsigned int tmout; in wait_for_xmitr() local
666 tmout = 10000; in wait_for_xmitr()
667 while (--tmout) { in wait_for_xmitr()
678 tmout = 1000000; in wait_for_xmitr()
679 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.c610 unsigned int status, tmout = 10000; in wait_for_xmitr() local
619 if (--tmout == 0) in wait_for_xmitr()
626 tmout = 1000000; in wait_for_xmitr()
627 while (--tmout && in wait_for_xmitr()
Domap-serial.c876 unsigned int status, tmout = 10000; in wait_for_xmitr() local
885 if (--tmout == 0) in wait_for_xmitr()
892 tmout = 1000000; in wait_for_xmitr()
893 for (tmout = 1000000; tmout; tmout--) { in wait_for_xmitr()
Dm32r_sio.c1018 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1024 if (--tmout == 0) in wait_for_xmitr()
1031 tmout = 1000000; in wait_for_xmitr()
1032 while (--tmout) in wait_for_xmitr()
Dnwpserial.c43 unsigned int status, tmout = 10000; in wait_for_bits() local
49 if (--tmout == 0) in wait_for_bits()
Dvt8500_serial.c443 unsigned int status, tmout = 10000; in wait_for_xmitr() local
449 if (--tmout == 0) in wait_for_xmitr()
Dmfd.c1072 unsigned int status, tmout = 1000; in wait_for_xmitr() local
1081 if (--tmout == 0) in wait_for_xmitr()
1088 tmout = 1000000; in wait_for_xmitr()
1089 while (--tmout && in wait_for_xmitr()
Dsunsu.c1254 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1263 if (--tmout == 0) in wait_for_xmitr()
1270 tmout = 1000000; in wait_for_xmitr()
1271 while (--tmout && in wait_for_xmitr()
D8250.c1905 unsigned int status, tmout = 10000; in wait_for_xmitr() local
1915 if (--tmout == 0) in wait_for_xmitr()
1922 unsigned int tmout; in wait_for_xmitr() local
1923 for (tmout = 1000000; tmout; tmout--) { in wait_for_xmitr()
/linux-2.6.39/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-2.6.39/drivers/media/video/
Darv.c252 int tmout = 10000; /* FIXME */ in wait_for_vertical_sync() local
258 for (; tmout >= 0; tmout--) { in wait_for_vertical_sync()
263 if (tmout < 0) in wait_for_vertical_sync()
/linux-2.6.39/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-2.6.39/drivers/mtd/nand/
Dtxx9ndfmc.c244 int tmout = 100; in txx9ndfmc_initialize() local
255 if (--tmout == 0) { in txx9ndfmc_initialize()
/linux-2.6.39/arch/arm/mach-omap2/
Dserial.c644 unsigned int status, tmout = 10000; in serial_out_override() local
649 if (--tmout == 0) in serial_out_override()
/linux-2.6.39/drivers/ata/
Dlibata-sff.c215 unsigned long tmout_pat, unsigned long tmout) in ata_sff_busy_sleep() argument
234 timeout = ata_deadline(timer_start, tmout); in ata_sff_busy_sleep()
247 DIV_ROUND_UP(tmout, 1000), status); in ata_sff_busy_sleep()