/linux-4.19.296/drivers/gpio/ |
D | gpio-loongson.c | 42 static DEFINE_SPINLOCK(gpio_lock); 48 spin_lock(&gpio_lock); in loongson_gpio_get_value() 50 spin_unlock(&gpio_lock); in loongson_gpio_get_value() 60 spin_lock(&gpio_lock); in loongson_gpio_set_value() 67 spin_unlock(&gpio_lock); in loongson_gpio_set_value() 74 spin_lock(&gpio_lock); in loongson_gpio_direction_input() 78 spin_unlock(&gpio_lock); in loongson_gpio_direction_input() 89 spin_lock(&gpio_lock); in loongson_gpio_direction_output() 93 spin_unlock(&gpio_lock); in loongson_gpio_direction_output()
|
D | gpio-mpc5200.c | 31 static DEFINE_SPINLOCK(gpio_lock); 89 spin_lock_irqsave(&gpio_lock, flags); in mpc52xx_wkup_gpio_set() 93 spin_unlock_irqrestore(&gpio_lock, flags); in mpc52xx_wkup_gpio_set() 105 spin_lock_irqsave(&gpio_lock, flags); in mpc52xx_wkup_gpio_dir_in() 115 spin_unlock_irqrestore(&gpio_lock, flags); in mpc52xx_wkup_gpio_dir_in() 128 spin_lock_irqsave(&gpio_lock, flags); in mpc52xx_wkup_gpio_dir_out() 140 spin_unlock_irqrestore(&gpio_lock, flags); in mpc52xx_wkup_gpio_dir_out() 250 spin_lock_irqsave(&gpio_lock, flags); in mpc52xx_simple_gpio_set() 254 spin_unlock_irqrestore(&gpio_lock, flags); in mpc52xx_simple_gpio_set() 266 spin_lock_irqsave(&gpio_lock, flags); in mpc52xx_simple_gpio_dir_in() [all …]
|
D | gpio-xilinx.c | 54 spinlock_t gpio_lock[2]; member 121 spin_lock_irqsave(&chip->gpio_lock[index], flags); in xgpio_set() 132 spin_unlock_irqrestore(&chip->gpio_lock[index], flags); in xgpio_set() 153 spin_lock_irqsave(&chip->gpio_lock[index], flags); in xgpio_set_multiple() 163 spin_unlock_irqrestore(&chip->gpio_lock[index], flags); in xgpio_set_multiple() 165 spin_lock_irqsave(&chip->gpio_lock[index], flags); in xgpio_set_multiple() 179 spin_unlock_irqrestore(&chip->gpio_lock[index], flags); in xgpio_set_multiple() 199 spin_lock_irqsave(&chip->gpio_lock[index], flags); in xgpio_dir_in() 206 spin_unlock_irqrestore(&chip->gpio_lock[index], flags); in xgpio_dir_in() 231 spin_lock_irqsave(&chip->gpio_lock[index], flags); in xgpio_dir_out() [all …]
|
D | gpio-altera.c | 42 raw_spinlock_t gpio_lock; member 57 raw_spin_lock_irqsave(&altera_gc->gpio_lock, flags); in altera_gpio_irq_unmask() 62 raw_spin_unlock_irqrestore(&altera_gc->gpio_lock, flags); in altera_gpio_irq_unmask() 75 raw_spin_lock_irqsave(&altera_gc->gpio_lock, flags); in altera_gpio_irq_mask() 80 raw_spin_unlock_irqrestore(&altera_gc->gpio_lock, flags); in altera_gpio_irq_mask() 144 raw_spin_lock_irqsave(&chip->gpio_lock, flags); in altera_gpio_set() 151 raw_spin_unlock_irqrestore(&chip->gpio_lock, flags); in altera_gpio_set() 164 raw_spin_lock_irqsave(&chip->gpio_lock, flags); in altera_gpio_direction_input() 169 raw_spin_unlock_irqrestore(&chip->gpio_lock, flags); in altera_gpio_direction_input() 185 raw_spin_lock_irqsave(&chip->gpio_lock, flags); in altera_gpio_direction_output() [all …]
|
D | gpiolib.c | 73 DEFINE_SPINLOCK(gpio_lock); 110 spin_lock_irqsave(&gpio_lock, flags); in gpio_to_desc() 115 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_to_desc() 120 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_to_desc() 301 spin_lock_irqsave(&gpio_lock, flags); in gpio_name_to_desc() 313 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_name_to_desc() 319 spin_unlock_irqrestore(&gpio_lock, flags); in gpio_name_to_desc() 1336 spin_lock_irqsave(&gpio_lock, flags); in gpiochip_add_data_with_key() 1349 spin_unlock_irqrestore(&gpio_lock, flags); in gpiochip_add_data_with_key() 1364 spin_unlock_irqrestore(&gpio_lock, flags); in gpiochip_add_data_with_key() [all …]
|
D | gpiolib-sysfs.c | 612 spin_lock_irqsave(&gpio_lock, flags); in gpiod_export() 615 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_export() 623 spin_unlock_irqrestore(&gpio_lock, flags); in gpiod_export() 832 spin_lock_irqsave(&gpio_lock, flags); in gpiolib_sysfs_init() 846 spin_unlock_irqrestore(&gpio_lock, flags); in gpiolib_sysfs_init() 848 spin_lock_irqsave(&gpio_lock, flags); in gpiolib_sysfs_init() 850 spin_unlock_irqrestore(&gpio_lock, flags); in gpiolib_sysfs_init()
|
D | gpio-pxa.c | 109 static DEFINE_SPINLOCK(gpio_lock); 277 spin_lock_irqsave(&gpio_lock, flags); in pxa_gpio_direction_input() 286 spin_unlock_irqrestore(&gpio_lock, flags); in pxa_gpio_direction_input() 306 spin_lock_irqsave(&gpio_lock, flags); in pxa_gpio_direction_output() 315 spin_unlock_irqrestore(&gpio_lock, flags); in pxa_gpio_direction_output()
|
D | gpiolib.h | 202 extern struct spinlock gpio_lock;
|
/linux-4.19.296/drivers/iio/dac/ |
D | ad5592r-base.c | 32 mutex_lock(&st->gpio_lock); in ad5592r_gpio_get() 39 mutex_unlock(&st->gpio_lock); in ad5592r_gpio_get() 51 mutex_lock(&st->gpio_lock); in ad5592r_gpio_set() 60 mutex_unlock(&st->gpio_lock); in ad5592r_gpio_set() 68 mutex_lock(&st->gpio_lock); in ad5592r_gpio_direction_input() 80 mutex_unlock(&st->gpio_lock); in ad5592r_gpio_direction_input() 91 mutex_lock(&st->gpio_lock); in ad5592r_gpio_direction_output() 112 mutex_unlock(&st->gpio_lock); in ad5592r_gpio_direction_output() 147 mutex_init(&st->gpio_lock); in ad5592r_gpio_init()
|
D | ad5592r-base.h | 55 struct mutex gpio_lock; /* Protect cached gpio_out, gpio_val, etc. */ member
|
/linux-4.19.296/include/linux/ |
D | ioc3.h | 36 spinlock_t gpio_lock; member
|
/linux-4.19.296/include/linux/ssb/ |
D | ssb_driver_extif.h | 164 spinlock_t gpio_lock; member
|
D | ssb_driver_chipcommon.h | 594 spinlock_t gpio_lock; member
|
D | ssb.h | 492 spinlock_t gpio_lock; member
|
/linux-4.19.296/include/linux/bcma/ |
D | bcma_driver_chipcommon.h | 645 spinlock_t gpio_lock; member
|