Home
last modified time | relevance | path

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

12

/netbsd-src/sys/dev/usb/
H A Dudsir.c87 struct lwp *sc_thread; member
251 wakeup(&sc->sc_thread); in udsir_detach()
253 while (sc->sc_thread != NULL) in udsir_detach()
378 &sc->sc_thread, "%s", device_xname(sc->sc_dev)); in udsir_open()
415 wakeup(&sc->sc_thread); in udsir_close()
417 while (sc->sc_thread != NULL) in udsir_close()
478 wakeup(&sc->sc_thread); in udsir_read()
513 wakeup(&sc->sc_thread); in udsir_read()
563 wakeup(&sc->sc_thread); in udsir_write()
824 error = tsleep(&sc->sc_thread, PWAIT, "udsir", hz / 10); in udsir_thread()
[all …]
H A Dustir.c117 struct lwp *sc_thread; member
334 wakeup(&sc->sc_thread); in ustir_detach()
336 while (sc->sc_thread != NULL) in ustir_detach()
536 error = tsleep(&sc->sc_thread, PWAIT, in ustir_thread()
552 sc->sc_thread = NULL; in ustir_thread()
621 wakeup(&sc->sc_thread); in ustir_rd_cb()
753 &sc->sc_thread, "%s", device_xname(sc->sc_dev)); in ustir_open()
791 wakeup(&sc->sc_thread); in ustir_close()
793 while (sc->sc_thread != NULL) in ustir_close()
856 wakeup(&sc->sc_thread); in ustir_read()
[all …]
H A Dudl.h130 lwp_t *sc_thread; member
/netbsd-src/sys/dev/onewire/
H A Donewire.c88 struct lwp * sc_thread; member
135 onewire_thread, sc, &sc->sc_thread, "%s", device_xname(self)) != 0) { in onewire_attach()
149 if (sc->sc_thread != NULL) { in onewire_detach()
155 kthread_join(sc->sc_thread); in onewire_detach()
409 KASSERT(curlwp == sc->sc_thread); in onewire_scan()
/netbsd-src/sys/dev/spi/
H A Dspiflash.c91 lwp_t *sc_thread; member
243 &sc->sc_thread, "spiflash"); in spiflash_attach()
345 wakeup(&sc->sc_thread); in spiflash_strategy()
519 tsleep(&sc->sc_thread, PRIBIO, "spiflash_thread", 0); in spiflash_thread()
/netbsd-src/sys/dev/i2c/
H A Dhytp14var.h61 struct lwp *sc_thread; /* measurement poll thread */ member
H A Dsgp40var.h37 struct lwp *sc_thread; member
H A Dsht3xvar.h42 struct lwp *sc_thread; member
H A Dhytp14.c233 hytp14_thread, sc, &sc->sc_thread, in hytp14_attach()
258 kthread_join(sc->sc_thread); in hytp14_detach()
H A Dsgp40.c138 kthread_join(sc->sc_thread); in sgp40_stop_thread()
735 sgp40_thread, sc, &sc->sc_thread, "%s", device_xname(sc->sc_dev)); in sgp40_attach()
/netbsd-src/sys/dev/apm/
H A Dapmvar.h58 lwp_t *sc_thread; member
/netbsd-src/sys/dev/hil/
H A Dhilvar.h80 lwp_t *sc_thread; /* event handling thread */ member
/netbsd-src/sys/arch/arm/xscale/
H A Dpxa2x0_apm.h30 struct proc *sc_thread; member
/netbsd-src/sys/dev/
H A Dccdvar.h181 struct lwp *sc_thread; /* for deferred I/O */ member
H A Dccd.c475 cs, &cs->sc_thread, "%s", cs->sc_xname); in ccdinit()
735 cs->sc_thread = NULL; in ccdthread()
1405 cs->sc_thread != NULL) { in ccdioctl()
/netbsd-src/sys/dev/ic/
H A Dcissvar.h46 struct proc *sc_thread; member
H A Dssdfbvar.h361 lwp_t *sc_thread; member
/netbsd-src/sys/arch/sparc64/dev/
H A Dpsm.c73 lwp_t *sc_thread; member
169 &sc->sc_thread, "%s", xname) != 0) { in psm_attach()
/netbsd-src/sys/arch/mips/alchemy/dev/
H A Daupcmcia.c151 lwp_t *sc_thread; member
293 &sc->sc_thread, "%s", device_xname(sc->sc_dev)) != 0) in aupcm_attach()
/netbsd-src/sys/arch/macppc/dev/
H A Dfcu.c89 lwp_t *sc_thread; member
334 kthread_create(PRI_NONE, 0, curcpu(), fcu_adjust, sc, &sc->sc_thread, in fcu_attach()
H A Dpmu.c106 lwp_t *sc_thread; member
472 if (kthread_create(PRI_NONE, 0, NULL, pmu_thread, sc, &sc->sc_thread, in pmu_attach()
H A Dsmu.c122 lwp_t *sc_thread; member
903 kthread_create(PRI_NONE, 0, curcpu(), smu_adjust, sc, &sc->sc_thread, in smu_setup_zones()
/netbsd-src/sys/dev/hpc/
H A Dhpcfb.c161 struct proc *sc_thread; member
335 &sc->sc_thread, "%s", device_xname(sc->sc_dev)) != 0) { in hpcfbattach()
339 sc->sc_thread = 0; in hpcfbattach()
1362 else if (dc->dc_sc != NULL && dc->dc_sc->sc_thread) in hpcfb_do_scroll()
/netbsd-src/sys/arch/arm/sunxi/
H A Dsunxi_hdmi.c73 lwp_t *sc_thread; member
550 if (sc->sc_thread == NULL) { in sunxi_hdmi_ep_enable()
557 sunxi_hdmi_thread, sc, &sc->sc_thread, "%s", in sunxi_hdmi_ep_enable()
/netbsd-src/sys/arch/sparc/dev/
H A Dts102.c145 lwp_t *sc_thread; /* event thread */ member
357 &sc->sc_thread, "%s", device_xname(self)) != 0) { in tslot_attach()

12