Searched refs:gpio_lock (Results 1 - 25 of 44) sorted by relevance

12

/linux-master/drivers/gpio/
H A Dgpio-loongson.c38 static DEFINE_SPINLOCK(gpio_lock);
44 spin_lock(&gpio_lock);
46 spin_unlock(&gpio_lock);
56 spin_lock(&gpio_lock);
63 spin_unlock(&gpio_lock);
70 spin_lock(&gpio_lock);
74 spin_unlock(&gpio_lock);
85 spin_lock(&gpio_lock);
89 spin_unlock(&gpio_lock);
H A Dgpio-mpc5200.c19 static DEFINE_SPINLOCK(gpio_lock);
77 spin_lock_irqsave(&gpio_lock, flags);
81 spin_unlock_irqrestore(&gpio_lock, flags);
93 spin_lock_irqsave(&gpio_lock, flags);
103 spin_unlock_irqrestore(&gpio_lock, flags);
116 spin_lock_irqsave(&gpio_lock, flags);
128 spin_unlock_irqrestore(&gpio_lock, flags);
236 spin_lock_irqsave(&gpio_lock, flags);
240 spin_unlock_irqrestore(&gpio_lock, flags);
252 spin_lock_irqsave(&gpio_lock, flag
[all...]
H A Dgpio-altera.c22 * @gpio_lock : synchronization lock so that new irq/set/get requests
30 raw_spinlock_t gpio_lock; member in struct:altera_gpio_chip
46 raw_spin_lock_irqsave(&altera_gc->gpio_lock, flags);
51 raw_spin_unlock_irqrestore(&altera_gc->gpio_lock, flags);
64 raw_spin_lock_irqsave(&altera_gc->gpio_lock, flags);
69 raw_spin_unlock_irqrestore(&altera_gc->gpio_lock, flags);
125 raw_spin_lock_irqsave(&chip->gpio_lock, flags);
132 raw_spin_unlock_irqrestore(&chip->gpio_lock, flags);
145 raw_spin_lock_irqsave(&chip->gpio_lock, flags);
150 raw_spin_unlock_irqrestore(&chip->gpio_lock, flag
[all...]
H A Dgpio-xilinx.c53 * @gpio_lock: Lock used for synchronization
68 spinlock_t gpio_lock; /* For serializing operations */ member in struct:xgpio_instance
182 spin_lock_irqsave(&chip->gpio_lock, flags);
189 spin_unlock_irqrestore(&chip->gpio_lock, flags);
213 spin_lock_irqsave(&chip->gpio_lock, flags);
221 spin_unlock_irqrestore(&chip->gpio_lock, flags);
239 spin_lock_irqsave(&chip->gpio_lock, flags);
245 spin_unlock_irqrestore(&chip->gpio_lock, flags);
268 spin_lock_irqsave(&chip->gpio_lock, flags);
278 spin_unlock_irqrestore(&chip->gpio_lock, flag
[all...]
H A Dgpio-pxa.c105 static DEFINE_SPINLOCK(gpio_lock);
268 spin_lock_irqsave(&gpio_lock, flags);
277 spin_unlock_irqrestore(&gpio_lock, flags);
297 spin_lock_irqsave(&gpio_lock, flags);
306 spin_unlock_irqrestore(&gpio_lock, flags);
/linux-master/drivers/ssb/
H A Dembedded.c74 spin_lock_irqsave(&bus->gpio_lock, flags);
81 spin_unlock_irqrestore(&bus->gpio_lock, flags);
92 spin_lock_irqsave(&bus->gpio_lock, flags);
99 spin_unlock_irqrestore(&bus->gpio_lock, flags);
110 spin_lock_irqsave(&bus->gpio_lock, flags);
117 spin_unlock_irqrestore(&bus->gpio_lock, flags);
128 spin_lock_irqsave(&bus->gpio_lock, flags);
131 spin_unlock_irqrestore(&bus->gpio_lock, flags);
142 spin_lock_irqsave(&bus->gpio_lock, flags);
149 spin_unlock_irqrestore(&bus->gpio_lock, flag
[all...]
H A Ddriver_extif.c145 spin_lock_init(&extif->gpio_lock);
158 spin_lock_irqsave(&extif->gpio_lock, flags);
161 spin_unlock_irqrestore(&extif->gpio_lock, flags);
171 spin_lock_irqsave(&extif->gpio_lock, flags);
174 spin_unlock_irqrestore(&extif->gpio_lock, flags);
184 spin_lock_irqsave(&extif->gpio_lock, flags);
186 spin_unlock_irqrestore(&extif->gpio_lock, flags);
196 spin_lock_irqsave(&extif->gpio_lock, flags);
198 spin_unlock_irqrestore(&extif->gpio_lock, flags);
H A Ddriver_chipcommon.c353 spin_lock_init(&cc->gpio_lock);
514 spin_lock_irqsave(&cc->gpio_lock, flags);
516 spin_unlock_irqrestore(&cc->gpio_lock, flags);
526 spin_lock_irqsave(&cc->gpio_lock, flags);
528 spin_unlock_irqrestore(&cc->gpio_lock, flags);
538 spin_lock_irqsave(&cc->gpio_lock, flags);
540 spin_unlock_irqrestore(&cc->gpio_lock, flags);
551 spin_lock_irqsave(&cc->gpio_lock, flags);
553 spin_unlock_irqrestore(&cc->gpio_lock, flags);
563 spin_lock_irqsave(&cc->gpio_lock, flag
[all...]
/linux-master/drivers/media/pci/cx18/
H A Dcx18-gpio.c60 mutex_lock(&cx->gpio_lock);
63 mutex_unlock(&cx->gpio_lock);
98 mutex_lock(&cx->gpio_lock);
101 mutex_unlock(&cx->gpio_lock);
197 mutex_lock(&cx->gpio_lock);
200 mutex_unlock(&cx->gpio_lock);
256 mutex_lock(&cx->gpio_lock);
266 mutex_unlock(&cx->gpio_lock);
277 mutex_unlock(&cx->gpio_lock);
/linux-master/drivers/bcma/
H A Ddriver_chipcommon.c176 spin_lock_init(&cc->gpio_lock);
284 spin_lock_irqsave(&cc->gpio_lock, flags);
286 spin_unlock_irqrestore(&cc->gpio_lock, flags);
297 spin_lock_irqsave(&cc->gpio_lock, flags);
299 spin_unlock_irqrestore(&cc->gpio_lock, flags);
314 spin_lock_irqsave(&cc->gpio_lock, flags);
316 spin_unlock_irqrestore(&cc->gpio_lock, flags);
327 spin_lock_irqsave(&cc->gpio_lock, flags);
329 spin_unlock_irqrestore(&cc->gpio_lock, flags);
339 spin_lock_irqsave(&cc->gpio_lock, flag
[all...]
/linux-master/drivers/media/pci/bt8xx/
H A Dbttv-gpio.c134 spin_lock_irqsave(&btv->gpio_lock,flags);
139 spin_unlock_irqrestore(&btv->gpio_lock,flags);
164 spin_lock_irqsave(&btv->gpio_lock,flags);
169 spin_unlock_irqrestore(&btv->gpio_lock,flags);
H A Dbt878.h95 struct mutex gpio_lock; member in struct:bt878
H A Dbt878.c325 if (mutex_lock_interruptible(&bt->gpio_lock))
356 mutex_unlock(&bt->gpio_lock);
/linux-master/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_phy.c337 raw_spin_lock_irqsave(&wx->gpio_lock, flags);
339 raw_spin_unlock_irqrestore(&wx->gpio_lock, flags);
353 raw_spin_lock_irqsave(&wx->gpio_lock, flags);
356 raw_spin_unlock_irqrestore(&wx->gpio_lock, flags);
368 raw_spin_lock_irqsave(&wx->gpio_lock, flags);
370 raw_spin_unlock_irqrestore(&wx->gpio_lock, flags);
382 raw_spin_lock_irqsave(&wx->gpio_lock, flags);
384 raw_spin_unlock_irqrestore(&wx->gpio_lock, flags);
396 raw_spin_lock_irqsave(&wx->gpio_lock, flags);
398 raw_spin_unlock_irqrestore(&wx->gpio_lock, flag
[all...]
/linux-master/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.h29 /* gpio_lock: used to prevent concurrent access to gpio settings */
30 spinlock_t gpio_lock; member in struct:lan743x_gpio
/linux-master/drivers/iio/dac/
H A Dad5592r-base.c29 mutex_lock(&st->gpio_lock);
36 mutex_unlock(&st->gpio_lock);
48 mutex_lock(&st->gpio_lock);
57 mutex_unlock(&st->gpio_lock);
65 mutex_lock(&st->gpio_lock);
77 mutex_unlock(&st->gpio_lock);
88 mutex_lock(&st->gpio_lock);
109 mutex_unlock(&st->gpio_lock);
149 mutex_init(&st->gpio_lock);
H A Dad5592r-base.h56 struct mutex gpio_lock; /* Protect cached gpio_out, gpio_val, etc. */ member in struct:ad5592r_state
/linux-master/drivers/input/keyboard/
H A Dadp5588-keys.c194 struct mutex gpio_lock; /* Protect cached dir, dat_out */ member in struct:adp5588_kpad
224 mutex_lock(&kpad->gpio_lock);
231 mutex_unlock(&kpad->gpio_lock);
243 mutex_lock(&kpad->gpio_lock);
252 mutex_unlock(&kpad->gpio_lock);
275 mutex_lock(&kpad->gpio_lock);
285 mutex_unlock(&kpad->gpio_lock);
297 mutex_lock(&kpad->gpio_lock);
302 mutex_unlock(&kpad->gpio_lock);
315 mutex_lock(&kpad->gpio_lock);
[all...]
H A Dadp5589-keys.c244 struct mutex gpio_lock; /* Protect cached dir, dat_out */ member in struct:adp5589_kpad
407 mutex_lock(&kpad->gpio_lock);
417 mutex_unlock(&kpad->gpio_lock);
427 mutex_lock(&kpad->gpio_lock);
434 mutex_unlock(&kpad->gpio_lock);
447 mutex_lock(&kpad->gpio_lock);
462 mutex_unlock(&kpad->gpio_lock);
526 mutex_init(&kpad->gpio_lock);
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_7220.h52 spinlock_t gpio_lock; /* RMW of shadows/regs for ExtCtrl and GPIO */ member in struct:qib_chip_specific
/linux-master/arch/powerpc/platforms/52xx/
H A Dmpc52xx_common.c92 static DEFINE_SPINLOCK(gpio_lock);
272 spin_lock_irqsave(&gpio_lock, flags);
302 spin_unlock_irqrestore(&gpio_lock, flags);
/linux-master/drivers/media/pci/cx23885/
H A Dcimax2.c197 mutex_lock(&dev->gpio_lock);
220 mutex_unlock(&dev->gpio_lock);
/linux-master/include/linux/ssb/
H A Dssb_driver_extif.h163 spinlock_t gpio_lock; member in struct:ssb_extif
/linux-master/drivers/usb/serial/
H A Dftdi_sio.c94 struct mutex gpio_lock; /* protects GPIO state */ member in struct:ftdi_private
1788 mutex_lock(&priv->gpio_lock);
1795 mutex_unlock(&priv->gpio_lock);
1801 mutex_unlock(&priv->gpio_lock);
1847 mutex_lock(&priv->gpio_lock);
1856 mutex_unlock(&priv->gpio_lock);
1880 mutex_lock(&priv->gpio_lock);
1886 mutex_unlock(&priv->gpio_lock);
1903 mutex_lock(&priv->gpio_lock);
1908 mutex_unlock(&priv->gpio_lock);
[all...]
/linux-master/drivers/net/phy/mscc/
H A Dmscc.h416 * gpio_lock: used for PHC operations. Common for all PHYs as the load/save GPIO
425 struct mutex gpio_lock; member in struct:vsc85xx_shared_private

Completed in 444 milliseconds

12