Lines Matching refs:dom
55 static void tangox_dispatch_irqs(struct irq_domain *dom, unsigned int status, in tangox_dispatch_irqs() argument
63 virq = irq_find_mapping(dom, base + hwirq); in tangox_dispatch_irqs()
72 struct irq_domain *dom = irq_desc_get_handler_data(desc); in tangox_irq_handler() local
74 struct tangox_irq_chip *chip = dom->host_data; in tangox_irq_handler()
82 tangox_dispatch_irqs(dom, status_lo, 0); in tangox_irq_handler()
83 tangox_dispatch_irqs(dom, status_hi, 32); in tangox_irq_handler()
161 static void __init tangox_irq_domain_init(struct irq_domain *dom) in tangox_irq_domain_init() argument
167 gc = irq_get_domain_generic_chip(dom, i * 32); in tangox_irq_domain_init()
176 struct irq_domain *dom; in tangox_irq_init() local
193 dom = irq_domain_add_linear(node, 64, &irq_generic_chip_ops, chip); in tangox_irq_init()
194 if (!dom) in tangox_irq_init()
197 err = irq_alloc_domain_generic_chips(dom, 32, 2, node->name, in tangox_irq_init()
202 tangox_irq_domain_init(dom); in tangox_irq_init()
204 irq_set_chained_handler_and_data(irq, tangox_irq_handler, dom); in tangox_irq_init()