Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpio/
Dgpio-grgpio.c148 raw_spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_set_type()
156 raw_spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_set_type()
167 raw_spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_mask()
171 raw_spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_mask()
180 raw_spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_unmask()
184 raw_spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_unmask()
202 raw_spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_handler()
218 raw_spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_handler()
250 raw_spin_lock_irqsave(&priv->gc.bgpio_lock, flags); in grgpio_irq_map()
256 raw_spin_unlock_irqrestore(&priv->gc.bgpio_lock, flags); in grgpio_irq_map()
[all …]
Dgpio-mlxbf2.c135 raw_spin_lock(&gs->gc.bgpio_lock); in mlxbf2_gpio_lock_acquire()
143 raw_spin_unlock(&gs->gc.bgpio_lock); in mlxbf2_gpio_lock_acquire()
157 __releases(&gs->gc.bgpio_lock) in mlxbf2_gpio_lock_release()
161 raw_spin_unlock(&gs->gc.bgpio_lock); in mlxbf2_gpio_lock_release()
242 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_enable()
250 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_enable()
261 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_disable()
265 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_disable()
311 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_set_type()
323 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_set_type()
Dgpio-hlwd.c69 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irqhandler()
97 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irqhandler()
122 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_mask()
126 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_mask()
138 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_unmask()
142 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_unmask()
179 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
200 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
204 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
Dgpio-amdpt.c39 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in pt_gpio_request()
45 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in pt_gpio_request()
51 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in pt_gpio_request()
62 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in pt_gpio_free()
68 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in pt_gpio_free()
Dgpio-dwapb.c245 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_irq_ack()
247 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_irq_ack()
258 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_irq_mask()
261 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_irq_mask()
276 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_irq_unmask()
279 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_irq_unmask()
289 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_irq_enable()
293 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_irq_enable()
303 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in dwapb_irq_disable()
307 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in dwapb_irq_disable()
[all …]
Dgpio-loongson1.c29 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in ls1x_gpio_request()
32 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in ls1x_gpio_request()
42 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in ls1x_gpio_free()
45 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in ls1x_gpio_free()
Dgpio-idt3243x.c60 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in idt_gpio_irq_set_type()
71 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in idt_gpio_irq_set_type()
89 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in idt_gpio_mask()
94 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in idt_gpio_mask()
106 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in idt_gpio_unmask()
111 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in idt_gpio_unmask()
Dgpio-mlxbf3.c64 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags); in mlxbf3_gpio_irq_enable()
70 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf3_gpio_irq_enable()
81 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags); in mlxbf3_gpio_irq_disable()
85 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf3_gpio_irq_disable()
115 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags); in mlxbf3_gpio_irq_set_type()
137 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf3_gpio_irq_set_type()
141 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf3_gpio_irq_set_type()
Dgpio-mmio.c225 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_set()
234 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_set()
253 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_set_set()
262 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_set_set()
291 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_set_multiple_single_reg()
300 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_set_multiple_single_reg()
352 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_dir_in()
361 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_dir_in()
392 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_dir_out()
401 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_dir_out()
[all …]
Dgpio-cadence.c44 raw_spin_lock_irqsave(&chip->bgpio_lock, flags); in cdns_gpio_request()
49 raw_spin_unlock_irqrestore(&chip->bgpio_lock, flags); in cdns_gpio_request()
58 raw_spin_lock_irqsave(&chip->bgpio_lock, flags); in cdns_gpio_free()
64 raw_spin_unlock_irqrestore(&chip->bgpio_lock, flags); in cdns_gpio_free()
95 raw_spin_lock_irqsave(&chip->bgpio_lock, flags); in cdns_gpio_irq_set_type()
120 raw_spin_unlock_irqrestore(&chip->bgpio_lock, flags); in cdns_gpio_irq_set_type()
Dgpio-sifive.c47 raw_spin_lock_irqsave(&chip->gc.bgpio_lock, flags); in sifive_gpio_set_ie()
57 raw_spin_unlock_irqrestore(&chip->gc.bgpio_lock, flags); in sifive_gpio_set_ie()
89 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in sifive_gpio_irq_enable()
95 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in sifive_gpio_irq_enable()
123 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in sifive_gpio_irq_eoi()
129 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in sifive_gpio_irq_eoi()
Dgpio-menz127.c67 raw_spin_lock(&gc->bgpio_lock); in men_z127_debounce()
82 raw_spin_unlock(&gc->bgpio_lock); in men_z127_debounce()
94 raw_spin_lock(&gc->bgpio_lock); in men_z127_set_single_ended()
104 raw_spin_unlock(&gc->bgpio_lock); in men_z127_set_single_ended()
Dgpio-brcmstb.c85 raw_spin_lock_irqsave(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_get_active_irqs()
87 raw_spin_unlock_irqrestore(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_get_active_irqs()
107 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in brcmstb_gpio_set_imask()
114 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in brcmstb_gpio_set_imask()
197 raw_spin_lock_irqsave(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_irq_set_type()
213 raw_spin_unlock_irqrestore(&bank->gc.bgpio_lock, flags); in brcmstb_gpio_irq_set_type()
Dgpio-tb10x.c65 raw_spin_lock_irqsave(&gpio->gc.bgpio_lock, flags); in tb10x_set_bits()
72 raw_spin_unlock_irqrestore(&gpio->gc.bgpio_lock, flags); in tb10x_set_bits()
Dgpio-ixp4xx.c136 raw_spin_lock_irqsave(&g->gc.bgpio_lock, flags); in ixp4xx_gpio_irq_set_type()
155 raw_spin_unlock_irqrestore(&g->gc.bgpio_lock, flags); in ixp4xx_gpio_irq_set_type()
Dgpio-mxc.c203 raw_spin_lock_irqsave(&port->gc.bgpio_lock, flags); in gpio_set_irq_type()
225 raw_spin_unlock_irqrestore(&port->gc.bgpio_lock, flags); in gpio_set_irq_type()
237 raw_spin_lock_irqsave(&port->gc.bgpio_lock, flags); in mxc_flip_edge()
258 raw_spin_unlock_irqrestore(&port->gc.bgpio_lock, flags); in mxc_flip_edge()
/Linux-v6.6/include/linux/gpio/
Ddriver.h480 raw_spinlock_t bgpio_lock; member
/Linux-v6.6/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c110 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in npcm_gpio_set()
115 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in npcm_gpio_set()
124 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in npcm_gpio_clr()
129 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in npcm_gpio_clr()