Searched refs:bus_spin_lock (Results 1 – 3 of 3) sorted by relevance
50 #define USB_BUS_SPIN_LOCK(_b) mtx_lock_spin(&(_b)->bus_spin_lock)51 #define USB_BUS_SPIN_UNLOCK(_b) mtx_unlock_spin(&(_b)->bus_spin_lock)52 #define USB_BUS_SPIN_LOCK_ASSERT(_b, _t) mtx_assert(&(_b)->bus_spin_lock, _t)
90 struct mtx bus_spin_lock; member
853 mtx_init(&bus->bus_spin_lock, device_get_nameunit(bus->parent), in usb_bus_mem_alloc_all()909 mtx_destroy(&bus->bus_spin_lock); in usb_bus_mem_free_all()