| /freebsd-14.2/sys/dev/ofw/ |
| H A D | ofw_console.c | 62 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-14.2/sys/dev/cfe/ |
| H A D | cfe_console.c | 64 static int polltime; variable 99 polltime = hz / CFECONS_POLL_HZ; in cfe_tty_open() 100 if (polltime < 1) in cfe_tty_open() 101 polltime = 1; in cfe_tty_open() 102 callout_reset(&cfe_timer, polltime, cfe_timeout, tp); in cfe_tty_open() 148 callout_reset(&cfe_timer, polltime, cfe_timeout, tp); in cfe_timeout()
|
| /freebsd-14.2/sys/powerpc/mambo/ |
| H A D | mambo_console.c | 57 static int polltime; variable 90 polltime = 1; in cn_drvinit() 93 callout_reset(&mambo_callout, polltime, mambo_timeout, NULL); in cn_drvinit() 124 callout_reset(&mambo_callout, polltime, mambo_timeout, NULL); in mambo_timeout()
|
| /freebsd-14.2/share/examples/ses/srcs/ |
| H A D | sesd.c | 59 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-14.2/sys/riscv/riscv/ |
| H A D | riscv_console.c | 85 static int polltime; variable 128 polltime = 1; in cn_drvinit() 131 callout_reset(&riscv_callout, polltime, riscv_timeout, NULL); in cn_drvinit() 167 callout_reset(&riscv_callout, polltime, riscv_timeout, NULL); in riscv_timeout()
|
| /freebsd-14.2/sys/dev/dcons/ |
| H A D | dcons_os.c | 230 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-14.2/sys/powerpc/pseries/ |
| H A D | phyp_console.c | 61 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-14.2/stand/efi/libefi/ |
| H A D | efihttp.c | 400 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() 609 int polltime; in _efihttp_fs_read() local 644 polltime = 0; in _efihttp_fs_read() 645 while (!done && polltime < EFIHTTP_POLL_TIMEOUT) { in _efihttp_fs_read() [all …]
|
| /freebsd-14.2/sys/powerpc/powernv/ |
| H A D | opal_console.c | 65 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()
|