Searched refs:sc_closing (Results 1 – 4 of 4) sorted by relevance
/netbsd-src/sys/dev/usb/ |
H A D | udsir.c | 109 char sc_closing; member 249 sc->sc_closing = sc->sc_dying = 1; in udsir_detach() 254 tsleep(&sc->sc_closing, PWAIT, "usircl", 0); in udsir_detach() 361 sc->sc_closing = 0; in udsir_open() 413 sc->sc_closing = 1; in udsir_close() 418 tsleep(&sc->sc_closing, PWAIT, "usircl", 0); in udsir_close() 819 while (!sc->sc_closing) { in udsir_thread() 823 if (!sc->sc_closing) { in udsir_thread() 841 wakeup(&sc->sc_closing); in udsir_thread() 964 if (status == USBD_CANCELLED || sc->sc_closing) /* this is normal */ in udsir_rd_cb()
|
H A D | ustir.c | 140 char sc_closing; member 332 sc->sc_closing = sc->sc_dying = 1; in ustir_detach() 337 tsleep(&sc->sc_closing, PWAIT, "usircl", 0); in ustir_detach() 530 while (!sc->sc_closing) { in ustir_thread() 534 if (!sc->sc_closing) { in ustir_thread() 554 wakeup(&sc->sc_closing); in ustir_thread() 574 if (status == USBD_CANCELLED || sc->sc_closing) /* this is normal */ in ustir_rd_cb() 735 sc->sc_closing = 0; in ustir_open() 789 sc->sc_closing = 1; in ustir_close() 794 tsleep(&sc->sc_closing, PWAIT, "usircl", 0); in ustir_close()
|
H A D | uhid.c | 115 bool sc_closing; member 284 if (sc->sc_open != UHID_CLOSED || sc->sc_closing) { in uhidopen() 352 sc->sc_closing = true; in uhidcancel() 371 KASSERT(sc->sc_closing); in uhidclose() 403 sc->sc_closing = false; in uhidclose() 439 if (sc->sc_closing) { in uhidread()
|
H A D | ucom.c | 187 bool sc_closing; /* software is closing */ member 295 sc->sc_closing = false; in ucom_attach() 569 if (state == UCOM_OPENING || sc->sc_closing) { in ucomopen() 735 sc->sc_closing = true; in ucomcancel() 811 KASSERT(sc->sc_closing); in ucomclose() 813 sc->sc_closing = false; in ucomclose() 1317 !sc->sc_closing) { in ucom_write_status() 1449 sc->sc_closing) { in ucomreadcb() 1451 status, sc->sc_closing, 0, 0); in ucomreadcb()
|