Home
last modified time | relevance | path

Searched refs:hw_irq (Results 1 – 14 of 14) sorted by relevance

/drivers/irqchip/
Dirq-renesas-intc-irqpin.c55 int hw_irq; member
114 int reg, int hw_irq) in intc_irqpin_hwirq_mask() argument
116 return BIT((p->iomem[reg].width - 1) - hw_irq); in intc_irqpin_hwirq_mask()
120 int reg, int hw_irq) in intc_irqpin_irq_write_hwirq() argument
122 intc_irqpin_write(p, reg, intc_irqpin_hwirq_mask(p, reg, hw_irq)); in intc_irqpin_irq_write_hwirq()
175 str, i->requested_irq, i->hw_irq, i->domain_irq); in intc_irqpin_dbg()
181 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_enable() local
183 intc_irqpin_dbg(&p->irq[hw_irq], "enable"); in intc_irqpin_irq_enable()
184 intc_irqpin_irq_write_hwirq(p, INTC_IRQPIN_REG_CLEAR, hw_irq); in intc_irqpin_irq_enable()
190 int hw_irq = irqd_to_hwirq(d); in intc_irqpin_irq_disable() local
[all …]
Dirq-renesas-irqc.c40 int hw_irq; member
63 dev_dbg(i->p->dev, "%s (%d:%d)\n", str, i->requested_irq, i->hw_irq); in irqc_dbg()
77 int hw_irq = irqd_to_hwirq(d); in irqc_irq_set_type() local
81 irqc_dbg(&p->irq[hw_irq], "sense"); in irqc_irq_set_type()
86 tmp = ioread32(p->iomem + IRQC_CONFIG(hw_irq)); in irqc_irq_set_type()
89 iowrite32(tmp, p->iomem + IRQC_CONFIG(hw_irq)); in irqc_irq_set_type()
96 int hw_irq = irqd_to_hwirq(d); in irqc_irq_set_wake() local
98 irq_set_irq_wake(p->irq[hw_irq].requested_irq, on); in irqc_irq_set_wake()
111 u32 bit = BIT(i->hw_irq); in irqc_irq_handler()
118 generic_handle_irq(irq_find_mapping(p->irq_domain, i->hw_irq)); in irqc_irq_handler()
[all …]
Dirq-renesas-rza1.c71 unsigned int hw_irq = irqd_to_hwirq(d); in rza1_irqc_set_type() local
96 tmp &= ~ICR1_IRQS_MASK(hw_irq); in rza1_irqc_set_type()
97 tmp |= ICR1_IRQS(hw_irq, sense); in rza1_irqc_set_type()
Dirq-bcm7038-l1.c410 irq_hw_number_t hw_irq) in bcm7038_l1_map() argument
413 u32 mask = BIT(hw_irq % IRQS_PER_WORD); in bcm7038_l1_map()
414 u32 word = hw_irq / IRQS_PER_WORD; in bcm7038_l1_map()
Dirq-bcm6345-l1.c284 irq_hw_number_t hw_irq) in bcm6345_l1_map() argument
/drivers/misc/ocxl/
Dafu_irq.c11 int hw_irq; member
73 irq->virq = irq_create_mapping(NULL, irq->hw_irq); in setup_afu_irq()
78 pr_debug("hw_irq %d mapped to virq %u\n", irq->hw_irq, irq->virq); in setup_afu_irq()
127 rc = ocxl_link_irq_alloc(ctx->afu->fn->link, &irq->hw_irq); in ocxl_afu_irq_alloc()
135 trace_ocxl_afu_irq_alloc(ctx->pasid, irq->id, irq->virq, irq->hw_irq); in ocxl_afu_irq_alloc()
143 ocxl_link_free_irq(ctx->afu->fn->link, irq->hw_irq); in ocxl_afu_irq_alloc()
163 ocxl_link_free_irq(ctx->afu->fn->link, irq->hw_irq); in afu_irq_free()
Dtrace.h110 TP_PROTO(int pasid, int irq_id, unsigned int virq, int hw_irq),
111 TP_ARGS(pasid, irq_id, virq, hw_irq),
117 __field(int, hw_irq)
124 __entry->hw_irq = hw_irq;
131 __entry->hw_irq
Dlink.c686 int ocxl_link_irq_alloc(void *link_handle, int *hw_irq) in ocxl_link_irq_alloc() argument
700 *hw_irq = irq; in ocxl_link_irq_alloc()
705 void ocxl_link_free_irq(void *link_handle, int hw_irq) in ocxl_link_free_irq() argument
709 xive_native_free_irq(hw_irq); in ocxl_link_free_irq()
/drivers/pci/controller/
Dpci-xgene-msi.c295 int msir_index, msir_val, hw_irq; in xgene_msi_isr() local
325 hw_irq = (((msir_index * IRQS_PER_IDX) + intr_index) * in xgene_msi_isr()
332 hw_irq = hwirq_to_canonical_hwirq(hw_irq); in xgene_msi_isr()
333 virq = irq_find_mapping(xgene_msi->inner_domain, hw_irq); in xgene_msi_isr()
/drivers/gpio/
Dgpio-davinci.c354 irq_hw_number_t hw_irq; in gpio_irq_handler() local
370 hw_irq = (bank_num / 2) * 32 + bit; in gpio_irq_handler()
373 irq_find_mapping(d->irq_domain, hw_irq)); in gpio_irq_handler()
/drivers/acpi/arm64/
Diort.c1383 int i, hw_irq, trigger, num_res = 0; in arm_smmu_init_resources() local
1396 hw_irq = IORT_IRQ_MASK(glb_irq[0]); in arm_smmu_init_resources()
1399 acpi_iort_register_irq(hw_irq, "arm-smmu-global", trigger, in arm_smmu_init_resources()
1405 hw_irq = IORT_IRQ_MASK(ctx_irq[i]); in arm_smmu_init_resources()
1408 acpi_iort_register_irq(hw_irq, "arm-smmu-context", trigger, in arm_smmu_init_resources()
/drivers/net/ethernet/ibm/
Dibmvnic.c2873 4 * PAGE_SIZE, &scrq->crq_num, &scrq->hw_irq); in reset_one_sub_crq_queue()
2957 4 * PAGE_SIZE, &scrq->crq_num, &scrq->hw_irq); in init_sub_crq_queue()
2975 scrq->crq_num, scrq->hw_irq, scrq->irq); in init_sub_crq_queue()
3048 H_DISABLE_VIO_INTERRUPT, scrq->hw_irq, 0, 0); in disable_scrq_irq()
3051 scrq->hw_irq, rc); in disable_scrq_irq()
3061 if (scrq->hw_irq > 0x100000000ULL) { in enable_scrq_irq()
3062 dev_err(dev, "bad hw_irq = %lx\n", scrq->hw_irq); in enable_scrq_irq()
3068 u64 val = (0xff000000) | scrq->hw_irq; in enable_scrq_irq()
3080 H_ENABLE_VIO_INTERRUPT, scrq->hw_irq, 0, 0); in enable_scrq_irq()
3083 scrq->hw_irq, rc); in enable_scrq_irq()
[all …]
Dibmvnic.h864 unsigned long hw_irq; member
/drivers/pci/controller/dwc/
Dpci-keystone.c341 irq_hw_number_t hw_irq) in ks_pcie_init_legacy_irq_map() argument