/linux-6.6.21/kernel/irq/ |
D | manage.c | 98 bool synchronize_hardirq(unsigned int irq) in synchronize_hardirq() 136 void synchronize_irq(unsigned int irq) in synchronize_irq() 161 int irq_can_set_affinity(unsigned int irq) in irq_can_set_affinity() 173 bool irq_can_set_affinity_usr(unsigned int irq) in irq_can_set_affinity_usr() 400 int irq_update_affinity_desc(unsigned int irq, in irq_update_affinity_desc() 455 static int __irq_set_affinity(unsigned int irq, const struct cpumask *mask, in __irq_set_affinity() 478 int irq_set_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_set_affinity() 495 int irq_force_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_force_affinity() 501 int __irq_apply_affinity_hint(unsigned int irq, const struct cpumask *m, in __irq_apply_affinity_hint() 554 irq_set_affinity_notifier(unsigned int irq, struct irq_affinity_notify *notify) in irq_set_affinity_notifier() [all …]
|
D | irqdesc.c | 102 static void desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node, in desc_set_defaults() 156 static void irq_insert_desc(unsigned int irq, struct irq_desc *desc) in irq_insert_desc() 162 static void delete_irq_desc(unsigned int irq) in delete_irq_desc() 318 static void irq_sysfs_add(int irq, struct irq_desc *desc) in irq_sysfs_add() 348 int irq; in irq_sysfs_init() local 374 static void irq_sysfs_add(int irq, struct irq_desc *desc) {} in irq_sysfs_add() 379 struct irq_desc *irq_to_desc(unsigned int irq) in irq_to_desc() 412 static struct irq_desc *alloc_desc(int irq, int node, unsigned int flags, in alloc_desc() 465 static void free_desc(unsigned int irq) in free_desc() 608 struct irq_desc *irq_to_desc(unsigned int irq) in irq_to_desc() [all …]
|
/linux-6.6.21/arch/arm64/kvm/vgic/ |
D | vgic.c | 63 struct vgic_irq *irq = NULL; in vgic_get_lpi() local 126 void __vgic_put_lpi_locked(struct kvm *kvm, struct vgic_irq *irq) in __vgic_put_lpi_locked() 139 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq) in vgic_put_irq() 155 struct vgic_irq *irq, *tmp; in vgic_flush_pending_lpis() local 173 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending) in vgic_irq_set_phys_pending() 180 bool vgic_get_phys_line_level(struct vgic_irq *irq) in vgic_get_phys_line_level() 196 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active) in vgic_irq_set_phys_active() 216 static struct kvm_vcpu *vgic_target_oracle(struct vgic_irq *irq) in vgic_target_oracle() 313 static bool vgic_validate_injection(struct vgic_irq *irq, bool level, void *owner) in vgic_validate_injection() 336 bool vgic_queue_irq_unlock(struct kvm *kvm, struct vgic_irq *irq, in vgic_queue_irq_unlock() [all …]
|
D | vgic-v4.c | 84 static irqreturn_t vgic_v4_doorbell_handler(int irq, void *info) in vgic_v4_doorbell_handler() 108 static void vgic_v4_sync_sgi_config(struct its_vpe *vpe, struct vgic_irq *irq) in vgic_v4_sync_sgi_config() 126 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, i); in vgic_v4_enable_vsgis() local 163 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, i); in vgic_v4_disable_vsgis() local 213 void vgic_v4_get_vlpi_state(struct vgic_irq *irq, bool *val) in vgic_v4_get_vlpi_state() 226 int vgic_v4_request_vpe_irq(struct kvm_vcpu *vcpu, int irq) in vgic_v4_request_vpe_irq() 276 int irq = dist->its_vm.vpes[i]->irq; in vgic_v4_init() local 327 int irq = its_vm->vpes[i]->irq; in vgic_v4_teardown() local 415 struct vgic_irq *irq; in kvm_vgic_v4_set_forwarding() local 490 struct vgic_irq *irq; in kvm_vgic_v4_unset_forwarding() local
|
D | vgic-mmio.c | 53 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_group() local 64 static void vgic_update_vsgi(struct vgic_irq *irq) in vgic_update_vsgi() 77 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_group() local 105 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_read_enable() local 125 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_senable() local 174 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_mmio_write_cenable() local 196 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_uaccess_write_senable() local 217 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in vgic_uaccess_write_cenable() local 239 struct vgic_irq *irq = vgic_get_irq(vcpu->kvm, vcpu, intid + i); in __read_pending() local 298 static bool is_vgic_v2_sgi(struct kvm_vcpu *vcpu, struct vgic_irq *irq) in is_vgic_v2_sgi() [all …]
|
/linux-6.6.21/arch/ia64/kernel/ |
D | irq_ia64.c | 93 int irq; in find_unassigned_irq() local 120 static int __bind_irq_vector(int irq, int vector, cpumask_t domain) in __bind_irq_vector() 145 int bind_irq_vector(int irq, int vector, cpumask_t domain) in bind_irq_vector() 156 static void __clear_irq_vector(int irq) in __clear_irq_vector() 174 static void clear_irq_vector(int irq) in clear_irq_vector() 184 ia64_native_assign_irq_vector (int irq) in ia64_native_assign_irq_vector() 233 int irq, vector; in __setup_vector_irq() local 261 static int __irq_prepare_move(int irq, int cpu) in __irq_prepare_move() 285 int irq_prepare_move(int irq, int cpu) in irq_prepare_move() 296 void irq_complete_move(unsigned irq) in irq_complete_move() [all …]
|
D | iosapic.c | 179 int irq; in __gsi_to_irq() local 196 int irq; in gsi_to_irq() local 204 static struct iosapic_rte_info *find_rte(unsigned int irq, unsigned int gsi) in find_rte() 215 set_rte (unsigned int gsi, unsigned int irq, unsigned int dest, int mask) in set_rte() 270 int irq; in kexec_disable_iosapic() local 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 485 int i, irq = -ENOSPC, min_count = -1; in iosapic_find_sharable_irq() local [all …]
|
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 80 void arch_teardown_msi_irq(unsigned int irq) in arch_teardown_msi_irq() 119 unsigned int irq = data->irq; in dmar_msi_set_affinity() local 153 msi_compose_msg(struct pci_dev *pdev, unsigned int irq, struct msi_msg *msg) in msi_compose_msg() 177 int irq; in dmar_alloc_hwirq() local 192 void dmar_free_hwirq(int irq) in dmar_free_hwirq()
|
/linux-6.6.21/drivers/mfd/ |
D | pcf50633-irq.c | 20 int pcf50633_register_irq(struct pcf50633 *pcf, int irq, in pcf50633_register_irq() argument 38 int pcf50633_free_irq(struct pcf50633 *pcf, int irq) in pcf50633_free_irq() 51 static int __pcf50633_irq_mask_set(struct pcf50633 *pcf, int irq, u8 mask) in __pcf50633_irq_mask_set() 74 int pcf50633_irq_mask(struct pcf50633 *pcf, int irq) in pcf50633_irq_mask() 82 int pcf50633_irq_unmask(struct pcf50633 *pcf, int irq) in pcf50633_irq_unmask() 90 int pcf50633_irq_mask_get(struct pcf50633 *pcf, int irq) in pcf50633_irq_mask_get() 101 static void pcf50633_irq_call_handler(struct pcf50633 *pcf, int irq) in pcf50633_irq_call_handler() 110 static irqreturn_t pcf50633_irq(int irq, void *data) in pcf50633_irq() 281 int pcf50633_irq_init(struct pcf50633 *pcf, int irq) in pcf50633_irq_init()
|
D | da9052-irq.c | 176 static int da9052_map_irq(struct da9052 *da9052, int irq) in da9052_map_irq() 181 int da9052_enable_irq(struct da9052 *da9052, int irq) in da9052_enable_irq() 193 int da9052_disable_irq(struct da9052 *da9052, int irq) in da9052_disable_irq() 205 int da9052_disable_irq_nosync(struct da9052 *da9052, int irq) in da9052_disable_irq_nosync() 217 int da9052_request_irq(struct da9052 *da9052, int irq, char *name, in da9052_request_irq() 230 void da9052_free_irq(struct da9052 *da9052, int irq, void *data) in da9052_free_irq() 240 static irqreturn_t da9052_auxadc_irq(int irq, void *irq_data) in da9052_auxadc_irq()
|
D | arizona-irq.c | 29 static int arizona_map_irq(struct arizona *arizona, int irq) in arizona_map_irq() 42 int arizona_request_irq(struct arizona *arizona, int irq, char *name, in arizona_request_irq() 54 void arizona_free_irq(struct arizona *arizona, int irq, void *data) in arizona_free_irq() 64 int arizona_set_irq_wake(struct arizona *arizona, int irq, int on) in arizona_set_irq_wake() 74 static irqreturn_t arizona_boot_done(int irq, void *data) in arizona_boot_done() 83 static irqreturn_t arizona_ctrlif_err(int irq, void *data) in arizona_ctrlif_err() 96 static irqreturn_t arizona_irq_thread(int irq, void *data) in arizona_irq_thread() 210 const struct regmap_irq_chip *aod, *irq; in arizona_irq_init() local
|
/linux-6.6.21/arch/arm/plat-orion/ |
D | common.c | 68 unsigned int irq) in fill_resources_irq() 93 unsigned int irq, in uart_complete() 127 unsigned int irq, in orion_uart0_init() 155 unsigned int irq, in orion_uart1_init() 183 unsigned int irq, in orion_uart2_init() 211 unsigned int irq, in orion_uart3_init() 224 unsigned long irq) in orion_rtc_init() 241 struct resource *orion_ge_resource, unsigned long irq, in ge_complete() 309 unsigned long irq, in orion_ge00_init() 362 unsigned long irq, in orion_ge01_init() [all …]
|
/linux-6.6.21/include/linux/ |
D | interrupt.h | 126 unsigned int irq; member 165 request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, in request_irq() 185 request_percpu_irq(unsigned int irq, irq_handler_t handler, in request_percpu_irq() 211 devm_request_irq(struct device *dev, unsigned int irq, irq_handler_t handler, in devm_request_irq() 262 unsigned int irq; member 325 irq_update_affinity_hint(unsigned int irq, const struct cpumask *m) in irq_update_affinity_hint() 340 irq_set_affinity_and_hint(unsigned int irq, const struct cpumask *m) in irq_set_affinity_and_hint() 349 static inline int irq_set_affinity_hint(unsigned int irq, const struct cpumask *m) in irq_set_affinity_hint() 368 static inline int irq_set_affinity(unsigned int irq, const struct cpumask *m) in irq_set_affinity() 373 static inline int irq_force_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_force_affinity() [all …]
|
/linux-6.6.21/drivers/misc/ocxl/ |
D | afu_irq.c | 35 struct afu_irq *irq; in ocxl_irq_set_handler() local 60 struct afu_irq *irq = (struct afu_irq *) data; in afu_irq_handler() local 70 static int setup_afu_irq(struct ocxl_context *ctx, struct afu_irq *irq) in setup_afu_irq() 98 static void release_afu_irq(struct afu_irq *irq) in release_afu_irq() 107 struct afu_irq *irq; in ocxl_afu_irq_alloc() local 154 static void afu_irq_free(struct afu_irq *irq, struct ocxl_context *ctx) in afu_irq_free() 170 struct afu_irq *irq; in ocxl_afu_irq_free() local 188 struct afu_irq *irq; in ocxl_afu_irq_free_all() local 200 struct afu_irq *irq; in ocxl_afu_irq_get_addr() local
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/ |
D | pci_irq.c | 152 static void mlx5_system_free_irq(struct mlx5_irq *irq) in mlx5_system_free_irq() 175 static void irq_release(struct mlx5_irq *irq) in irq_release() 185 int mlx5_irq_put(struct mlx5_irq *irq) in mlx5_irq_put() 200 int mlx5_irq_read_locked(struct mlx5_irq *irq) in mlx5_irq_read_locked() 206 int mlx5_irq_get_locked(struct mlx5_irq *irq) in mlx5_irq_get_locked() 215 static int irq_get(struct mlx5_irq *irq) in irq_get() 225 static irqreturn_t irq_int_handler(int irq, void *nh) in irq_int_handler() 258 struct mlx5_irq *irq; in mlx5_irq_alloc() local 338 int mlx5_irq_attach_nb(struct mlx5_irq *irq, struct notifier_block *nb) in mlx5_irq_attach_nb() 354 int mlx5_irq_detach_nb(struct mlx5_irq *irq, struct notifier_block *nb) in mlx5_irq_detach_nb() [all …]
|
/linux-6.6.21/arch/m68k/coldfire/ |
D | intc-simr.c | 38 static inline unsigned int irq2ebit(unsigned int irq) in irq2ebit() 54 static inline unsigned int irq2ebit(unsigned int irq) 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 131 unsigned int ebit, irq = d->irq; in intc_irq_set_type() local 179 int irq, eirq; in init_IRQ() local
|
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 147 unsigned int irq = d->irq; in intc_irq_set_type() local 195 int irq; in init_IRQ() local
|
/linux-6.6.21/arch/x86/kvm/ |
D | irq_comm.c | 48 struct kvm_lapic_irq *irq, struct dest_map *dest_map) in kvm_irq_delivery_to_apic() 105 struct kvm_lapic_irq *irq) in kvm_set_msi_irq() 134 struct kvm_lapic_irq irq; in kvm_set_msi() local 162 struct kvm_lapic_irq irq; in kvm_arch_set_irq_inatomic() local 238 void kvm_register_irq_mask_notifier(struct kvm *kvm, int irq, in kvm_register_irq_mask_notifier() 247 void kvm_unregister_irq_mask_notifier(struct kvm *kvm, int irq, in kvm_unregister_irq_mask_notifier() 333 bool kvm_intr_is_single_vcpu(struct kvm *kvm, struct kvm_lapic_irq *irq, in kvm_intr_is_single_vcpu() 361 #define IOAPIC_ROUTING_ENTRY(irq) \ argument 364 #define ROUTING_ENTRY1(irq) IOAPIC_ROUTING_ENTRY(irq) argument 366 #define PIC_ROUTING_ENTRY(irq) \ argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/i915/gvt/ |
D | interrupt.c | 48 #define get_event_virt_handler(irq, e) (irq->events[e].v_handler) argument 49 #define get_irq_info(irq, e) (irq->events[e].info) argument 51 #define irq_to_gvt(irq) \ argument 153 struct intel_gvt_irq *irq = &gvt->irq; in regbase_to_irq_info() local 328 struct intel_gvt_irq *irq = &vgpu->gvt->irq; in update_upstream_irq() local 381 static void init_irq_map(struct intel_gvt_irq *irq) in init_irq_map() 443 static void propagate_event(struct intel_gvt_irq *irq, in propagate_event() 466 static void handle_default_event_virt(struct intel_gvt_irq *irq, in handle_default_event_virt() 509 struct intel_gvt_irq *irq = &vgpu->gvt->irq; in gen8_check_pending_irq() local 535 struct intel_gvt_irq *irq) in gen8_init_irq() [all …]
|
/linux-6.6.21/arch/powerpc/platforms/44x/ |
D | fsp2.c | 79 static irqreturn_t bus_err_handler(int irq, void *data) in bus_err_handler() 131 static irqreturn_t cmu_err_handler(int irq, void *data) { in cmu_err_handler() 137 static irqreturn_t conf_err_handler(int irq, void *data) { in conf_err_handler() 145 static irqreturn_t opbd_err_handler(int irq, void *data) { in opbd_err_handler() 149 static irqreturn_t mcue_handler(int irq, void *data) { in mcue_handler() 190 static irqreturn_t rst_wrn_handler(int irq, void *data) { in rst_wrn_handler() 203 unsigned int irq; in node_irq_request() local
|
/linux-6.6.21/arch/m68k/mac/ |
D | macints.c | 142 static irqreturn_t mac_nmi_handler(int irq, void *dev_id) in mac_nmi_handler() 190 int irq = data->irq; in mac_irq_enable() local 220 int irq = data->irq; in mac_irq_disable() local 250 int irq = data->irq; in mac_irq_startup() local 262 int irq = data->irq; in mac_irq_shutdown() local
|
/linux-6.6.21/drivers/xen/events/ |
D | events_base.c | 110 unsigned irq; member 216 static int set_evtchn_to_irq(evtchn_port_t evtchn, unsigned int irq) in set_evtchn_to_irq() 252 static struct irq_info *info_for_irq(unsigned irq) in info_for_irq() 260 static void set_info_for_irq(unsigned int irq, struct irq_info *info) in set_info_for_irq() 270 int irq; in evtchn_to_info() local 307 static void xen_irq_free_desc(unsigned int irq) in xen_irq_free_desc() 318 unsigned int irq = info->irq; in delayed_free_irq() local 411 static evtchn_port_t evtchn_from_irq(unsigned int irq) in evtchn_from_irq() 434 int irq = per_cpu(virq_to_irq, cpu)[virq]; in irq_evtchn_from_virq() local 457 static unsigned pirq_from_irq(unsigned irq) in pirq_from_irq() [all …]
|
/linux-6.6.21/arch/x86/xen/ |
D | spinlock.c | 25 int irq = per_cpu(lock_kicker_irq, cpu); in xen_qlock_kick() local 39 int irq = __this_cpu_read(lock_kicker_irq); in xen_qlock_wait() local 60 static irqreturn_t dummy_handler(int irq, void *dev_id) in dummy_handler() 68 int irq; in xen_init_lock_cpu() local 96 int irq; in xen_uninit_lock_cpu() local
|
/linux-6.6.21/arch/m68k/sun3/ |
D | sun3ints.c | 41 void sun3_enable_irq(unsigned int irq) in sun3_enable_irq() 46 void sun3_disable_irq(unsigned int irq) in sun3_disable_irq() 51 static irqreturn_t sun3_int7(int irq, void *dev_id) in sun3_int7() 61 static irqreturn_t sun3_int5(int irq, void *dev_id) in sun3_int5() 83 static irqreturn_t sun3_vec255(int irq, void *dev_id) in sun3_vec255()
|
/linux-6.6.21/arch/mips/ar7/ |
D | irq.c | 19 #define REG_OFFSET(irq, reg) ((irq) / 32 * 0x4 + reg * 0x10) argument 22 #define CR_OFFSET(irq) (REG_OFFSET(irq, 1)) /* 0x10 */ argument 24 #define ESR_OFFSET(irq) (REG_OFFSET(irq, 2)) /* 0x20 */ argument 26 #define ECR_OFFSET(irq) (REG_OFFSET(irq, 3)) /* 0x30 */ argument 30 #define PM_OFFSET(irq) (REG_OFFSET(irq, 5)) /* 0x50 */ argument 31 #define TM_OFFSET(irq) (REG_OFFSET(irq, 6)) /* 0x60 */ argument 133 int i, irq; in ar7_cascade() local
|