Home
last modified time | relevance | path

Searched refs:gc (Results 1 – 3 of 3) sorted by relevance

/kernel/irq/
Dgeneric-chip.c39 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_disable_reg() local
43 irq_gc_lock(gc); in irq_gc_mask_disable_reg()
44 irq_reg_writel(gc, mask, ct->regs.disable); in irq_gc_mask_disable_reg()
46 irq_gc_unlock(gc); in irq_gc_mask_disable_reg()
59 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_set_bit() local
63 irq_gc_lock(gc); in irq_gc_mask_set_bit()
65 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_set_bit()
66 irq_gc_unlock(gc); in irq_gc_mask_set_bit()
79 struct irq_chip_generic *gc = irq_data_get_irq_chip_data(d); in irq_gc_mask_clr_bit() local
83 irq_gc_lock(gc); in irq_gc_mask_clr_bit()
[all …]
Ddevres.c222 struct irq_chip_generic *gc; in devm_irq_alloc_generic_chip() local
224 gc = devm_kzalloc(dev, struct_size(gc, chip_types, num_ct), GFP_KERNEL); in devm_irq_alloc_generic_chip()
225 if (gc) in devm_irq_alloc_generic_chip()
226 irq_init_generic_chip(gc, name, num_ct, in devm_irq_alloc_generic_chip()
229 return gc; in devm_irq_alloc_generic_chip()
234 struct irq_chip_generic *gc; member
244 irq_remove_generic_chip(this->gc, this->msk, this->clr, this->set); in devm_irq_remove_generic_chip()
262 int devm_irq_setup_generic_chip(struct device *dev, struct irq_chip_generic *gc, in devm_irq_setup_generic_chip() argument
273 irq_setup_generic_chip(gc, msk, flags, clr, set); in devm_irq_setup_generic_chip()
275 dr->gc = gc; in devm_irq_setup_generic_chip()
Dinternals.h399 void irq_init_generic_chip(struct irq_chip_generic *gc, const char *name,
404 irq_init_generic_chip(struct irq_chip_generic *gc, const char *name, in irq_init_generic_chip() argument