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()
366 struct irq_chip_type *ct; in irq_map_generic_chip() local
387 ct = gc->chip_types; in irq_map_generic_chip()
388 chip = &ct->chip; in irq_map_generic_chip()
408 irq_set_chip_and_handler(virq, chip, ct->handler); in irq_map_generic_chip()
437 struct irq_chip_type *ct = gc->chip_types; in irq_setup_generic_chip() local
438 struct irq_chip *chip = &ct->chip; in irq_setup_generic_chip()
462 irq_set_chip_and_handler(i, chip, ct->handler); in irq_setup_generic_chip()
480 struct irq_chip_type *ct = gc->chip_types; in irq_setup_alt_chip() local
483 for (i = 0; i < gc->num_ct; i++, ct++) { in irq_setup_alt_chip()
484 if (ct->type & type) { in irq_setup_alt_chip()
485 d->chip = &ct->chip; in irq_setup_alt_chip()
486 irq_data_to_desc(d)->handle_irq = ct->handler; in irq_setup_alt_chip()
549 struct irq_chip_type *ct = gc->chip_types; in irq_gc_suspend() local
551 if (ct->chip.irq_suspend) { in irq_gc_suspend()
555 ct->chip.irq_suspend(data); in irq_gc_suspend()
566 struct irq_chip_type *ct = gc->chip_types; in irq_gc_resume() local
568 if (ct->chip.irq_resume) { in irq_gc_resume()
572 ct->chip.irq_resume(data); in irq_gc_resume()
586 struct irq_chip_type *ct = gc->chip_types; in irq_gc_shutdown() local
588 if (ct->chip.irq_pm_shutdown) { in irq_gc_shutdown()
592 ct->chip.irq_pm_shutdown(data); in irq_gc_shutdown()