Home
last modified time | relevance | path

Searched refs:tx_ctx_lock (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/can/usb/
H A Dgs_usb.c315 spinlock_t tx_ctx_lock; member
346 spin_lock_irqsave(&dev->tx_ctx_lock, flags); in gs_alloc_tx_context()
351 spin_unlock_irqrestore(&dev->tx_ctx_lock, flags); in gs_alloc_tx_context()
356 spin_unlock_irqrestore(&dev->tx_ctx_lock, flags); in gs_alloc_tx_context()
375 spin_lock_irqsave(&dev->tx_ctx_lock, flags); in gs_get_tx_context()
377 spin_unlock_irqrestore(&dev->tx_ctx_lock, flags); in gs_get_tx_context()
380 spin_unlock_irqrestore(&dev->tx_ctx_lock, flags); in gs_get_tx_context()
1265 spin_lock_init(&dev->tx_ctx_lock); in gs_make_candev()