Searched refs:bus_spin_lock (Results 1 – 3 of 3) sorted by relevance
49 #define USB_BUS_SPIN_LOCK(_b) USB_MTX_LOCK_SPIN(&(_b)->bus_spin_lock)50 #define USB_BUS_SPIN_UNLOCK(_b) USB_MTX_UNLOCK_SPIN(&(_b)->bus_spin_lock)51 #define USB_BUS_SPIN_LOCK_ASSERT(_b, _t) USB_MTX_ASSERT(&(_b)->bus_spin_lock, _t)
89 struct mtx bus_spin_lock; member
851 mtx_init(&bus->bus_spin_lock, device_get_nameunit(bus->parent), in usb_bus_mem_alloc_all()907 mtx_destroy(&bus->bus_spin_lock); in usb_bus_mem_free_all()