Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/can/sja1000/
Dsja1000.h168 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()
643 spin_lock_init(&priv->cmdreg_lock); in alloc_sja1000dev()
/Linux-v4.19/drivers/net/can/
Dsun4i_can.c207 spinlock_t cmdreg_lock; /* lock for concurrent cmd register writes */ member
226 spin_lock_irqsave(&priv->cmdreg_lock, flags); in sun4i_can_write_cmdreg()
228 spin_unlock_irqrestore(&priv->cmdreg_lock, flags); in sun4i_can_write_cmdreg()
825 spin_lock_init(&priv->cmdreg_lock); in sun4ican_probe()