/linux/drivers/irqchip/ |
A D | Makefile | 4 obj-$(CONFIG_AL_FIC) += irq-al-fic.o 6 obj-$(CONFIG_ATH79) += irq-ath79-cpu.o 18 obj-$(CONFIG_IRQ_MXS) += irq-mxs.o 22 obj-$(CONFIG_OMPIC) += irq-ompic.o 30 obj-$(CONFIG_ARM_GIC) += irq-gic.o irq-gic-common.o 34 obj-$(CONFIG_ARM_GIC_V3) += irq-gic-v3.o irq-gic-v3-mbi.o irq-gic-common.o 35 obj-$(CONFIG_ARM_GIC_V3_ITS) += irq-gic-v3-its.o irq-gic-v3-its-platform-msi.o irq-gic-v4.o 43 obj-$(CONFIG_ATMEL_AIC_IRQ) += irq-atmel-aic-common.o irq-atmel-aic.o 44 obj-$(CONFIG_ATMEL_AIC5_IRQ) += irq-atmel-aic-common.o irq-atmel-aic5.o 71 obj-$(CONFIG_ARCH_MEDIATEK) += irq-mtk-sysirq.o irq-mtk-cirq.o [all …]
|
A D | built-in.a | 5 irq-bcm2835.o/ 6 irq-bcm2836.o/ 7 irq-owl-sirq.o/ 8 irq-tegra.o/ 10 irq-sun4i.o/ 11 irq-sun6i-r.o/ 13 irq-gic.o/ 15 irq-gic-pm.o/ 16 irq-gic-v2m.o/ 17 irq-gic-v3.o/ [all …]
|
A D | .built-in.a.cmd | 1 …irq-alpine-msi.o drivers/irqchip/irq-bcm2835.o drivers/irqchip/irq-bcm2836.o drivers/irqchip/irq-o…
|
/linux/arch/arm64/kvm/vgic/ |
A D | vgic.c | 77 irq = NULL; in vgic_get_lpi() 82 return irq; in vgic_get_lpi() 134 kfree(irq); in __vgic_put_lpi_locked() 184 if (irq->ops && irq->ops->get_input_level) in vgic_get_phys_line_level() 185 return irq->ops->get_input_level(irq->intid); in vgic_get_phys_line_level() 220 return irq->vcpu ? : irq->target_vcpu; in vgic_target_oracle() 228 if (irq->enabled && irq_is_pending(irq)) { in vgic_target_oracle() 456 if (!irq) in kvm_vgic_inject_irq() 601 if (irq->owner && irq->owner != owner) in kvm_vgic_set_owner() 976 pending = irq_is_pending(irq) && irq->enabled && in kvm_vgic_vcpu_pending_irq() [all …]
|
A D | vgic-mmio.c | 66 WARN_ON(its_prop_update_vsgi(irq->host_irq, irq->priority, irq->group)); in vgic_update_vsgi() 81 if (irq->hw && vgic_irq_is_sgi(irq->intid)) { in vgic_mmio_write_group() 128 if (irq->hw && vgic_irq_is_sgi(irq->intid)) { in vgic_mmio_write_senable() 150 irq->line_level = vgic_get_phys_line_level(irq); in vgic_mmio_write_senable() 155 if (!irq->active && was_high && !irq->line_level) in vgic_mmio_write_senable() 177 if (irq->hw && vgic_irq_is_sgi(irq->intid) && irq->enabled) in vgic_mmio_write_cenable() 243 if (irq->hw && vgic_irq_is_sgi(irq->intid)) { in vgic_mmio_read_pending() 289 if (irq->hw && vgic_irq_is_sgi(irq->intid)) { in vgic_mmio_write_spending() 382 if (irq->hw && vgic_irq_is_sgi(irq->intid)) { in vgic_mmio_write_cpending() 532 if (irq->hw && !vgic_irq_is_sgi(irq->intid)) { in vgic_mmio_change_active() [all …]
|
A D | vgic-v4.c | 110 vpe->sgi_config[irq->intid].enabled = irq->enabled; in vgic_v4_sync_sgi_config() 111 vpe->sgi_config[irq->intid].group = irq->group; in vgic_v4_sync_sgi_config() 112 vpe->sgi_config[irq->intid].priority = irq->priority; in vgic_v4_sync_sgi_config() 133 if (irq->hw) in vgic_v4_enable_vsgis() 136 irq->hw = true; in vgic_v4_enable_vsgis() 170 if (!irq->hw) in vgic_v4_disable_vsgis() 173 irq->hw = false; in vgic_v4_disable_vsgis() 268 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init() local 320 int irq = its_vm->vpes[i]->irq; in vgic_v4_teardown() local 501 WARN_ON(!(irq->hw && irq->host_irq == virq)); in kvm_vgic_v4_unset_forwarding() [all …]
|
/linux/drivers/misc/ocxl/ |
A D | afu_irq.c | 39 if (!irq) { in ocxl_irq_set_handler() 64 return irq->handler(irq->private); in afu_irq_handler() 73 irq->virq = irq_create_mapping(NULL, irq->hw_irq); in setup_afu_irq() 86 rc = request_irq(irq->virq, afu_irq_handler, 0, irq->name, irq); in setup_afu_irq() 99 free_irq(irq->virq, irq); in release_afu_irq() 110 if (!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() 148 kfree(irq); in ocxl_afu_irq_alloc() 162 irq->free_private(irq->private); in afu_irq_free() 164 kfree(irq); in afu_irq_free() [all …]
|
/linux/drivers/acpi/ |
A D | pci_link.c | 269 link->irq.active = irq; in acpi_pci_link_get_current() 311 resource->res.data.irq.interrupts[0] = irq; in acpi_pci_link_set() 371 if (link->irq.active != irq) { in acpi_pci_link_set() 377 link->irq.active, irq); in acpi_pci_link_set() 378 link->irq.active = irq; in acpi_pci_link_set() 462 if (link->irq.active && link->irq.active == irq) in acpi_irq_pci_sharing_penalty() 469 if (link->irq.possible[i] == irq) in acpi_irq_pci_sharing_penalty() 562 irq = link->irq.active; in acpi_pci_link_allocate() 564 irq = link->irq.possible[link->irq.possible_count - 1]; in acpi_pci_link_allocate() 574 irq = link->irq.possible[i]; in acpi_pci_link_allocate() [all …]
|
/linux/arch/m68k/coldfire/ |
A D | intc-simr.c | 56 return irq - EINT0; in irq2ebit() 69 unsigned int irq = d->irq - MCFINT_VECBASE; in intc_irq_mask() local 81 unsigned int irq = d->irq - MCFINT_VECBASE; in intc_irq_unmask() local 100 unsigned int irq = d->irq; in intc_irq_startup() local 102 if ((irq >= EINT1) && (irq <= EINT7)) { in intc_irq_startup() 117 irq -= MCFINT_VECBASE; in intc_irq_startup() 131 unsigned int ebit, irq = d->irq; in intc_irq_set_type() local 153 ebit = irq2ebit(irq) * 2; in intc_irq_set_type() 179 int irq, eirq; in init_IRQ() local 190 for (irq = MCFINT_VECBASE; (irq < eirq); irq++) { in init_IRQ() [all …]
|
A D | intc-2.c | 52 unsigned int irq = d->irq - MCFINT_VECBASE; in intc_irq_mask() local 70 unsigned int irq = d->irq - MCFINT_VECBASE; in intc_irq_unmask() local 98 unsigned int irq = d->irq; in intc_irq_ack() local 114 unsigned int irq = d->irq - MCFINT_VECBASE; in intc_irq_startup() local 126 irq = d->irq; in intc_irq_startup() 127 if ((irq >= EINT1) && (irq <= EINT7)) { in intc_irq_startup() 147 unsigned int irq = d->irq; in intc_irq_set_type() local 171 pa = (pa & ~(0x3 << (irq * 2))) | (tb << (irq * 2)); in intc_irq_set_type() 195 int irq; in init_IRQ() local 203 for (irq = MCFINT_VECBASE; (irq < MCFINT_VECBASE + NR_VECS); irq++) { in init_IRQ() [all …]
|
A D | intc-5272.c | 83 unsigned int irq = d->irq; in intc_irq_mask() local 85 if ((irq >= MCFINT_VECBASE) && (irq <= MCFINT_VECMAX)) { in intc_irq_mask() 95 unsigned int irq = d->irq; in intc_irq_unmask() local 97 if ((irq >= MCFINT_VECBASE) && (irq <= MCFINT_VECMAX)) { in intc_irq_unmask() 107 unsigned int irq = d->irq; in intc_irq_ack() local 110 if ((irq >= MCFINT_VECBASE) && (irq <= MCFINT_VECMAX)) { in intc_irq_ack() 124 unsigned int irq = d->irq; in intc_irq_set_type() local 126 if ((irq >= MCFINT_VECBASE) && (irq <= MCFINT_VECMAX)) { in intc_irq_set_type() 163 int irq, edge; in init_IRQ() local 171 for (irq = 0; (irq < NR_IRQS); irq++) { in init_IRQ() [all …]
|
/linux/arch/ia64/kernel/ |
A D | iosapic.c | 179 int irq; in __gsi_to_irq() local 183 for (irq = 0; irq < NR_IRQS; irq++) { in __gsi_to_irq() 196 int irq; in gsi_to_irq() local 270 int irq; in kexec_disable_iosapic() local 272 for (irq = 0; irq < NR_IRQS; irq++) { in kexec_disable_iosapic() 289 unsigned int irq = data->irq; in mask_irq() local 308 unsigned int irq = data->irq; in unmask_irq() local 329 unsigned int irq = data->irq; in iosapic_set_affinity() local 392 unsigned int irq = data->irq; in iosapic_unmask_level_irq() local 952 int irq; in iosapic_system_init() local [all …]
|
A D | irq_ia64.c | 93 int irq; in find_unassigned_irq() local 95 for (irq = IA64_FIRST_DEVICE_VECTOR; irq < NR_IRQS; irq++) in find_unassigned_irq() 97 return irq; in find_unassigned_irq() 202 irq = vector; in ia64_native_assign_irq_vector() 239 for (irq = 0; irq < NR_IRQS; ++irq) { in __setup_vector_irq() 323 int irq; in smp_irq_move_cleanup_interrupt() local 327 if (irq < 0) in smp_irq_move_cleanup_interrupt() 400 if (irq < 0) in create_irq() 405 if (irq >= 0) in create_irq() 407 return irq; in create_irq() [all …]
|
A D | msi_ia64.c | 22 unsigned int irq = idata->irq; in ia64_set_msi_irq_affinity() local 50 int irq, vector; in arch_setup_msi_irq() local 52 irq = create_irq(); in arch_setup_msi_irq() 53 if (irq < 0) in arch_setup_msi_irq() 54 return irq; in arch_setup_msi_irq() 82 destroy_irq(irq); in arch_teardown_msi_irq() 119 unsigned int irq = data->irq; in dmar_msi_set_affinity() local 177 int irq; in dmar_alloc_hwirq() local 181 if (irq > 0) { in dmar_alloc_hwirq() 189 return irq; in dmar_alloc_hwirq() [all …]
|
/linux/drivers/xen/events/ |
A D | events_base.c | 319 info->irq = irq; in xen_irq_info_common_setup() 764 int irq; in xen_allocate_irq_gsi() local 839 irq_status.irq = pirq_from_irq(irq); in pirq_query_unmask() 928 unsigned int irq = data->irq; in shutdown_pirq() local 1020 int irq; in xen_bind_pirq_gsi_to_irq() local 1037 irq_op.irq = irq; in xen_bind_pirq_gsi_to_irq() 1175 int irq; in xen_irq_from_pirq() local 1184 irq = info->irq; in xen_irq_from_pirq() 1205 int irq; in bind_evtchn_to_irq_chip() local 1598 int irq; in evtchn_get() local [all …]
|
/linux/drivers/gpu/drm/i915/gvt/ |
A D | interrupt.c | 45 #define get_event_virt_handler(irq, e) (irq->events[e].v_handler) argument 46 #define get_irq_info(irq, e) (irq->events[e].info) argument 49 container_of(irq, struct intel_gvt, irq) 150 struct intel_gvt_irq *irq = &gvt->irq; in regbase_to_irq_info() local 325 struct intel_gvt_irq *irq = &vgpu->gvt->irq; in update_upstream_irq() local 470 struct intel_gvt_irq *irq = &vgpu->gvt->irq; in gen8_check_pending_irq() local 627 struct intel_gvt_irq *irq = &gvt->irq; in intel_vgpu_trigger_virtual_event() local 662 struct intel_gvt_irq *irq = &gvt->irq; in intel_gvt_init_irq() local 670 init_events(irq); in intel_gvt_init_irq() 673 irq->ops->init_irq(irq); in intel_gvt_init_irq() [all …]
|
/linux/arch/x86/include/asm/trace/ |
A D | irq_vectors.h | 141 __entry->irq = irq; 169 __entry->irq = irq; 196 TP_ARGS(irq, ret), 204 __entry->irq = irq; 234 __entry->irq = irq; 250 TP_ARGS(irq, vector, ret), 259 __entry->irq = irq; 283 __entry->irq = irq; 316 __entry->irq = irq; 338 __entry->irq = irq; [all …]
|
/linux/arch/m68k/include/asm/ |
A D | atariints.h | 119 mask = 1 << (irq & 7); in get_mfp_bit() 121 ((irq & 8) >> 2) + (((irq-8) & 16) << 3); in get_mfp_bit() 129 mask = 1 << (irq & 7); in set_mfp_bit() 131 ((irq & 8) >> 2) + (((irq-8) & 16) << 3); in set_mfp_bit() 142 ((irq & 8) >> 2) + (((irq-8) & 16) << 3); in clear_mfp_bit() 160 if (irq < STMFP_SOURCE_BASE || irq >= SCC_SOURCE_BASE) return; in atari_enable_irq() 167 if (irq < STMFP_SOURCE_BASE || irq >= SCC_SOURCE_BASE) return; in atari_disable_irq() 179 if (irq < STMFP_SOURCE_BASE || irq >= SCC_SOURCE_BASE) return; in atari_turnon_irq() 186 if (irq < STMFP_SOURCE_BASE || irq >= SCC_SOURCE_BASE) return; in atari_turnoff_irq() 194 if (irq < STMFP_SOURCE_BASE || irq >= SCC_SOURCE_BASE) return; in atari_clear_pending_irq() [all …]
|
/linux/include/linux/ |
A D | interrupt.h | 126 unsigned int irq; member 243 bool irq_has_action(unsigned int irq); 248 extern void enable_irq(unsigned int irq); 280 unsigned int irq; member 410 disable_irq_nosync(irq); in disable_irq_nosync_lockdep() 418 disable_irq_nosync(irq); in disable_irq_nosync_lockdep_irqsave() 426 disable_irq(irq); in disable_irq_lockdep() 437 enable_irq(irq); in enable_irq_lockdep() 445 enable_irq(irq); in enable_irq_lockdep_irqrestore() 453 return irq_set_irq_wake(irq, 1); in enable_irq_wake() [all …]
|
A D | irqnr.h | 12 # define for_each_irq_desc(irq, desc) \ argument 13 for (irq = 0, desc = irq_to_desc(irq); irq < nr_irqs; \ 14 irq++, desc = irq_to_desc(irq)) \ 20 # define for_each_irq_desc_reverse(irq, desc) \ argument 21 for (irq = nr_irqs - 1, desc = irq_to_desc(irq); irq >= 0; \ 22 irq--, desc = irq_to_desc(irq)) \ 27 # define for_each_active_irq(irq) \ argument 28 for (irq = irq_get_next_irq(0); irq < nr_irqs; \ 29 irq = irq_get_next_irq(irq + 1)) 31 #define for_each_irq_nr(irq) \ argument [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | pci_irq.c | 152 free_irq(irq->irqn, &irq->nh); in irq_release() 153 kfree(irq); in irq_release() 225 irq = kzalloc(sizeof(*irq), GFP_KERNEL); in irq_request() 226 if (!irq) in irq_request() 256 return irq; in irq_request() 260 free_irq(irq->irqn, &irq->nh); in irq_request() 262 kfree(irq); in irq_request() 319 irq_set_affinity_hint(irq->irqn, irq->mask); in irq_pool_create_irq() 339 if (!irq || iter->refcount < irq->refcount) in irq_pool_find_least_loaded() 391 if (irq) { in irq_pool_request_vector() [all …]
|
/linux/drivers/parisc/ |
A D | gsc.c | 36 if (irq < 0) { in gsc_alloc_irq() 38 return irq; in gsc_alloc_irq() 43 i->irq = irq; in gsc_alloc_irq() 45 return irq; in gsc_alloc_irq() 50 int c = irq; in gsc_claim_irq() 54 irq = txn_claim_irq(irq); in gsc_claim_irq() 55 if (irq < 0) { in gsc_claim_irq() 57 return irq; in gsc_claim_irq() 62 i->irq = irq; in gsc_claim_irq() 64 return irq; in gsc_claim_irq() [all …]
|
/linux/arch/arm/mach-rpc/ |
A D | irq.c | 75 unsigned int irq, clr, set; in rpc_init_irq() local 85 for (irq = 0; irq < NR_IRQS; irq++) { in rpc_init_irq() 89 if (irq <= 6 || (irq >= 9 && irq <= 15)) in rpc_init_irq() 92 if (irq == 21 || (irq >= 16 && irq <= 19) || in rpc_init_irq() 93 irq == IRQ_KEYBOARDTX) in rpc_init_irq() 96 switch (irq) { in rpc_init_irq() 100 irq_modify_status(irq, clr, set); in rpc_init_irq() 102 BIT(irq)); in rpc_init_irq() 110 BIT(irq - 8)); in rpc_init_irq() 118 BIT(irq - 16)); in rpc_init_irq() [all …]
|
/linux/arch/m68k/q40/ |
A D | q40ints.c | 46 unsigned int irq = data->irq; in q40_irq_startup() local 49 switch (irq) { in q40_irq_startup() 53 irq); in q40_irq_startup() 223 switch (irq) { in q40_irq_handler() 237 irq = eirqs[i].irq; in q40_irq_handler() 244 if (irq > 4 && irq <= 15 && mext_disabled) { in q40_irq_handler() 274 if (irq > 4) { in q40_irq_handler() 304 unsigned int irq = data->irq; in q40_irq_enable() local 306 if (irq >= 5 && irq <= 15) { in q40_irq_enable() 318 unsigned int irq = data->irq; in q40_irq_disable() local [all …]
|
/linux/drivers/gpu/drm/radeon/ |
A D | radeon_irq_kms.c | 133 rdev->irq.hpd[i] = false; in radeon_driver_irq_preinstall_kms() 137 rdev->irq.afmt[i] = false; in radeon_driver_irq_preinstall_kms() 187 rdev->irq.hpd[i] = false; in radeon_driver_irq_uninstall_kms() 224 free_irq(pdev->irq, dev); in radeon_irq_uninstall() 390 if (!rdev->irq.installed) in radeon_irq_kms_sw_irq_get() 429 if (!rdev->irq.installed) in radeon_irq_kms_sw_irq_put() 455 if (!rdev->irq.installed) in radeon_irq_kms_pflip_irq_get() 481 if (!rdev->irq.installed) in radeon_irq_kms_pflip_irq_put() 503 if (!rdev->irq.installed) in radeon_irq_kms_enable_afmt() 525 if (!rdev->irq.installed) in radeon_irq_kms_disable_afmt() [all …]
|