Home
last modified time | relevance | path

Searched refs:polltime (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/dev/ofw/
H A Dofw_console.c62 static int polltime; variable
115 polltime = hz / OFWCONS_POLL_HZ; in ofwtty_open()
116 if (polltime < 1) in ofwtty_open()
117 polltime = 1; in ofwtty_open()
119 callout_reset(&ofw_timer, polltime, ofw_timeout, tp); in ofwtty_open()
158 callout_schedule(&ofw_timer, polltime); in ofw_timeout()
/freebsd/sys/dev/cfe/
H A Dcfe_console.c63 static int polltime; variable
98 polltime = hz / CFECONS_POLL_HZ; in cfe_tty_open()
99 if (polltime < 1) in cfe_tty_open()
100 polltime = 1; in cfe_tty_open()
101 callout_reset(&cfe_timer, polltime, cfe_timeout, tp); in cfe_tty_open()
147 callout_reset(&cfe_timer, polltime, cfe_timeout, tp); in cfe_timeout()
/freebsd/sys/powerpc/mambo/
H A Dmambo_console.c56 static int polltime; variable
89 polltime = 1; in cn_drvinit()
92 callout_reset(&mambo_callout, polltime, mambo_timeout, NULL); in cn_drvinit()
123 callout_reset(&mambo_callout, polltime, mambo_timeout, NULL); in mambo_timeout()
/freebsd/share/examples/ses/srcs/
H A Dsesd.c59 int fd, polltime, dev, nodaemon, clear, c; in main() local
68 polltime = 30; in main()
79 polltime = atoi(optarg); in main()
173 sleep(polltime); in main()
/freebsd/sys/dev/dcons/
H A Ddcons_os.c230 int i, c, polltime; in dcons_timeout() local
245 polltime = hz; in dcons_timeout()
247 polltime /= poll_hz; in dcons_timeout()
248 callout_reset(&dcons_callout, polltime, dcons_timeout, tp); in dcons_timeout()
393 int polltime; in dcons_attach() local
398 polltime = hz / poll_hz; in dcons_attach()
399 callout_reset(&dcons_callout, polltime, dcons_timeout, NULL); in dcons_attach()
/freebsd/sys/riscv/riscv/
H A Driscv_console.c84 static int polltime; variable
127 polltime = 1; in cn_drvinit()
130 callout_reset(&riscv_callout, polltime, riscv_timeout, NULL); in cn_drvinit()
166 callout_reset(&riscv_callout, polltime, riscv_timeout, NULL); in riscv_timeout()
/freebsd/stand/efi/libefi/
H A Defihttp.c400 int polltime; in _efihttp_fs_open() local
487 polltime = 0; in _efihttp_fs_open()
488 while (!done && polltime < EFIHTTP_POLL_TIMEOUT) { in _efihttp_fs_open()
495 polltime += 100; in _efihttp_fs_open()
522 polltime = 0; in _efihttp_fs_open()
523 while (!done && polltime < EFIHTTP_POLL_TIMEOUT) { in _efihttp_fs_open()
530 polltime += 100; in _efihttp_fs_open()
611 int polltime; in _efihttp_fs_read() local
646 polltime = 0; in _efihttp_fs_read()
647 while (!done && polltime < EFIHTTP_POLL_TIMEOUT) { in _efihttp_fs_read()
[all …]
/freebsd/sys/powerpc/pseries/
H A Dphyp_console.c61 int polltime; member
261 sc->polltime = hz / 20; in uart_phyp_attach()
262 if (sc->polltime < 1) in uart_phyp_attach()
263 sc->polltime = 1; in uart_phyp_attach()
264 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_attach()
457 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_intr()
/freebsd/sys/powerpc/powernv/
H A Dopal_console.c65 int polltime; member
313 sc->polltime = hz / 20; in uart_opal_attach()
314 if (sc->polltime < 1) in uart_opal_attach()
315 sc->polltime = 1; in uart_opal_attach()
316 callout_reset(&sc->callout, sc->polltime, uart_opal_intr, sc); in uart_opal_attach()
540 callout_reset(&sc->callout, sc->polltime, uart_opal_intr, sc); in uart_opal_intr()