Home
last modified time | relevance | path

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

/linux-2.4.37.9/include/linux/
Di2c-old.h101 # define LOCK_I2C_BUS(bus) spin_lock_irqsave(&(bus->bus_lock),flags);
102 # define UNLOCK_I2C_BUS(bus) spin_unlock_irqrestore(&(bus->bus_lock),flags);
105 # define LOCK_I2C_BUS(bus) spin_lock(&(bus->bus_lock));
106 # define UNLOCK_I2C_BUS(bus) spin_unlock(&(bus->bus_lock));
121 spinlock_t bus_lock; member
/linux-2.4.37.9/drivers/pcmcia/
Di82365.c231 static spinlock_t bus_lock = SPIN_LOCK_UNLOCKED; variable
236 spin_lock_irqsave(&bus_lock,flags); in i365_get()
242 spin_unlock_irqrestore(&bus_lock,flags); in i365_get()
250 spin_lock_irqsave(&bus_lock,flags); in i365_set()
255 spin_unlock_irqrestore(&bus_lock,flags); in i365_set()