| /freebsd-13.1/sys/dev/cfe/ |
| H A D | cfe_console.c | 66 static int polltime; variable 101 polltime = hz / CFECONS_POLL_HZ; in cfe_tty_open() 102 if (polltime < 1) in cfe_tty_open() 103 polltime = 1; in cfe_tty_open() 104 callout_reset(&cfe_timer, polltime, cfe_timeout, tp); in cfe_tty_open() 150 callout_reset(&cfe_timer, polltime, cfe_timeout, tp); in cfe_timeout()
|
| /freebsd-13.1/sys/dev/ofw/ |
| H A D | ofw_console.c | 64 static int polltime; variable 117 polltime = hz / OFWCONS_POLL_HZ; in ofwtty_open() 118 if (polltime < 1) in ofwtty_open() 119 polltime = 1; in ofwtty_open() 121 callout_reset(&ofw_timer, polltime, ofw_timeout, tp); in ofwtty_open() 160 callout_schedule(&ofw_timer, polltime); in ofw_timeout()
|
| /freebsd-13.1/sys/powerpc/mambo/ |
| H A D | mambo_console.c | 59 static int polltime; variable 92 polltime = 1; in cn_drvinit() 95 callout_reset(&mambo_callout, polltime, mambo_timeout, NULL); in cn_drvinit() 126 callout_reset(&mambo_callout, polltime, mambo_timeout, NULL); in mambo_timeout()
|
| /freebsd-13.1/share/examples/ses/srcs/ |
| H A D | sesd.c | 60 int fd, polltime, dev, nodaemon, clear, c; in main() local 69 polltime = 30; in main() 80 polltime = atoi(optarg); in main() 174 sleep(polltime); in main()
|
| /freebsd-13.1/sys/riscv/riscv/ |
| H A D | riscv_console.c | 87 static int polltime; variable 130 polltime = 1; in cn_drvinit() 133 callout_reset(&riscv_callout, polltime, riscv_timeout, NULL); in cn_drvinit() 169 callout_reset(&riscv_callout, polltime, riscv_timeout, NULL); in riscv_timeout()
|
| /freebsd-13.1/sys/dev/dcons/ |
| H A D | dcons_os.c | 232 int i, c, polltime; in dcons_timeout() local 247 polltime = hz; in dcons_timeout() 249 polltime /= poll_hz; in dcons_timeout() 250 callout_reset(&dcons_callout, polltime, dcons_timeout, tp); in dcons_timeout() 395 int polltime; in dcons_attach() local 400 polltime = hz / poll_hz; in dcons_attach() 401 callout_reset(&dcons_callout, polltime, dcons_timeout, NULL); in dcons_attach()
|
| /freebsd-13.1/sys/powerpc/pseries/ |
| H A D | phyp_console.c | 63 int polltime; member 263 sc->polltime = hz / 20; in uart_phyp_attach() 264 if (sc->polltime < 1) in uart_phyp_attach() 265 sc->polltime = 1; in uart_phyp_attach() 266 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_attach() 459 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_intr()
|
| /freebsd-13.1/stand/efi/libefi/ |
| H A D | efihttp.c | 405 int polltime; in _efihttp_fs_open() local 492 polltime = 0; in _efihttp_fs_open() 493 while (!done && polltime < EFIHTTP_POLL_TIMEOUT) { in _efihttp_fs_open() 500 polltime += 100; in _efihttp_fs_open() 527 polltime = 0; in _efihttp_fs_open() 528 while (!done && polltime < EFIHTTP_POLL_TIMEOUT) { in _efihttp_fs_open() 535 polltime += 100; in _efihttp_fs_open() 614 int polltime; in _efihttp_fs_read() local 649 polltime = 0; in _efihttp_fs_read() 650 while (!done && polltime < EFIHTTP_POLL_TIMEOUT) { in _efihttp_fs_read() [all …]
|
| /freebsd-13.1/sys/powerpc/powernv/ |
| H A D | opal_console.c | 67 int polltime; member 315 sc->polltime = hz / 20; in uart_opal_attach() 316 if (sc->polltime < 1) in uart_opal_attach() 317 sc->polltime = 1; in uart_opal_attach() 318 callout_reset(&sc->callout, sc->polltime, uart_opal_intr, sc); in uart_opal_attach() 542 callout_reset(&sc->callout, sc->polltime, uart_opal_intr, sc); in uart_opal_intr()
|