Searched refs:bus_lock (Results 1 – 8 of 8) sorted by relevance
584 spin_lock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_open()591 spin_unlock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_open()601 spin_unlock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_open()608 spin_unlock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_open()669 spin_lock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_close()678 spin_unlock_irq(&pcm->bus->bus_lock); in snd_ac97_pcm_close()
1932 spin_lock_init(&bus->bus_lock); in snd_ac97_bus()
216 static DEFINE_SPINLOCK(bus_lock);221 spin_lock_irqsave(&bus_lock,flags); in i365_get()227 spin_unlock_irqrestore(&bus_lock,flags); in i365_get()235 spin_lock_irqsave(&bus_lock,flags); in i365_set()240 spin_unlock_irqrestore(&bus_lock,flags); in i365_set()
452 rt_mutex_lock(&adapter->bus_lock); in i2c_lock_adapter()467 return rt_mutex_trylock(&adapter->bus_lock); in i2c_trylock_adapter()481 rt_mutex_unlock(&adapter->bus_lock); in i2c_unlock_adapter()837 rt_mutex_init(&adap->bus_lock); in i2c_register_adapter()
361 struct rt_mutex bus_lock; member
459 spinlock_t bus_lock; /* used mainly for slot allocation */ member
365 .bus_lock = ab8500_gpio_irq_lock,
248 struct semaphore bus_lock; member323 down(&dsi.bus_lock); in dsi_bus_lock()329 up(&dsi.bus_lock); in dsi_bus_unlock()335 return dsi.bus_lock.count == 0; in dsi_bus_is_locked()3669 sema_init(&dsi.bus_lock, 1); in dsi_init()