/linux/kernel/irq/ |
H A 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() 401 int irq_update_affinity_desc(unsigned int irq, in irq_update_affinity_desc() 456 static int __irq_set_affinity(unsigned int irq, const struct cpumask *mask, in __irq_set_affinity() 479 int irq_set_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_set_affinity() 496 int irq_force_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_force_affinity() 502 int __irq_apply_affinity_hint(unsigned int irq, const struct cpumask *m, in __irq_apply_affinity_hint() 555 irq_set_affinity_notifier(unsigned int irq, struct irq_affinity_notify *notify) in irq_set_affinity_notifier() [all …]
|
H A D | irqdesc.c | 115 static void desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node, in desc_set_defaults() 194 static void irq_insert_desc(unsigned int irq, struct irq_desc *desc) in irq_insert_desc() 200 static void delete_irq_desc(unsigned int irq) in delete_irq_desc() 210 static int init_desc(struct irq_desc *desc, int irq, int node, in init_desc() 388 static void irq_sysfs_add(int irq, struct irq_desc *desc) in irq_sysfs_add() 418 int irq; in irq_sysfs_init() local 444 static void irq_sysfs_add(int irq, struct irq_desc *desc) {} in irq_sysfs_add() 449 struct irq_desc *irq_to_desc(unsigned int irq) in irq_to_desc() 467 static struct irq_desc *alloc_desc(int irq, int node, unsigned int flags, in alloc_desc() 503 static void free_desc(unsigned int irq) in free_desc() [all …]
|
/linux/arch/arm64/kvm/vgic/ |
H A D | vgic.c | 69 struct vgic_irq *irq = NULL; in vgic_get_lpi() local 126 void vgic_put_irq(struct kvm *kvm, struct vgic_irq *irq) in vgic_put_irq() 147 struct vgic_irq *irq, *tmp; in vgic_flush_pending_lpis() local 165 void vgic_irq_set_phys_pending(struct vgic_irq *irq, bool pending) in vgic_irq_set_phys_pending() 172 bool vgic_get_phys_line_level(struct vgic_irq *irq) in vgic_get_phys_line_level() 188 void vgic_irq_set_phys_active(struct vgic_irq *irq, bool active) in vgic_irq_set_phys_active() 208 static struct kvm_vcpu *vgic_target_oracle(struct vgic_irq *irq) in vgic_target_oracle() 305 static bool vgic_validate_injection(struct vgic_irq *irq, bool level, void *owner) in vgic_validate_injection() 328 bool vgic_queue_irq_unlock(struct kvm *kvm, struct vgic_irq *irq, in vgic_queue_irq_unlock() 435 struct vgic_irq *irq; in kvm_vgic_inject_irq() local [all …]
|
H A 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_vcpu_irq(vcpu, i); in vgic_v4_enable_vsgis() local 163 struct vgic_irq *irq = vgic_get_vcpu_irq(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 494 struct vgic_irq *irq; in kvm_vgic_v4_unset_forwarding() local
|
H A D | vgic-mmio.c | 53 struct vgic_irq *irq = vgic_get_vcpu_irq(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_vcpu_irq(vcpu, intid + i); in vgic_mmio_write_group() local 105 struct vgic_irq *irq = vgic_get_vcpu_irq(vcpu, intid + i); in vgic_mmio_read_enable() local 125 struct vgic_irq *irq = vgic_get_vcpu_irq(vcpu, intid + i); in vgic_mmio_write_senable() local 174 struct vgic_irq *irq = vgic_get_vcpu_irq(vcpu, intid + i); in vgic_mmio_write_cenable() local 196 struct vgic_irq *irq = vgic_get_vcpu_irq(vcpu, intid + i); in vgic_uaccess_write_senable() local 217 struct vgic_irq *irq = vgic_get_vcpu_irq(vcpu, intid + i); in vgic_uaccess_write_cenable() local 239 struct vgic_irq *irq = vgic_get_vcpu_irq(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/arch/arm/plat-orion/ |
H A 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/drivers/mfd/ |
H A 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()
|
H A 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()
|
H A 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/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | pci_irq.c | 154 static void mlx5_system_free_irq(struct mlx5_irq *irq) in mlx5_system_free_irq() 177 static void irq_release(struct mlx5_irq *irq) in irq_release() 187 int mlx5_irq_put(struct mlx5_irq *irq) in mlx5_irq_put() 202 int mlx5_irq_read_locked(struct mlx5_irq *irq) in mlx5_irq_read_locked() 208 int mlx5_irq_get_locked(struct mlx5_irq *irq) in mlx5_irq_get_locked() 217 static int irq_get(struct mlx5_irq *irq) in irq_get() 227 static irqreturn_t irq_int_handler(int irq, void *nh) in irq_int_handler() 261 struct mlx5_irq *irq; in mlx5_irq_alloc() local 341 int mlx5_irq_attach_nb(struct mlx5_irq *irq, struct notifier_block *nb) in mlx5_irq_attach_nb() 357 int mlx5_irq_detach_nb(struct mlx5_irq *irq, struct notifier_block *nb) in mlx5_irq_detach_nb() [all …]
|
/linux/drivers/misc/ocxl/ |
H A D | afu_irq.c | 35 struct afu_irq *irq; in ocxl_irq_set_handler() local 60 struct afu_irq *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/include/linux/ |
H A D | interrupt.h | 130 unsigned int irq; member 169 request_irq(unsigned int irq, irq_handler_t handler, unsigned long flags, in request_irq() 189 request_percpu_irq(unsigned int irq, irq_handler_t handler, in request_percpu_irq() 215 devm_request_irq(struct device *dev, unsigned int irq, irq_handler_t handler, in devm_request_irq() 269 unsigned int irq; member 332 irq_update_affinity_hint(unsigned int irq, const struct cpumask *m) in irq_update_affinity_hint() 347 irq_set_affinity_and_hint(unsigned int irq, const struct cpumask *m) in irq_set_affinity_and_hint() 356 static inline int irq_set_affinity_hint(unsigned int irq, const struct cpumask *m) in irq_set_affinity_hint() 375 static inline int irq_set_affinity(unsigned int irq, const struct cpumask *m) in irq_set_affinity() 380 static inline int irq_force_affinity(unsigned int irq, const struct cpumask *cpumask) in irq_force_affinity() [all …]
|
/linux/arch/m68k/coldfire/ |
H A 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
|
H 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 147 unsigned int irq = d->irq; in intc_irq_set_type() local 195 int irq; in init_IRQ() local
|
/linux/arch/x86/kvm/ |
H A 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 163 struct kvm_lapic_irq irq; in kvm_arch_set_irq_inatomic() local 241 void kvm_register_irq_mask_notifier(struct kvm *kvm, int irq, in kvm_register_irq_mask_notifier() 250 void kvm_unregister_irq_mask_notifier(struct kvm *kvm, int irq, in kvm_unregister_irq_mask_notifier() 338 bool kvm_intr_is_single_vcpu(struct kvm *kvm, struct kvm_lapic_irq *irq, in kvm_intr_is_single_vcpu() 366 #define IOAPIC_ROUTING_ENTRY(irq) \ argument 369 #define ROUTING_ENTRY1(irq) IOAPIC_ROUTING_ENTRY(irq) argument 371 #define PIC_ROUTING_ENTRY(irq) \ argument [all …]
|
/linux/arch/powerpc/platforms/44x/ |
H A 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/arch/x86/xen/ |
H A D | spinlock.c | 24 int irq = per_cpu(lock_kicker_irq, cpu); in xen_qlock_kick() local 38 int irq = __this_cpu_read(lock_kicker_irq); in xen_qlock_wait() local 59 static irqreturn_t dummy_handler(int irq, void *dev_id) in dummy_handler() 67 int irq; in xen_init_lock_cpu() local 95 int irq; in xen_uninit_lock_cpu() local
|
/linux/arch/m68k/mac/ |
H A 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/drivers/gpu/drm/i915/gvt/ |
H A D | interrupt.c | 64 #define get_event_virt_handler(irq, e) (irq->events[e].v_handler) argument 65 #define get_irq_info(irq, e) (irq->events[e].info) argument 67 #define irq_to_gvt(irq) \ argument 169 struct intel_gvt_irq *irq = &gvt->irq; in regbase_to_irq_info() local 344 struct intel_gvt_irq *irq = &vgpu->gvt->irq; in update_upstream_irq() local 397 static void init_irq_map(struct intel_gvt_irq *irq) in init_irq_map() 458 static void propagate_event(struct intel_gvt_irq *irq, in propagate_event() 481 static void handle_default_event_virt(struct intel_gvt_irq *irq, in handle_default_event_virt() 524 struct intel_gvt_irq *irq = &vgpu->gvt->irq; in gen8_check_pending_irq() local 550 struct intel_gvt_irq *irq) in gen8_init_irq() [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | atariints.h | 115 static inline int get_mfp_bit( unsigned irq, int type ) in get_mfp_bit() 125 static inline void set_mfp_bit( unsigned irq, int type ) in set_mfp_bit() 136 static inline void clear_mfp_bit( unsigned irq, int type ) in clear_mfp_bit() 157 static inline void atari_enable_irq( unsigned irq ) in atari_enable_irq() 164 static inline void atari_disable_irq( unsigned irq ) in atari_disable_irq() 176 static inline void atari_turnon_irq( unsigned irq ) in atari_turnon_irq() 183 static inline void atari_turnoff_irq( unsigned irq ) in atari_turnoff_irq() 191 static inline void atari_clear_pending_irq( unsigned irq ) in atari_clear_pending_irq() 198 static inline int atari_irq_pending( unsigned irq ) in atari_irq_pending()
|
/linux/arch/alpha/kernel/ |
H A D | sys_titan.c | 117 unsigned int irq = d->irq; in titan_enable_irq() local 127 unsigned int irq = d->irq; in titan_disable_irq() local 135 titan_cpu_set_irq_affinity(unsigned int irq, cpumask_t affinity) in titan_cpu_set_irq_affinity() 152 unsigned int irq = d->irq; in titan_set_irq_affinity() local 170 int irq; in titan_srm_device_interrupt() local 196 titan_intr_nop(int irq, void *dev_id) in titan_intr_nop() 263 titan_request_irq(unsigned int irq, irq_handler_t handler, in titan_request_irq() 310 int irq; in titan_map_irq() local
|
H A D | sys_wildfire.c | 39 wildfire_update_irq_hw(unsigned int irq) in wildfire_update_irq_hw() 108 unsigned int irq = d->irq; in wildfire_enable_irq() local 122 unsigned int irq = d->irq; in wildfire_disable_irq() local 136 unsigned int irq = d->irq; in wildfire_mask_and_ack_irq() local 224 int irq; in wildfire_device_interrupt() local 305 int irq = COMMON_TABLE_LOOKUP; in wildfire_map_irq() local
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_hw_fence.c | 54 struct xe_hw_fence_irq *irq = container_of(work, typeof(*irq), work); in hw_fence_irq_run_cb() local 76 void xe_hw_fence_irq_init(struct xe_hw_fence_irq *irq) in xe_hw_fence_irq_init() 84 void xe_hw_fence_irq_finish(struct xe_hw_fence_irq *irq) in xe_hw_fence_irq_finish() 105 void xe_hw_fence_irq_run(struct xe_hw_fence_irq *irq) in xe_hw_fence_irq_run() 110 void xe_hw_fence_irq_stop(struct xe_hw_fence_irq *irq) in xe_hw_fence_irq_stop() 117 void xe_hw_fence_irq_start(struct xe_hw_fence_irq *irq) in xe_hw_fence_irq_start() 127 struct xe_hw_fence_irq *irq, const char *name) in xe_hw_fence_ctx_init() 174 struct xe_hw_fence_irq *irq = xe_hw_fence_irq(fence); in xe_hw_fence_enable_signaling() local
|
/linux/drivers/irqchip/ |
H A D | irq-ath79-misc.c | 63 unsigned int irq = d->hwirq; in ar71xx_misc_irq_unmask() local 76 unsigned int irq = d->hwirq; in ar71xx_misc_irq_mask() local 89 unsigned int irq = d->hwirq; in ar724x_misc_irq_ack() local 105 static int misc_map(struct irq_domain *d, unsigned int irq, irq_hw_number_t hw) in misc_map() 118 struct irq_domain *domain, int irq) in ath79_misc_intc_domain_init() 136 int irq; in ath79_misc_intc_of_init() local 181 void __init ath79_misc_irq_init(void __iomem *regs, int irq, in ath79_misc_irq_init()
|
/linux/arch/m68k/sun3/ |
H A 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()
|