Home
last modified time | relevance | path

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

/linux-6.1.9/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-hlwd.c68 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irqhandler()
96 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irqhandler()
121 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_mask()
125 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_mask()
135 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_unmask()
139 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_unmask()
176 raw_spin_lock_irqsave(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
197 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
201 raw_spin_unlock_irqrestore(&hlwd->gpioc.bgpio_lock, flags); in hlwd_gpio_irq_set_type()
Dgpio-mlxbf2.c134 raw_spin_lock(&gs->gc.bgpio_lock); in mlxbf2_gpio_lock_acquire()
142 raw_spin_unlock(&gs->gc.bgpio_lock); in mlxbf2_gpio_lock_acquire()
156 __releases(&gs->gc.bgpio_lock) in mlxbf2_gpio_lock_release()
160 raw_spin_unlock(&gs->gc.bgpio_lock); in mlxbf2_gpio_lock_release()
240 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_enable()
248 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_enable()
259 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_disable()
263 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_disable()
308 raw_spin_lock_irqsave(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_set_type()
320 raw_spin_unlock_irqrestore(&gs->gc.bgpio_lock, flags); in mlxbf2_gpio_irq_set_type()
Dgpio-loongson1.c28 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in ls1x_gpio_request()
31 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in ls1x_gpio_request()
40 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in ls1x_gpio_free()
43 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in ls1x_gpio_free()
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-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()
103 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in idt_gpio_unmask()
108 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in idt_gpio_unmask()
Dgpio-mmio.c223 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_set()
232 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_set()
251 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_set_set()
260 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_set_set()
289 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_set_multiple_single_reg()
298 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_set_multiple_single_reg()
350 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_dir_in()
359 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in bgpio_dir_in()
390 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in bgpio_dir_out()
399 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()
93 raw_spin_lock_irqsave(&chip->bgpio_lock, flags); in cdns_gpio_irq_set_type()
118 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-mxc.c190 raw_spin_lock_irqsave(&port->gc.bgpio_lock, flags); in gpio_set_irq_type()
211 raw_spin_unlock_irqrestore(&port->gc.bgpio_lock, flags); in gpio_set_irq_type()
223 raw_spin_lock_irqsave(&port->gc.bgpio_lock, flags); in mxc_flip_edge()
244 raw_spin_unlock_irqrestore(&port->gc.bgpio_lock, flags); in mxc_flip_edge()
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()
/linux-6.1.9/include/linux/gpio/
Ddriver.h472 raw_spinlock_t bgpio_lock; member
/linux-6.1.9/drivers/pinctrl/nuvoton/
Dpinctrl-npcm7xx.c108 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in npcm_gpio_set()
113 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in npcm_gpio_set()
122 raw_spin_lock_irqsave(&gc->bgpio_lock, flags); in npcm_gpio_clr()
127 raw_spin_unlock_irqrestore(&gc->bgpio_lock, flags); in npcm_gpio_clr()