Home
last modified time | relevance | path

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

/netbsd-src/sys/arch/hppa/dev/
H A Dpower.c91 int sc_timeout; member
152 sc->sc_timeout = hz / 5; in powerattach()
169 sc->sc_timeout = hz; in powerattach()
196 callout_reset(&sc->sc_callout, sc->sc_timeout, in check_pwr_state()
222 if (sc->sc_dr_cnt == sc->sc_timeout) in power_thread_dr()
316 callout_reset(&sc->sc_callout, sc->sc_timeout, sc->sc_kicker, sc); in pwr_sw_init()
/netbsd-src/sys/dev/isa/
H A Dpcppi.c304 if (sc->sc_timeout) { in pcppi_bell_locked()
305 sc->sc_timeout = 0; in pcppi_bell_locked()
332 sc->sc_timeout = 1; in pcppi_bell_locked()
346 if (sc->sc_timeout != 0) { in pcppi_bell_callout()
356 sc->sc_timeout = 0; in pcppi_bell_stop()
H A Dpcppivar.h49 int sc_timeout; member
/netbsd-src/sys/net/
H A Dif_pppoe.c189 callout_t sc_timeout; /* timeout while not in session state */ member
389 callout_init(&sc->sc_timeout, CALLOUT_MPSAFE); in pppoe_clone_create()
390 callout_setfunc(&sc->sc_timeout, pppoe_timeout_co, sc); in pppoe_clone_create()
443 callout_setfunc(&sc->sc_timeout, pppoe_timeout_co_halt, sc); in pppoe_clone_destroy()
448 callout_halt(&sc->sc_timeout, NULL); in pppoe_clone_destroy()
449 callout_destroy(&sc->sc_timeout); in pppoe_clone_destroy()
987 callout_stop(&sc->sc_timeout); in pppoe_dispatch_disc_pkt()
998 callout_schedule(&sc->sc_timeout, in pppoe_dispatch_disc_pkt()
1007 callout_schedule(&sc->sc_timeout, in pppoe_dispatch_disc_pkt()
1035 callout_stop(&sc->sc_timeout); in pppoe_dispatch_disc_pkt()
[all …]
/netbsd-src/sys/dev/bluetooth/
H A Dbtmagic.c138 callout_t sc_timeout; member
304 callout_init(&sc->sc_timeout, 0); in btmagic_attach()
305 callout_setfunc(&sc->sc_timeout, btmagic_timeout, sc); in btmagic_attach()
463 callout_halt(&sc->sc_timeout, bt_lock); in btmagic_detach()
464 callout_destroy(&sc->sc_timeout); in btmagic_detach()
728 callout_ack(&sc->sc_timeout); in btmagic_timeout()
925 callout_schedule(&sc->sc_timeout, hz); in btmagic_int_connected()
956 callout_schedule(&sc->sc_timeout, hz); in btmagic_ctl_disconnected()
980 callout_schedule(&sc->sc_timeout, hz); in btmagic_int_disconnected()
1102 callout_schedule(&sc->sc_timeout, hz); in btmagic_input()
/netbsd-src/sys/dev/ir/
H A Dirframe_tty.c110 struct callout sc_timeout; member
227 callout_init(&sc->sc_timeout, 0); in irframet_attach()
248 callout_halt(&sc->sc_timeout, NULL); in irframet_detach()
252 callout_destroy(&sc->sc_timeout); in irframet_detach()
570 callout_reset(&sc->sc_timeout, hz/20, irt_timeout, sc); in irframetinput()
614 callout_stop(&sc->sc_timeout); in irframet_close()
/netbsd-src/sys/arch/acorn32/podulebus/
H A Descvar.h172 u_short sc_timeout; member
H A Dsfasvar.h172 u_short sc_timeout; member
H A Dcsc.c148 sc->sc_softc.sc_timeout = 250; /* Set default timeout to 250ms */ in cscattach()
H A Dcosc.c216 sc->sc_softc.sc_timeout = 250; /* Set default timeout to 250ms */ in coscattach()
H A Dptsc.c190 sc->sc_softc.sc_timeout = 250; /* Set default timeout to 250ms */ in ptscattach()
H A Dsfas.c222 dev->sc_timeout_val = 1+dev->sc_timeout*dev->sc_clock_freq/ in sfasinitialize()
1623 printf("timeout = %d\n", sc->sc_timeout); in dump_sfassoftc()
H A Desc.c223 dev->sc_timeout_val = 1+dev->sc_timeout*dev->sc_clock_freq/ in escinitialize()
/netbsd-src/sys/arch/arm/sunxi/
H A Dsun8i_crypto.c123 struct callout sc_timeout; member
398 callout_init(&sc->sc_timeout, CALLOUT_MPSAFE); in sun8i_crypto_attach()
399 callout_setfunc(&sc->sc_timeout, &sun8i_crypto_timeout, sc); in sun8i_crypto_attach()
966 if (!sc->sc_polling && !callout_pending(&sc->sc_timeout)) in sun8i_crypto_submit()
967 callout_schedule(&sc->sc_timeout, SUN8I_CRYPTO_TIMEOUT); in sun8i_crypto_submit()
1183 if (schedtimeout && !callout_pending(&sc->sc_timeout)) in sun8i_crypto_done()
1184 callout_schedule(&sc->sc_timeout, SUN8I_CRYPTO_TIMEOUT); in sun8i_crypto_done()
/netbsd-src/sys/dev/pci/
H A Dif_vge.c208 callout_t sc_timeout; member
1055 callout_init(&sc->sc_timeout, 0); in vge_attach()
1056 callout_setfunc(&sc->sc_timeout, vge_tick, sc); in vge_attach()
1426 callout_schedule(&sc->sc_timeout, hz); in vge_tick()
1917 callout_schedule(&sc->sc_timeout, hz); in vge_init()
H A Dif_rgereg.h362 callout_t sc_timeout; /* tick timeout */ member
H A Dif_rge.c347 callout_init(&sc->sc_timeout, CALLOUT_FLAGS); in rge_attach()
348 callout_setfunc(&sc->sc_timeout, rge_tick, sc); in rge_attach()
836 callout_schedule(&sc->sc_timeout, 1); in rge_init()
849 callout_halt(&sc->sc_timeout, NULL); in rge_stop()
2482 callout_schedule(&sc->sc_timeout, hz); in rge_tick()
/netbsd-src/sys/dev/ic/
H A Dncr53c9xvar.h286 uint8_t sc_timeout; member
H A Dncr53c9x.c254 sc->sc_timeout = ((250 * 1000) * sc->sc_freq) / (8192 * sc->sc_ccf); in ncr53c9x_attach()
387 NCR_WRITE_REG(sc, NCR_TIMEOUT, sc->sc_timeout); in ncr53c9x_reset()
401 NCR_WRITE_REG(sc, NCR_TIMEOUT, sc->sc_timeout); in ncr53c9x_reset()
410 NCR_WRITE_REG(sc, NCR_TIMEOUT, sc->sc_timeout); in ncr53c9x_reset()
422 sc->sc_ccf, sc->sc_timeout); in ncr53c9x_reset()
/netbsd-src/sys/dev/marvell/
H A Dmvxpsecvar.h416 callout_t sc_timeout; member
H A Dmvxpsec.c378 callout_init(&sc->sc_timeout, 0); /* XXX: use CALLOUT_MPSAFE */ in mvxpsec_attach()
379 callout_setfunc(&sc->sc_timeout, mvxpsec_timer, sc); in mvxpsec_attach()
2180 callout_stop(&sc->sc_timeout); in mvxpsec_done()
2270 callout_schedule(&sc->sc_timeout, hz); in mvxpsec_dispatch_queue()
2278 callout_schedule(&sc->sc_timeout, hz); in mvxpsec_dispatch_queue()
2285 callout_schedule(&sc->sc_timeout, hz); in mvxpsec_dispatch_queue()