Searched refs:lmc_lock (Results 1 – 3 of 3) sorted by relevance
96 #define LMC_SPIN_LOCK_INIT(x) spin_lock_init(&(x)->lmc_lock);97 #define LMC_SPIN_UNLOCK(x) ((x)->lmc_lock = SPIN_LOCK_UNLOCKED)98 #define LMC_SPIN_LOCK_IRQSAVE(x) spin_lock_irqsave (&(x)->lmc_lock, flags);99 #define LMC_SPIN_UNLOCK_IRQRESTORE(x) spin_unlock_irqrestore (&(x)->lmc_lock, flags);
165 spin_lock_irqsave(&sc->lmc_lock, flags); in lmc_ioctl()639 spin_unlock_irqrestore(&sc->lmc_lock, flags); /*fold01*/ in lmc_ioctl()660 spin_lock_irqsave(&sc->lmc_lock, flags); in lmc_watchdog()664 spin_unlock_irqrestore(&sc->lmc_lock, flags); in lmc_watchdog()819 spin_unlock_irqrestore(&sc->lmc_lock, flags); in lmc_watchdog()929 spin_lock_init(&sc->lmc_lock); in lmc_probe1()1425 spin_lock(&sc->lmc_lock); in lmc_interrupt()1599 spin_unlock(&sc->lmc_lock); in lmc_interrupt()1616 spin_lock_irqsave(&sc->lmc_lock, flags); in lmc_start_xmit()1748 spin_unlock_irqrestore(&sc->lmc_lock, flags); in lmc_start_xmit()[all …]
414 spinlock_t lmc_lock; member