Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/can/
Dsun4i_can.c221 spinlock_t cmdreg_lock; /* lock for concurrent cmd register writes */ member
241 spin_lock_irqsave(&priv->cmdreg_lock, flags); in sun4i_can_write_cmdreg()
243 spin_unlock_irqrestore(&priv->cmdreg_lock, flags); in sun4i_can_write_cmdreg()
888 spin_lock_init(&priv->cmdreg_lock); in sun4ican_probe()
/linux-6.12.1/drivers/net/can/sja1000/
Dsja1000.h170 spinlock_t cmdreg_lock; /* lock for concurrent cmd register writes */ member
Dsja1000.c93 spin_lock_irqsave(&priv->cmdreg_lock, flags); in sja1000_write_cmdreg()
96 spin_unlock_irqrestore(&priv->cmdreg_lock, flags); in sja1000_write_cmdreg()
670 spin_lock_init(&priv->cmdreg_lock); in alloc_sja1000dev()