Lines Matching refs:hysdn_lock
47 spin_lock_irqsave(&card->hysdn_lock, flags); /* no further irqs allowed */ in ergo_interrupt()
50 spin_unlock_irqrestore(&card->hysdn_lock, flags); /* restore old state */ in ergo_interrupt()
62 spin_unlock_irqrestore(&card->hysdn_lock, flags); in ergo_interrupt()
86 spin_lock_irqsave(&card->hysdn_lock, flags); in ergo_irq_bh()
88 spin_unlock_irqrestore(&card->hysdn_lock, flags); /* hardware currently unavailable */ in ergo_irq_bh()
120 spin_unlock_irqrestore(&card->hysdn_lock, flags); in ergo_irq_bh()
137 spin_lock_irqsave(&card->hysdn_lock, flags); in ergo_stopcard()
146 spin_unlock_irqrestore(&card->hysdn_lock, flags); in ergo_stopcard()
161 spin_lock_irqsave(&card->hysdn_lock, flags); in ergo_set_errlog_state()
165 spin_unlock_irqrestore(&card->hysdn_lock, flags); in ergo_set_errlog_state()
173 spin_unlock_irqrestore(&card->hysdn_lock, flags); in ergo_set_errlog_state()
352 spin_lock_irqsave(&card->hysdn_lock, flags); in ergo_waitpofready()
365 spin_unlock_irqrestore(&card->hysdn_lock, flags); in ergo_waitpofready()
442 spin_lock_init(&card->hysdn_lock); in ergo_inithardware()