Lines Matching refs:ct
39 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_reg() local
43 irq_reg_writel(gc, mask, ct->regs.disable); in irq_gc_mask_disable_reg()
44 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_reg()
58 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_set_bit() local
62 *ct->mask_cache |= mask; in irq_gc_mask_set_bit()
63 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_set_bit()
78 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_clr_bit() local
82 *ct->mask_cache &= ~mask; in irq_gc_mask_clr_bit()
83 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_clr_bit()
98 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_unmask_enable_reg() local
102 irq_reg_writel(gc, mask, ct->regs.enable); in irq_gc_unmask_enable_reg()
103 *ct->mask_cache |= mask; in irq_gc_unmask_enable_reg()
114 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_ack_set_bit() local
118 irq_reg_writel(gc, mask, ct->regs.ack); in irq_gc_ack_set_bit()
130 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_ack_clr_bit() local
134 irq_reg_writel(gc, mask, ct->regs.ack); in irq_gc_ack_clr_bit()
153 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_and_ack_set() local
157 irq_reg_writel(gc, mask, ct->regs.disable); in irq_gc_mask_disable_and_ack_set()
158 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_and_ack_set()
159 irq_reg_writel(gc, mask, ct->regs.ack); in irq_gc_mask_disable_and_ack_set()
170 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_eoi() local
174 irq_reg_writel(gc, mask, ct->regs.eoi); in irq_gc_eoi()
256 struct irq_chip_type *ct = gc->chip_types; in irq_gc_init_mask_cache() local
257 u32 *mskptr = &gc->mask_cache, mskreg = ct->regs.mask; in irq_gc_init_mask_cache()
262 mskptr = &ct[i].mask_cache_priv; in irq_gc_init_mask_cache()
263 mskreg = ct[i].regs.mask; in irq_gc_init_mask_cache()
265 ct[i].mask_cache = mskptr; in irq_gc_init_mask_cache()
387 struct irq_chip_type *ct; in irq_map_generic_chip() local
404 ct = gc->chip_types; in irq_map_generic_chip()
405 chip = &ct->chip; in irq_map_generic_chip()
426 irq_domain_set_info(d, virq, hw_irq, chip, gc, ct->handler, NULL, NULL); in irq_map_generic_chip()
474 struct irq_chip_type *ct = gc->chip_types; in irq_setup_generic_chip() local
475 struct irq_chip *chip = &ct->chip; in irq_setup_generic_chip()
500 irq_set_chip_and_handler(i, chip, ct->handler); in irq_setup_generic_chip()
518 struct irq_chip_type *ct = gc->chip_types; in irq_setup_alt_chip() local
521 for (i = 0; i < gc->num_ct; i++, ct++) { in irq_setup_alt_chip()
522 if (ct->type & type) { in irq_setup_alt_chip()
523 d->chip = &ct->chip; in irq_setup_alt_chip()
524 irq_data_to_desc(d)->handle_irq = ct->handler; in irq_setup_alt_chip()
587 struct irq_chip_type *ct = gc->chip_types; in irq_gc_suspend() local
589 if (ct->chip.irq_suspend) { in irq_gc_suspend()
593 ct->chip.irq_suspend(data); in irq_gc_suspend()
607 struct irq_chip_type *ct = gc->chip_types; in irq_gc_resume() local
612 if (ct->chip.irq_resume) { in irq_gc_resume()
616 ct->chip.irq_resume(data); in irq_gc_resume()
630 struct irq_chip_type *ct = gc->chip_types; in irq_gc_shutdown() local
632 if (ct->chip.irq_pm_shutdown) { in irq_gc_shutdown()
636 ct->chip.irq_pm_shutdown(data); in irq_gc_shutdown()