Home
last modified time | relevance | path

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

/src/sys/dev/gpio/
H A Dgpiopower.c47 int sc_timeout; member
91 sc->sc_timeout = 1000000; in gpiopower_attach()
98 sc->sc_timeout = fdt32_to_cpu(prop) * 1000; in gpiopower_attach()
132 DELAY(sc->sc_timeout); in gpiopower_assert()
/src/sys/arm/freescale/imx/
H A Dimx_wdog.c59 uint32_t sc_timeout; member
109 if (timeout != sc->sc_timeout) { in imx_wdog_enable()
110 sc->sc_timeout = timeout; in imx_wdog_enable()
/src/sys/arm/ti/
H A Dti_i2c.c91 int sc_timeout; member
423 err = mtx_sleep(sc, &sc->sc_mtx, 0, "i2ciowait", sc->sc_timeout); in ti_i2c_transfer()
753 val = sc->sc_timeout; in ti_i2c_sysctl_timeout()
760 sc->sc_timeout = val; in ti_i2c_sysctl_timeout()
835 sc->sc_timeout = 5*hz; in ti_i2c_attach()
/src/sys/geom/gate/
H A Dg_gate.c395 callout_reset(&sc->sc_callout, sc->sc_timeout * hz, in g_gate_guard()
447 sbuf_printf(sb, "%s<timeout>%u</timeout>\n", indent, sc->sc_timeout); in g_gate_dumpconf()
516 sc->sc_timeout = ggio->gctl_timeout; in g_gate_create()
614 if (sc->sc_timeout > 0) { in g_gate_create()
615 callout_reset(&sc->sc_callout, sc->sc_timeout * hz, in g_gate_create()
H A Dg_gate.h91 u_int sc_timeout; /* P: (read-only) */ member
/src/sys/dev/rge/
H A Dif_rgevar.h189 struct callout sc_timeout; /* 1 second tick */ member
H A Dif_rge.c202 callout_init_mtx(&sc->sc_timeout, &sc->sc_mtx, 0); in rge_attach()
558 callout_drain(&sc->sc_timeout); in rge_detach()
567 callout_stop(&sc->sc_timeout); in rge_detach()
1370 callout_reset(&sc->sc_timeout, hz, rge_tick, sc); in rge_init_locked()
1393 callout_stop(&sc->sc_timeout); in rge_stop_locked()
2603 callout_reset(&sc->sc_timeout, hz, rge_tick, sc); in rge_tick()