Searched refs:sc_cmd_sx (Results 1 – 2 of 2) sorted by relevance
508 struct sx sc_cmd_sx; member575 #define XHCI_CMD_LOCK(sc) sx_xlock(&(sc)->sc_cmd_sx)576 #define XHCI_CMD_UNLOCK(sc) sx_xunlock(&(sc)->sc_cmd_sx)577 #define XHCI_CMD_ASSERT_LOCKED(sc) sx_assert(&(sc)->sc_cmd_sx, SA_LOCKED)
631 sx_init(&sc->sc_cmd_sx, "CMDQ lock"); in xhci_init()653 sx_destroy(&sc->sc_cmd_sx); in xhci_uninit()