Lines Matching refs:ct
40 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_reg() local
44 irq_reg_writel(gc, mask, ct->regs.disable); in irq_gc_mask_disable_reg()
45 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_reg()
60 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_set_bit() local
64 *ct->mask_cache |= mask; in irq_gc_mask_set_bit()
65 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_set_bit()
80 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_clr_bit() local
84 *ct->mask_cache &= ~mask; in irq_gc_mask_clr_bit()
85 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_clr_bit()
100 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_unmask_enable_reg() local
104 irq_reg_writel(gc, mask, ct->regs.enable); in irq_gc_unmask_enable_reg()
105 *ct->mask_cache |= mask; in irq_gc_unmask_enable_reg()
117 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_ack_set_bit() local
121 irq_reg_writel(gc, mask, ct->regs.ack); in irq_gc_ack_set_bit()
133 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_ack_clr_bit() local
137 irq_reg_writel(gc, mask, ct->regs.ack); in irq_gc_ack_clr_bit()
156 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_and_ack_set() local
160 irq_reg_writel(gc, mask, ct->regs.disable); in irq_gc_mask_disable_and_ack_set()
161 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_and_ack_set()
162 irq_reg_writel(gc, mask, ct->regs.ack); in irq_gc_mask_disable_and_ack_set()
173 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_eoi() local
177 irq_reg_writel(gc, mask, ct->regs.eoi); in irq_gc_eoi()
259 struct irq_chip_type *ct = gc->chip_types; in irq_gc_init_mask_cache() local
260 u32 *mskptr = &gc->mask_cache, mskreg = ct->regs.mask; in irq_gc_init_mask_cache()
265 mskptr = &ct[i].mask_cache_priv; in irq_gc_init_mask_cache()
266 mskreg = ct[i].regs.mask; in irq_gc_init_mask_cache()
268 ct[i].mask_cache = mskptr; in irq_gc_init_mask_cache()
390 struct irq_chip_type *ct; in irq_map_generic_chip() local
407 ct = gc->chip_types; in irq_map_generic_chip()
408 chip = &ct->chip; in irq_map_generic_chip()
429 irq_domain_set_info(d, virq, hw_irq, chip, gc, ct->handler, NULL, NULL); in irq_map_generic_chip()
477 struct irq_chip_type *ct = gc->chip_types; in irq_setup_generic_chip() local
478 struct irq_chip *chip = &ct->chip; in irq_setup_generic_chip()
503 irq_set_chip_and_handler(i, chip, ct->handler); in irq_setup_generic_chip()
521 struct irq_chip_type *ct = gc->chip_types; in irq_setup_alt_chip() local
524 for (i = 0; i < gc->num_ct; i++, ct++) { in irq_setup_alt_chip()
525 if (ct->type & type) { in irq_setup_alt_chip()
526 d->chip = &ct->chip; in irq_setup_alt_chip()
527 irq_data_to_desc(d)->handle_irq = ct->handler; in irq_setup_alt_chip()
603 struct irq_chip_type *ct = gc->chip_types; in irq_gc_suspend() local
605 if (ct->chip.irq_suspend) { in irq_gc_suspend()
609 ct->chip.irq_suspend(data); in irq_gc_suspend()
623 struct irq_chip_type *ct = gc->chip_types; in irq_gc_resume() local
628 if (ct->chip.irq_resume) { in irq_gc_resume()
632 ct->chip.irq_resume(data); in irq_gc_resume()
646 struct irq_chip_type *ct = gc->chip_types; in irq_gc_shutdown() local
648 if (ct->chip.irq_pm_shutdown) { in irq_gc_shutdown()
652 ct->chip.irq_pm_shutdown(data); in irq_gc_shutdown()