Home
last modified time | relevance | path

Searched refs:sc_opened (Results 1 – 10 of 10) sorted by relevance

/freebsd-9-stable/sys/i386/isa/
Dspic.c106 int sc_opened; member
360 if (!sc->sc_opened) { in spictimeout()
452 if (sc->sc_opened) in spicopen()
455 sc->sc_opened++; in spicopen()
472 sc->sc_opened = 0; in spicclose()
/freebsd-9-stable/sys/dev/cfi/
Dcfi_dev.c148 if (!atomic_cmpset_acq_ptr((uintptr_t *)&sc->sc_opened, in cfi_devopen()
162 if (sc->sc_opened != td->td_proc) in cfi_devclose()
166 sc->sc_opened = NULL; in cfi_devclose()
Dcfi_var.h58 struct proc *sc_opened; /* Process that has us opened. */ member
/freebsd-9-stable/sys/dev/uart/
Duart_core.c123 if (sc->sc_opened) in uart_intr_break()
148 if (sc->sc_opened) { in uart_intr_overrun()
178 if (sc->sc_opened) in uart_intr_rxready()
221 if (sc->sc_opened) in uart_intr_sigchg()
Duart_tty.c146 sc->sc_opened = 1; in uart_tty_open()
156 if (sc == NULL || sc->sc_leaving || !sc->sc_opened) in uart_tty_close()
167 sc->sc_opened = 0; in uart_tty_close()
Duart_bus.h96 int sc_opened:1; /* This UART is open for business. */ member
Duart_kbd_sun.c290 sc->sc_opened = 1; in sunkbd_attach()
/freebsd-9-stable/sys/geom/multipath/
Dg_multipath.h51 int sc_opened; member
Dg_multipath.c398 sc->sc_opened += dr + dw + de; in g_multipath_access()
399 if (sc->sc_stopping && sc->sc_opened == 0) in g_multipath_access()
556 if (sc->sc_opened != 0) { in g_multipath_destroy()
/freebsd-9-stable/sys/arm/at91/
Duart_dev_at91usart.c542 if (sc->sc_opened && (atsc->flags & NEEDS_RXRDY)) { in at91_usart_bus_ipend()