Home
last modified time | relevance | path

Searched refs:bus_lock (Results 1 – 8 of 8) sorted by relevance

/linux-2.6.39/sound/pci/ac97/
Dac97_pcm.c584 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()
Dac97_codec.c1932 spin_lock_init(&bus->bus_lock); in snd_ac97_bus()
/linux-2.6.39/drivers/pcmcia/
Di82365.c216 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()
/linux-2.6.39/drivers/i2c/
Di2c-core.c452 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()
/linux-2.6.39/include/linux/
Di2c.h361 struct rt_mutex bus_lock; member
/linux-2.6.39/include/sound/
Dac97_codec.h459 spinlock_t bus_lock; /* used mainly for slot allocation */ member
/linux-2.6.39/drivers/gpio/
Dab8500-gpio.c365 .bus_lock = ab8500_gpio_irq_lock,
/linux-2.6.39/drivers/video/omap2/dss/
Ddsi.c248 struct semaphore bus_lock; member
323 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()