Searched refs:usbhs_priv_to_lock (Results 1 – 2 of 2) sorted by relevance
293 #define usbhs_lock(p, f) spin_lock_irqsave(usbhs_priv_to_lock(p), f)294 #define usbhs_unlock(p, f) spin_unlock_irqrestore(usbhs_priv_to_lock(p), f)344 #define usbhs_priv_to_lock(priv) (&priv->lock) macro
131 spin_unlock(usbhs_priv_to_lock(priv)); in __usbhsg_queue_pop()133 spin_lock(usbhs_priv_to_lock(priv)); in __usbhsg_queue_pop()