/linux-6.6.21/kernel/irq/ |
D | internals.h | 77 extern int __irq_set_trigger(struct irq_desc *desc, unsigned long flags); 78 extern void __disable_irq(struct irq_desc *desc); 79 extern void __enable_irq(struct irq_desc *desc); 87 extern int irq_activate(struct irq_desc *desc); 88 extern int irq_activate_and_startup(struct irq_desc *desc, bool resend); 89 extern int irq_startup(struct irq_desc *desc, bool resend, bool force); 91 extern void irq_shutdown(struct irq_desc *desc); 92 extern void irq_shutdown_and_deactivate(struct irq_desc *desc); 93 extern void irq_enable(struct irq_desc *desc); 94 extern void irq_disable(struct irq_desc *desc); [all …]
|
D | settings.h | 42 irq_settings_clr_and_set(struct irq_desc *desc, u32 clr, u32 set) in irq_settings_clr_and_set() 48 static inline bool irq_settings_is_per_cpu(struct irq_desc *desc) in irq_settings_is_per_cpu() 53 static inline bool irq_settings_is_per_cpu_devid(struct irq_desc *desc) in irq_settings_is_per_cpu_devid() 58 static inline void irq_settings_set_per_cpu(struct irq_desc *desc) in irq_settings_set_per_cpu() 63 static inline void irq_settings_set_no_balancing(struct irq_desc *desc) in irq_settings_set_no_balancing() 68 static inline bool irq_settings_has_no_balance_set(struct irq_desc *desc) in irq_settings_has_no_balance_set() 73 static inline u32 irq_settings_get_trigger_mask(struct irq_desc *desc) in irq_settings_get_trigger_mask() 79 irq_settings_set_trigger_mask(struct irq_desc *desc, u32 mask) in irq_settings_set_trigger_mask() 85 static inline bool irq_settings_is_level(struct irq_desc *desc) in irq_settings_is_level() 90 static inline void irq_settings_clr_level(struct irq_desc *desc) in irq_settings_clr_level() [all …]
|
D | irqdesc.c | 54 static int alloc_masks(struct irq_desc *desc, int node) in alloc_masks() 80 static void desc_smp_init(struct irq_desc *desc, int node, in desc_smp_init() 97 alloc_masks(struct irq_desc *desc, int node) { return 0; } in alloc_masks() 99 desc_smp_init(struct irq_desc *desc, int node, const struct cpumask *affinity) { } in desc_smp_init() 102 static void desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node, in desc_set_defaults() 151 struct irq_desc *desc = mt_find(&sparse_irqs, &index, nr_irqs); in irq_find_at_or_after() 156 static void irq_insert_desc(unsigned int irq, struct irq_desc *desc) in irq_insert_desc() 181 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in per_cpu_count_show() 201 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in chip_name_show() 218 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in hwirq_show() [all …]
|
D | resend.c | 33 struct irq_desc *desc; in resend_irqs() 37 desc = hlist_entry(irq_resend_list.first, struct irq_desc, in resend_irqs() 50 static int irq_sw_resend(struct irq_desc *desc) in irq_sw_resend() 86 void clear_irq_resend(struct irq_desc *desc) in clear_irq_resend() 93 void irq_resend_init(struct irq_desc *desc) in irq_resend_init() 98 void clear_irq_resend(struct irq_desc *desc) {} in clear_irq_resend() 99 void irq_resend_init(struct irq_desc *desc) {} in irq_resend_init() 101 static int irq_sw_resend(struct irq_desc *desc) in irq_sw_resend() 107 static int try_retrigger(struct irq_desc *desc) in try_retrigger() 124 int check_irq_resend(struct irq_desc *desc, bool inject) in check_irq_resend() [all …]
|
D | chip.c | 44 struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0); in irq_set_chip() 68 struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL); in irq_set_irq_type() 90 struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0); in irq_set_handler_data() 112 …struct irq_desc *desc = irq_get_desc_lock(irq_base + irq_offset, &flags, IRQ_GET_DESC_CHECK_GLOBAL… in irq_set_msi_desc_off() 145 struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0); in irq_set_chip_data() 157 struct irq_desc *desc = irq_to_desc(irq); in irq_get_irq_data() 163 static void irq_state_clr_disabled(struct irq_desc *desc) in irq_state_clr_disabled() 168 static void irq_state_clr_masked(struct irq_desc *desc) in irq_state_clr_masked() 173 static void irq_state_clr_started(struct irq_desc *desc) in irq_state_clr_started() 178 static void irq_state_set_started(struct irq_desc *desc) in irq_state_set_started() [all …]
|
D | manage.c | 38 static void __synchronize_hardirq(struct irq_desc *desc, bool sync_chip) in __synchronize_hardirq() 100 struct irq_desc *desc = irq_to_desc(irq); in synchronize_hardirq() 111 static void __synchronize_irq(struct irq_desc *desc) in __synchronize_irq() 138 struct irq_desc *desc = irq_to_desc(irq); in synchronize_irq() 148 static bool __irq_can_set_affinity(struct irq_desc *desc) in __irq_can_set_affinity() 175 struct irq_desc *desc = irq_to_desc(irq); in irq_can_set_affinity_usr() 190 void irq_set_thread_affinity(struct irq_desc *desc) in irq_set_thread_affinity() 220 struct irq_desc *desc = irq_data_to_desc(data); in irq_do_set_affinity() 299 struct irq_desc *desc = irq_data_to_desc(data); in irq_set_affinity_pending() 331 struct irq_desc *desc = irq_data_to_desc(data); in irq_set_affinity_deactivated() [all …]
|
D | pm.c | 16 bool irq_pm_check_wakeup(struct irq_desc *desc) in irq_pm_check_wakeup() 33 void irq_pm_install_action(struct irq_desc *desc, struct irqaction *action) in irq_pm_install_action() 57 void irq_pm_remove_action(struct irq_desc *desc, struct irqaction *action) in irq_pm_remove_action() 70 static bool suspend_device_irq(struct irq_desc *desc) in suspend_device_irq() 133 struct irq_desc *desc; in suspend_device_irqs() 151 static void resume_irq(struct irq_desc *desc) in resume_irq() 185 struct irq_desc *desc; in resume_irqs() 211 struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL); in rearm_wake_irq()
|
D | spurious.c | 36 bool irq_wait_for_poll(struct irq_desc *desc) in irq_wait_for_poll() 62 static int try_one_irq(struct irq_desc *desc, bool force) in try_one_irq() 120 struct irq_desc *desc; in misrouted_irq() 146 struct irq_desc *desc; in poll_spurious_irqs() 192 static void __report_bad_irq(struct irq_desc *desc, irqreturn_t action_ret) in __report_bad_irq() 225 static void report_bad_irq(struct irq_desc *desc, irqreturn_t action_ret) in report_bad_irq() 236 try_misrouted_irq(unsigned int irq, struct irq_desc *desc, in try_misrouted_irq() 272 void note_interrupt(struct irq_desc *desc, irqreturn_t action_ret) in note_interrupt()
|
D | handle.c | 33 void handle_bad_irq(struct irq_desc *desc) in handle_bad_irq() 61 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action) in __irq_wake_thread() 139 irqreturn_t __handle_irq_event_percpu(struct irq_desc *desc) in __handle_irq_event_percpu() 189 irqreturn_t handle_irq_event_percpu(struct irq_desc *desc) in handle_irq_event_percpu() 202 irqreturn_t handle_irq_event(struct irq_desc *desc) in handle_irq_event()
|
D | proc.c | 48 struct irq_desc *desc = irq_to_desc((long)m->private); in show_irq_affinity() 85 struct irq_desc *desc = irq_to_desc((long)m->private); in irq_affinity_hint_proc_show() 281 struct irq_desc *desc = irq_to_desc((long) m->private); in irq_node_proc_show() 290 struct irq_desc *desc = irq_to_desc((long) m->private); in irq_spurious_proc_show() 302 struct irq_desc *desc = irq_to_desc(irq); in name_unique() 322 struct irq_desc *desc = irq_to_desc(irq); in register_handler_proc() 338 void register_irq_proc(unsigned int irq, struct irq_desc *desc) in register_irq_proc() 393 void unregister_irq_proc(unsigned int irq, struct irq_desc *desc) in unregister_irq_proc() 433 struct irq_desc *desc; in init_irq_proc() 467 struct irq_desc *desc; in show_interrupts()
|
D | cpuhotplug.c | 53 static bool migrate_one_irq(struct irq_desc *desc) in migrate_one_irq() 157 struct irq_desc *desc; in irq_migrate_all_off_this_cpu() 189 static void irq_restore_affinity_of_irq(struct irq_desc *desc, unsigned int cpu) in irq_restore_affinity_of_irq() 220 struct irq_desc *desc; in irq_affinity_online_cpu()
|
D | debugfs.c | 30 static void irq_debug_show_masks(struct seq_file *m, struct irq_desc *desc) in irq_debug_show_masks() 47 static void irq_debug_show_masks(struct seq_file *m, struct irq_desc *desc) { } in irq_debug_show_masks() 166 struct irq_desc *desc = m->private; in irq_debug_show() 199 struct irq_desc *desc = file_inode(file)->i_private; in irq_debug_write() 226 struct irq_desc *desc = irq_to_desc(irq); in irq_debugfs_copy_devname() 233 void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc) in irq_add_debugfs_entry()
|
D | autoprobe.c | 32 struct irq_desc *desc; in probe_irq_on() 120 struct irq_desc *desc; in probe_irq_mask() 160 struct irq_desc *desc; in probe_irq_off()
|
D | ipi.c | 227 int __ipi_send_single(struct irq_desc *desc, unsigned int cpu) in __ipi_send_single() 269 int __ipi_send_mask(struct irq_desc *desc, const struct cpumask *dest) in __ipi_send_mask() 315 struct irq_desc *desc = irq_to_desc(virq); in ipi_send_single() 336 struct irq_desc *desc = irq_to_desc(virq); in ipi_send_mask()
|
/linux-6.6.21/include/linux/ |
D | irqdesc.h | 16 struct irq_desc; 55 struct irq_desc { struct 116 extern struct irq_desc irq_desc[NR_IRQS]; argument 119 static inline unsigned int irq_desc_kstat_cpu(struct irq_desc *desc, in irq_desc_kstat_cpu() 125 static inline struct irq_desc *irq_data_to_desc(struct irq_data *data) in irq_data_to_desc() 127 return container_of(data->common, struct irq_desc, irq_common_data); in irq_data_to_desc() 130 static inline unsigned int irq_desc_get_irq(struct irq_desc *desc) in irq_desc_get_irq() 135 static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc) in irq_desc_get_irq_data() 140 static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc) in irq_desc_get_chip() 145 static inline void *irq_desc_get_chip_data(struct irq_desc *desc) in irq_desc_get_chip_data() [all …]
|
D | irq.h | 630 void irq_force_complete_move(struct irq_desc *desc); 634 static inline void irq_force_complete_move(struct irq_desc *desc) { } in irq_force_complete_move() 652 extern void handle_level_irq(struct irq_desc *desc); 653 extern void handle_fasteoi_irq(struct irq_desc *desc); 654 extern void handle_edge_irq(struct irq_desc *desc); 655 extern void handle_edge_eoi_irq(struct irq_desc *desc); 656 extern void handle_simple_irq(struct irq_desc *desc); 657 extern void handle_untracked_irq(struct irq_desc *desc); 658 extern void handle_percpu_irq(struct irq_desc *desc); 659 extern void handle_percpu_devid_irq(struct irq_desc *desc); [all …]
|
D | irqhandler.h | 10 struct irq_desc; 12 typedef void (*irq_flow_handler_t)(struct irq_desc *desc);
|
/linux-6.6.21/arch/m68k/mac/ |
D | oss.c | 60 static void oss_iopism_irq(struct irq_desc *desc) in oss_iopism_irq() 65 static void oss_scsi_irq(struct irq_desc *desc) in oss_scsi_irq() 70 static void oss_nubus_irq(struct irq_desc *desc) in oss_nubus_irq() 88 static void oss_iopscc_irq(struct irq_desc *desc) in oss_iopscc_irq()
|
/linux-6.6.21/arch/m68k/amiga/ |
D | amiints.c | 49 static void ami_int1(struct irq_desc *desc) in ami_int1() 72 static void ami_int3(struct irq_desc *desc) in ami_int3() 95 static void ami_int4(struct irq_desc *desc) in ami_int4() 124 static void ami_int5(struct irq_desc *desc) in ami_int5()
|
/linux-6.6.21/Documentation/translations/zh_CN/core-api/irq/ |
D | irq-domain.rst | 53 一个新的Linux irq_desc,将其与hwirq关联起来,并调用.map()回调,这样驱动 58 - irq_resolve_mapping()返回一个指向给定域和hwirq号的irq_desc结构指针, 90 时,会给hwirq分配一个irq_desc,并将irq号存储在表中。 111 一个irq_desc被分配,hwirq被用作radix树的查找键。 156 个hwirq分配一个irq_desc,即使它没有被使用。
|
/linux-6.6.21/arch/x86/include/asm/ |
D | irq.h | 28 struct irq_desc; 39 extern void __handle_irq(struct irq_desc *desc, struct pt_regs *regs);
|
/linux-6.6.21/include/linux/irqchip/ |
D | chained_irq.h | 17 struct irq_desc *desc) in chained_irq_enter() 33 struct irq_desc *desc) in chained_irq_exit()
|
/linux-6.6.21/arch/m68k/include/asm/ |
D | irq.h | 61 struct irq_desc; 69 void (*handle)(struct irq_desc *desc),
|
/linux-6.6.21/drivers/soc/fsl/qe/ |
D | qe_ic.c | 366 static void qe_ic_cascade_low(struct irq_desc *desc) in qe_ic_cascade_low() 379 static void qe_ic_cascade_high(struct irq_desc *desc) in qe_ic_cascade_high() 392 static void qe_ic_cascade_muxed_mpic(struct irq_desc *desc) in qe_ic_cascade_muxed_mpic() 411 void (*low_handler)(struct irq_desc *desc); in qe_ic_init() 412 void (*high_handler)(struct irq_desc *desc); in qe_ic_init()
|
/linux-6.6.21/drivers/pinctrl/starfive/ |
D | pinctrl-starfive-jh7110.h | 64 void (*jh7110_gpio_irq_handler)(struct irq_desc *desc); 71 struct jh7110_pinctrl *jh7110_from_irq_desc(struct irq_desc *desc);
|