Home
last modified time | relevance | path

Searched refs:sc_thread (Results 1 – 11 of 11) sorted by relevance

/openbsd/sys/dev/onewire/
H A Donewire.c49 struct proc * sc_thread; member
122 if (sc->sc_thread != NULL) { in onewire_detach()
123 wakeup(sc->sc_thread); in onewire_detach()
403 tsleep_nsec(sc->sc_thread, PWAIT, "owidle", ONEWIRE_SCANTIME); in onewire_thread()
406 sc->sc_thread = NULL; in onewire_thread()
416 if (kthread_create(onewire_thread, sc, &sc->sc_thread, in onewire_createthread()
/openbsd/sys/arch/hppa/dev/
H A Dpower.c47 struct proc *sc_thread; member
135 if (kthread_create(sc->sc_kicker, sc, &sc->sc_thread, in power_thread_create()
/openbsd/sys/dev/hil/
H A Dhilvar.h77 struct proc *sc_thread; /* event handling thread */ member
H A Dhil.c253 if (kthread_create(hil_thread, sc, &sc->sc_thread, in hil_attach_deferred()
/openbsd/sys/dev/ic/
H A Dtwevar.h54 struct proc *sc_thread; member
H A Dtwe.c416 if (kthread_create(twe_thread, sc, &sc->sc_thread, in twe_thread_create()
/openbsd/sys/dev/
H A Dipmivar.h129 struct ipmi_thread *sc_thread; member
H A Dipmi.c1548 if (kthread_create(ipmi_poll_thread, sc->sc_thread, NULL, in ipmi_create_thread()
1564 sc->sc_thread = malloc(sizeof(struct ipmi_thread), M_DEVBUF, M_NOWAIT); in ipmi_attach_common()
1565 if (sc->sc_thread == NULL) { in ipmi_attach_common()
1569 sc->sc_thread->sc = sc; in ipmi_attach_common()
1570 sc->sc_thread->running = 1; in ipmi_attach_common()
/openbsd/sys/dev/acpi/
H A Dacpivar.h257 struct acpi_thread *sc_thread; member
H A Dacpi.c1304 sc->sc_thread = malloc(sizeof(struct acpi_thread), M_DEVBUF, M_WAITOK); in acpi_attach_common()
1305 sc->sc_thread->sc = sc; in acpi_attach_common()
1306 sc->sc_thread->running = 1; in acpi_attach_common()
2775 if (kthread_create(acpi_thread, sc->sc_thread, NULL, DEVNAME(sc)) in acpi_create_thread()
/openbsd/sys/arch/i386/i386/
H A Dapm.c82 struct proc *sc_thread; member
887 if (kthread_create(apm_thread, sc, &sc->sc_thread, in apm_thread_create()