Lines Matching refs:ct
38 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_reg() local
42 irq_reg_writel(gc, mask, ct->regs.disable); in irq_gc_mask_disable_reg()
43 *ct->mask_cache &= ~mask; in irq_gc_mask_disable_reg()
57 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_set_bit() local
61 *ct->mask_cache |= mask; in irq_gc_mask_set_bit()
62 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_set_bit()
77 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_clr_bit() local
81 *ct->mask_cache &= ~mask; in irq_gc_mask_clr_bit()
82 irq_reg_writel(gc, *ct->mask_cache, ct->regs.mask); in irq_gc_mask_clr_bit()
97 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_unmask_enable_reg() local
101 irq_reg_writel(gc, mask, ct->regs.enable); in irq_gc_unmask_enable_reg()
102 *ct->mask_cache |= mask; in irq_gc_unmask_enable_reg()
113 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_ack_set_bit() local
117 irq_reg_writel(gc, mask, ct->regs.ack); in irq_gc_ack_set_bit()
129 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_ack_clr_bit() local
133 irq_reg_writel(gc, mask, ct->regs.ack); in irq_gc_ack_clr_bit()
144 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_mask_disable_reg_and_ack() local
148 irq_reg_writel(gc, mask, ct->regs.mask); in irq_gc_mask_disable_reg_and_ack()
149 irq_reg_writel(gc, mask, ct->regs.ack); in irq_gc_mask_disable_reg_and_ack()
160 struct irq_chip_type *ct = irq_data_get_chip_type(d); in irq_gc_eoi() local
164 irq_reg_writel(gc, mask, ct->regs.eoi); in irq_gc_eoi()
247 struct irq_chip_type *ct = gc->chip_types; in irq_gc_init_mask_cache() local
248 u32 *mskptr = &gc->mask_cache, mskreg = ct->regs.mask; in irq_gc_init_mask_cache()
253 mskptr = &ct[i].mask_cache_priv; in irq_gc_init_mask_cache()
254 mskreg = ct[i].regs.mask; in irq_gc_init_mask_cache()
256 ct[i].mask_cache = mskptr; in irq_gc_init_mask_cache()
374 struct irq_chip_type *ct; in irq_map_generic_chip() local
391 ct = gc->chip_types; in irq_map_generic_chip()
392 chip = &ct->chip; in irq_map_generic_chip()
412 irq_domain_set_info(d, virq, hw_irq, chip, gc, ct->handler, NULL, NULL); in irq_map_generic_chip()
460 struct irq_chip_type *ct = gc->chip_types; in irq_setup_generic_chip() local
461 struct irq_chip *chip = &ct->chip; in irq_setup_generic_chip()
485 irq_set_chip_and_handler(i, chip, ct->handler); in irq_setup_generic_chip()
503 struct irq_chip_type *ct = gc->chip_types; in irq_setup_alt_chip() local
506 for (i = 0; i < gc->num_ct; i++, ct++) { in irq_setup_alt_chip()
507 if (ct->type & type) { in irq_setup_alt_chip()
508 d->chip = &ct->chip; in irq_setup_alt_chip()
509 irq_data_to_desc(d)->handle_irq = ct->handler; in irq_setup_alt_chip()
572 struct irq_chip_type *ct = gc->chip_types; in irq_gc_suspend() local
574 if (ct->chip.irq_suspend) { in irq_gc_suspend()
578 ct->chip.irq_suspend(data); in irq_gc_suspend()
592 struct irq_chip_type *ct = gc->chip_types; in irq_gc_resume() local
597 if (ct->chip.irq_resume) { in irq_gc_resume()
601 ct->chip.irq_resume(data); in irq_gc_resume()
615 struct irq_chip_type *ct = gc->chip_types; in irq_gc_shutdown() local
617 if (ct->chip.irq_pm_shutdown) { in irq_gc_shutdown()
621 ct->chip.irq_pm_shutdown(data); in irq_gc_shutdown()