Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/ofw/
H A Dofw_console.c64 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-12.1/sys/dev/cfe/
H A Dcfe_console.c66 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-12.1/sys/dev/bvm/
H A Dbvm_console.c62 static int polltime; variable
121 polltime = hz / BVMCONS_POLL_HZ; in bvm_tty_open()
122 if (polltime < 1) in bvm_tty_open()
123 polltime = 1; in bvm_tty_open()
124 callout_reset(&bvm_timer, polltime, bvm_timeout, tp); in bvm_tty_open()
167 callout_reset(&bvm_timer, polltime, bvm_timeout, tp); in bvm_timeout()
/freebsd-12.1/sys/powerpc/mambo/
H A Dmambo_console.c59 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-12.1/share/examples/ses/srcs/
H A Dsesd.c60 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-12.1/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-12.1/sys/riscv/riscv/
H A Driscv_console.c87 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-12.1/sys/powerpc/pseries/
H A Dphyp_console.c62 int polltime; member
262 sc->polltime = hz / 20; in uart_phyp_attach()
263 if (sc->polltime < 1) in uart_phyp_attach()
264 sc->polltime = 1; in uart_phyp_attach()
265 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_attach()
433 callout_reset(&sc->callout, sc->polltime, uart_phyp_intr, sc); in uart_phyp_intr()
/freebsd-12.1/sys/powerpc/powernv/
H A Dopal_console.c65 int polltime; member
295 sc->polltime = hz / 20; in uart_opal_attach()
296 if (sc->polltime < 1) in uart_opal_attach()
297 sc->polltime = 1; in uart_opal_attach()
298 callout_reset(&sc->callout, sc->polltime, uart_opal_intr, sc); in uart_opal_attach()
500 callout_reset(&sc->callout, sc->polltime, uart_opal_intr, sc); in uart_opal_intr()