Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/can/usb/
Dmcba_usb.c83 atomic_t free_ctx_cnt; member
174 atomic_set(&priv->free_ctx_cnt, ARRAY_SIZE(priv->tx_context)); in mcba_init_ctx()
193 atomic_dec(&priv->free_ctx_cnt); in mcba_usb_get_free_ctx()
198 if (!atomic_read(&priv->free_ctx_cnt)) in mcba_usb_get_free_ctx()
211 atomic_inc(&ctx->priv->free_ctx_cnt); in mcba_usb_free_ctx()