Lines Matching refs:handle
16 void _intc_enable(struct irq_data *data, unsigned long handle) in _intc_enable() argument
23 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_E(handle)); cpu++) { in _intc_enable()
28 addr = INTC_REG(d, _INTC_ADDR_E(handle), cpu); in _intc_enable()
29 intc_enable_fns[_INTC_MODE(handle)](addr, handle, intc_reg_fns\ in _intc_enable()
30 [_INTC_FN(handle)], irq); in _intc_enable()
45 unsigned long handle = (unsigned long)irq_data_get_irq_chip_data(data); in intc_disable() local
51 for (cpu = 0; cpu < SMP_NR(d, _INTC_ADDR_D(handle)); cpu++) { in intc_disable()
56 addr = INTC_REG(d, _INTC_ADDR_D(handle), cpu); in intc_disable()
57 intc_disable_fns[_INTC_MODE(handle)](addr, handle,intc_reg_fns\ in intc_disable()
58 [_INTC_FN(handle)], irq); in intc_disable()
85 unsigned long handle = intc_get_ack_handle(irq); in intc_mask_ack() local
91 if (handle) { in intc_mask_ack()
94 addr = (void __iomem *)INTC_REG(d, _INTC_ADDR_D(handle), 0); in intc_mask_ack()
95 value = intc_set_field_from_handle(0, 1, handle); in intc_mask_ack()
97 switch (_INTC_FN(handle)) { in intc_mask_ack()
124 key.handle = 0; in intc_find_irq()
140 if (prio >= (1 << _INTC_WIDTH(ihp->handle))) in intc_set_priority()
150 if (_INTC_FN(ihp->handle) != REG_FN_ERR) in intc_set_priority()
151 _intc_enable(data, ihp->handle); in intc_set_priority()
190 if (value >= (1 << _INTC_WIDTH(ihp->handle))) in intc_set_type()
193 addr = INTC_REG(d, _INTC_ADDR_E(ihp->handle), 0); in intc_set_type()
194 intc_reg_fns[_INTC_FN(ihp->handle)](addr, ihp->handle, value); in intc_set_type()