Lines Matching refs:hwirq
67 static inline unsigned int get_mbigen_vec_reg(irq_hw_number_t hwirq)
71 hwirq -= RESERVED_IRQ_PER_MBIGEN_CHIP;
72 nid = hwirq / IRQS_PER_MBIGEN_NODE + 1;
73 pin = hwirq % IRQS_PER_MBIGEN_NODE;
79 static inline void get_mbigen_type_reg(irq_hw_number_t hwirq,
84 hwirq -= RESERVED_IRQ_PER_MBIGEN_CHIP;
85 nid = hwirq / IRQS_PER_MBIGEN_NODE + 1;
86 irq_ofst = hwirq % IRQS_PER_MBIGEN_NODE;
95 static inline void get_mbigen_clear_reg(irq_hw_number_t hwirq,
98 unsigned int ofst = (hwirq / 32) * 4;
100 *mask = 1 << (hwirq % 32);
109 get_mbigen_clear_reg(data->hwirq, &mask, &addr);
124 get_mbigen_type_reg(data->hwirq, &mask, &addr);
156 base += get_mbigen_vec_reg(d->hwirq);
170 unsigned long *hwirq,
181 *hwirq = fwspec->param[0];
201 irq_hw_number_t hwirq;
206 err = mbigen_domain_translate(domain, fwspec, &hwirq, &type);
217 irq_domain_set_hwirq_and_chip(domain, virq + i, hwirq + i,