Lines Matching full:hwirq
30 #define HWIRQ_TO_DEVID(hwirq) (((hwirq) >> (TI_SCI_DEV_ID_SHIFT)) & \ argument
32 #define HWIRQ_TO_IRQID(hwirq) ((hwirq) & (TI_SCI_IRQ_ID_MASK)) argument
47 * hwirq and vint bit.
49 * @hwirq: Hwirq of the incoming interrupt
54 u32 hwirq; member
118 static u16 ti_sci_inta_get_dev_id(struct ti_sci_inta_irq_domain *inta, u32 hwirq) in ti_sci_inta_get_dev_id() argument
120 u16 dev_id = HWIRQ_TO_DEVID(hwirq); in ti_sci_inta_get_dev_id()
163 generic_handle_domain_irq(domain, vint_desc->events[bit].hwirq); in ti_sci_inta_irq_handler()
169 * ti_sci_inta_xlate_irq() - Translate hwirq to parent's hwirq.
275 * @hwirq: hwirq of the input event
281 u32 hwirq) in ti_sci_inta_alloc_event() argument
288 dev_id = ti_sci_inta_get_dev_id(inta, hwirq); in ti_sci_inta_alloc_event()
289 dev_index = HWIRQ_TO_IRQID(hwirq); in ti_sci_inta_alloc_event()
292 event_desc->hwirq = hwirq; in ti_sci_inta_alloc_event()
316 * @hwirq: hwirq of the input event
321 * - Attach the free bit to input hwirq.
325 u32 hwirq) in ti_sci_inta_alloc_irq() argument
354 event_desc = ti_sci_inta_alloc_event(vint_desc, free_bit, hwirq); in ti_sci_inta_alloc_irq()
382 * @hwirq: Hwirq number within INTA domain that needs to be freed
385 u32 hwirq) in ti_sci_inta_free_irq() argument
393 dev_id = ti_sci_inta_get_dev_id(inta, hwirq); in ti_sci_inta_free_irq()
397 dev_id, HWIRQ_TO_IRQID(hwirq), in ti_sci_inta_free_irq()
406 event_desc->hwirq = 0; in ti_sci_inta_free_irq()
417 * hwirq. This allocation involves creating a parent irq for vint.
427 event_desc = ti_sci_inta_alloc_irq(data->domain, data->hwirq); in ti_sci_inta_request_resources()
448 ti_sci_inta_free_irq(event_desc, data->hwirq); in ti_sci_inta_release_resources()
576 irq_domain_set_info(domain, virq, arg->hwirq, &ti_sci_inta_irq_chip, in ti_sci_inta_irq_domain_alloc()
598 arg->hwirq = TO_HWIRQ(pdev->id, desc->msi_index); in ti_sci_inta_msi_set_desc()