Home
last modified time | relevance | path

Searched refs:bgpio_lock (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.4/drivers/gpio/
Dgpio-grgpio.c148 spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_set_type()
156 spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_set_type()
167 spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_mask()
171 spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_mask()
180 spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_unmask()
184 spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_unmask()
202 spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_handler()
218 spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_handler()
250 spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_map()
263 spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_map()
[all …]
Dgpio-hlwd.c68 spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irqhandler()
96 spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irqhandler()
124 spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_mask()
128 spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_mask()
138 spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_unmask()
142 spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_unmask()
179 spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
200 spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
204 spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
Dgpio-loongson1.c28 spin_lock_irqsave(&gc->bgpio_lock, flags); in ls1x_gpio_request()
31 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in ls1x_gpio_request()
40 spin_lock_irqsave(&gc->bgpio_lock, flags); in ls1x_gpio_free()
43 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in ls1x_gpio_free()
Dgpio-amdpt.c38 spin_lock_irqsave(&gc->bgpio_lock, flags); in pt_gpio_request()
44 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in pt_gpio_request()
50 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in pt_gpio_request()
61 spin_lock_irqsave(&gc->bgpio_lock, flags); in pt_gpio_free()
67 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in pt_gpio_free()
Dgpio-cadence.c44 spin_lock_irqsave(&chip->bgpio_lock, flags); in cdns_gpio_request()
49 spin_unlock_irqrestore(&chip->bgpio_lock, flags); in cdns_gpio_request()
58 spin_lock_irqsave(&chip->bgpio_lock, flags); in cdns_gpio_free()
64 spin_unlock_irqrestore(&chip->bgpio_lock, flags); in cdns_gpio_free()
93 spin_lock_irqsave(&chip->bgpio_lock, flags); in cdns_gpio_irq_set_type()
118 spin_unlock_irqrestore(&chip->bgpio_lock, flags); in cdns_gpio_irq_set_type()
Dgpio-mmio.c225 spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_set()
234 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_set()
253 spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_set_set()
262 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_set_set()
295 spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_set_multiple_single_reg()
304 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_set_multiple_single_reg()
356 spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_dir_in()
365 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_dir_in()
390 spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_dir_out()
399 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_dir_out()
[all …]
Dgpio-menz127.c67 spin_lock(&gc->bgpio_lock); in men_z127_debounce()
82 spin_unlock(&gc->bgpio_lock); in men_z127_debounce()
94 spin_lock(&gc->bgpio_lock); in men_z127_set_single_ended()
104 spin_unlock(&gc->bgpio_lock); in men_z127_set_single_ended()
Dgpio-dwapb.c229 spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_irq_enable()
233 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_irq_enable()
244 spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_irq_disable()
248 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_irq_disable()
288 spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_irq_set_type()
320 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_irq_set_type()
349 spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_gpio_set_debounce()
357 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_gpio_set_debounce()
752 spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_gpio_suspend()
782 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_gpio_suspend()
[all …]
Dgpio-brcmstb.c95 spin_lock_irqsave(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_get_active_irqs()
97 spin_unlock_irqrestore(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_get_active_irqs()
117 spin_lock_irqsave(&gc->bgpio_lock, flags); in brcmstb_gpio_set_imask()
124 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in brcmstb_gpio_set_imask()
207 spin_lock_irqsave(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_irq_set_type()
223 spin_unlock_irqrestore(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_irq_set_type()
Dgpio-tb10x.c65 spin_lock_irqsave(&gpio->gc.bgpio_lock, flags); in tb10x_set_bits()
72 spin_unlock_irqrestore(&gpio->gc.bgpio_lock, flags); in tb10x_set_bits()
Dgpio-ixp4xx.c131 spin_lock_irqsave(&g->gc.bgpio_lock, flags); in ixp4xx_gpio_irq_set_type()
150 spin_unlock_irqrestore(&g->gc.bgpio_lock, flags); in ixp4xx_gpio_irq_set_type()
Dgpio-mpc8xxx.c61 spin_lock_irqsave(&gc->bgpio_lock, flags); in ls1028a_gpio_dir_in_init()
65 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in ls1028a_gpio_dir_in_init()
/Linux-v5.4/include/linux/gpio/
Ddriver.h395 spinlock_t bgpio_lock; member
/Linux-v5.4/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c108 spin_lock_irqsave(&gc->bgpio_lock, flags); in npcm_gpio_set()
113 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in npcm_gpio_set()
122 spin_lock_irqsave(&gc->bgpio_lock, flags); in npcm_gpio_clr()
127 spin_unlock_irqrestore(&gc->bgpio_lock, flags); in npcm_gpio_clr()