Home
last modified time | relevance | path

Searched refs:irq_desc (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/kernel/linux/linux-5.10/kernel/irq/
Dinternals.h74 extern int __irq_set_trigger(struct irq_desc *desc, unsigned long flags);
75 extern void __disable_irq(struct irq_desc *desc);
76 extern void __enable_irq(struct irq_desc *desc);
84 extern int irq_activate(struct irq_desc *desc);
85 extern int irq_activate_and_startup(struct irq_desc *desc, bool resend);
86 extern int irq_startup(struct irq_desc *desc, bool resend, bool force);
88 extern void irq_shutdown(struct irq_desc *desc);
89 extern void irq_shutdown_and_deactivate(struct irq_desc *desc);
90 extern void irq_enable(struct irq_desc *desc);
91 extern void irq_disable(struct irq_desc *desc);
[all …]
Dsettings.h40 irq_settings_clr_and_set(struct irq_desc *desc, u32 clr, u32 set) in irq_settings_clr_and_set()
46 static inline bool irq_settings_is_per_cpu(struct irq_desc *desc) in irq_settings_is_per_cpu()
51 static inline bool irq_settings_is_per_cpu_devid(struct irq_desc *desc) in irq_settings_is_per_cpu_devid()
56 static inline void irq_settings_set_per_cpu(struct irq_desc *desc) in irq_settings_set_per_cpu()
61 static inline void irq_settings_set_no_balancing(struct irq_desc *desc) in irq_settings_set_no_balancing()
66 static inline bool irq_settings_has_no_balance_set(struct irq_desc *desc) in irq_settings_has_no_balance_set()
71 static inline u32 irq_settings_get_trigger_mask(struct irq_desc *desc) in irq_settings_get_trigger_mask()
77 irq_settings_set_trigger_mask(struct irq_desc *desc, u32 mask) in irq_settings_set_trigger_mask()
83 static inline bool irq_settings_is_level(struct irq_desc *desc) in irq_settings_is_level()
88 static inline void irq_settings_clr_level(struct irq_desc *desc) in irq_settings_clr_level()
[all …]
Dirqdesc.c55 static int alloc_masks(struct irq_desc *desc, int node) in alloc_masks()
81 static void desc_smp_init(struct irq_desc *desc, int node, in desc_smp_init()
98 alloc_masks(struct irq_desc *desc, int node) { return 0; } in alloc_masks()
100 desc_smp_init(struct irq_desc *desc, int node, const struct cpumask *affinity) { } in desc_smp_init()
103 static void desc_set_defaults(unsigned int irq, struct irq_desc *desc, int node, in desc_set_defaults()
149 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in per_cpu_count_show()
169 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in chip_name_show()
186 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in hwirq_show()
201 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in type_show()
217 struct irq_desc *desc = container_of(kobj, struct irq_desc, kobj); in wakeup_show()
[all …]
Dchip.c44 struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0); in irq_set_chip()
71 struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL); in irq_set_irq_type()
93 struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0); in irq_set_handler_data()
115 …struct irq_desc *desc = irq_get_desc_lock(irq_base + irq_offset, &flags, IRQ_GET_DESC_CHECK_GLOBAL… in irq_set_msi_desc_off()
148 struct irq_desc *desc = irq_get_desc_lock(irq, &flags, 0); in irq_set_chip_data()
160 struct irq_desc *desc = irq_to_desc(irq); in irq_get_irq_data()
166 static void irq_state_clr_disabled(struct irq_desc *desc) in irq_state_clr_disabled()
171 static void irq_state_clr_masked(struct irq_desc *desc) in irq_state_clr_masked()
176 static void irq_state_clr_started(struct irq_desc *desc) in irq_state_clr_started()
181 static void irq_state_set_started(struct irq_desc *desc) in irq_state_set_started()
[all …]
Dmanage.c39 static void __synchronize_hardirq(struct irq_desc *desc, bool sync_chip) in __synchronize_hardirq()
101 struct irq_desc *desc = irq_to_desc(irq); in synchronize_hardirq()
129 struct irq_desc *desc = irq_to_desc(irq); in synchronize_irq()
147 static bool __irq_can_set_affinity(struct irq_desc *desc) in __irq_can_set_affinity()
174 struct irq_desc *desc = irq_to_desc(irq); in irq_can_set_affinity_usr()
189 void irq_set_thread_affinity(struct irq_desc *desc) in irq_set_thread_affinity()
224 struct irq_desc *desc = irq_data_to_desc(data); in irq_do_set_affinity()
303 struct irq_desc *desc = irq_data_to_desc(data); in irq_set_affinity_pending()
335 struct irq_desc *desc = irq_data_to_desc(data); in irq_set_affinity_deactivated()
360 struct irq_desc *desc = irq_data_to_desc(data); in irq_set_affinity_locked()
[all …]
Dpm.c16 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()
152 static void resume_irq(struct irq_desc *desc) in resume_irq()
186 struct irq_desc *desc; in resume_irqs()
212 struct irq_desc *desc = irq_get_desc_buslock(irq, &flags, IRQ_GET_DESC_CHECK_GLOBAL); in rearm_wake_irq()
Dresend.c32 struct irq_desc *desc; in resend_irqs()
50 static int irq_sw_resend(struct irq_desc *desc) in irq_sw_resend()
83 static int irq_sw_resend(struct irq_desc *desc) in irq_sw_resend()
89 static int try_retrigger(struct irq_desc *desc) in try_retrigger()
106 int check_irq_resend(struct irq_desc *desc, bool inject) in check_irq_resend()
157 struct irq_desc *desc; in irq_inject_interrupt()
Dspurious.c36 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()
Dhandle.c31 void handle_bad_irq(struct irq_desc *desc) in handle_bad_irq()
59 void __irq_wake_thread(struct irq_desc *desc, struct irqaction *action) in __irq_wake_thread()
137 irqreturn_t __handle_irq_event_percpu(struct irq_desc *desc, unsigned int *flags) in __handle_irq_event_percpu()
191 irqreturn_t handle_irq_event_percpu(struct irq_desc *desc) in handle_irq_event_percpu()
205 irqreturn_t handle_irq_event(struct irq_desc *desc) in handle_irq_event()
Dproc.c48 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()
287 struct irq_desc *desc = irq_to_desc((long) m->private); in irq_node_proc_show()
296 struct irq_desc *desc = irq_to_desc((long) m->private); in irq_spurious_proc_show()
308 struct irq_desc *desc = irq_to_desc(irq); in name_unique()
328 struct irq_desc *desc = irq_to_desc(irq); in register_handler_proc()
344 void register_irq_proc(unsigned int irq, struct irq_desc *desc) in register_irq_proc()
399 void unregister_irq_proc(unsigned int irq, struct irq_desc *desc) in unregister_irq_proc()
439 struct irq_desc *desc; in init_irq_proc()
473 struct irq_desc *desc; in show_interrupts()
Ddebugfs.c30 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()
160 struct irq_desc *desc = m->private; in irq_debug_show()
193 struct irq_desc *desc = file_inode(file)->i_private; in irq_debug_write()
220 struct irq_desc *desc = irq_to_desc(irq); in irq_debugfs_copy_devname()
227 void irq_add_debugfs_entry(unsigned int irq, struct irq_desc *desc) in irq_add_debugfs_entry()
Dcpuhotplug.c54 static bool migrate_one_irq(struct irq_desc *desc) in migrate_one_irq()
206 struct irq_desc *desc; in irq_migrate_all_off_this_cpu()
238 static void irq_restore_affinity_of_irq(struct irq_desc *desc, unsigned int cpu) in irq_restore_affinity_of_irq()
269 struct irq_desc *desc; in irq_affinity_online_cpu()
Dautoprobe.c32 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()
/kernel/linux/linux-5.10/include/linux/
Dirqdesc.h16 struct irq_desc;
55 struct irq_desc { struct
113 extern struct irq_desc irq_desc[NR_IRQS]; argument
116 static inline struct irq_desc *irq_data_to_desc(struct irq_data *data) in irq_data_to_desc()
118 return container_of(data->common, struct irq_desc, irq_common_data); in irq_data_to_desc()
121 static inline unsigned int irq_desc_get_irq(struct irq_desc *desc) in irq_desc_get_irq()
126 static inline struct irq_data *irq_desc_get_irq_data(struct irq_desc *desc) in irq_desc_get_irq_data()
131 static inline struct irq_chip *irq_desc_get_chip(struct irq_desc *desc) in irq_desc_get_chip()
136 static inline void *irq_desc_get_chip_data(struct irq_desc *desc) in irq_desc_get_chip_data()
141 static inline void *irq_desc_get_handler_data(struct irq_desc *desc) in irq_desc_get_handler_data()
[all …]
Dirq.h628 void irq_force_complete_move(struct irq_desc *desc);
632 static inline void irq_force_complete_move(struct irq_desc *desc) { } in irq_force_complete_move()
650 extern void handle_level_irq(struct irq_desc *desc);
651 extern void handle_fasteoi_irq(struct irq_desc *desc);
652 extern void handle_percpu_devid_fasteoi_ipi(struct irq_desc *desc);
653 extern void handle_edge_irq(struct irq_desc *desc);
654 extern void handle_edge_eoi_irq(struct irq_desc *desc);
655 extern void handle_simple_irq(struct irq_desc *desc);
656 extern void handle_untracked_irq(struct irq_desc *desc);
657 extern void handle_percpu_irq(struct irq_desc *desc);
[all …]
Dirqhandler.h10 struct irq_desc;
12 typedef void (*irq_flow_handler_t)(struct irq_desc *desc);
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dirq_stack.h18 void asm_call_irq_on_stack(void *sp, void (*func)(struct irq_desc *desc),
19 struct irq_desc *desc);
42 __run_irq_on_irqstack(void (*func)(struct irq_desc *desc), in __run_irq_on_irqstack()
43 struct irq_desc *desc) in __run_irq_on_irqstack()
57 static inline void __run_irq_on_irqstack(void (*func)(struct irq_desc *desc), in __run_irq_on_irqstack()
58 struct irq_desc *desc) { } in __run_irq_on_irqstack()
95 run_irq_on_irqstack_cond(void (*func)(struct irq_desc *desc), struct irq_desc *desc, in run_irq_on_irqstack_cond()
Dirq.h30 struct irq_desc;
41 extern void __handle_irq(struct irq_desc *desc, struct pt_regs *regs);
/kernel/linux/linux-5.10/arch/mips/vr41xx/common/
Dicu.c144 struct irq_desc *desc = irq_to_desc(PIU_IRQ); in vr41xx_enable_piuint()
159 struct irq_desc *desc = irq_to_desc(PIU_IRQ); in vr41xx_disable_piuint()
174 struct irq_desc *desc = irq_to_desc(AIU_IRQ); in vr41xx_enable_aiuint()
189 struct irq_desc *desc = irq_to_desc(AIU_IRQ); in vr41xx_disable_aiuint()
204 struct irq_desc *desc = irq_to_desc(KIU_IRQ); in vr41xx_enable_kiuint()
219 struct irq_desc *desc = irq_to_desc(KIU_IRQ); in vr41xx_disable_kiuint()
234 struct irq_desc *desc = irq_to_desc(ETHERNET_IRQ); in vr41xx_enable_macint()
246 struct irq_desc *desc = irq_to_desc(ETHERNET_IRQ); in vr41xx_disable_macint()
258 struct irq_desc *desc = irq_to_desc(DSIU_IRQ); in vr41xx_enable_dsiuint()
270 struct irq_desc *desc = irq_to_desc(DSIU_IRQ); in vr41xx_disable_dsiuint()
[all …]
/kernel/linux/linux-5.10/arch/m68k/mac/
Doss.c60 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()
/kernel/linux/linux-5.10/arch/m68k/amiga/
Damiints.c49 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()
/kernel/linux/linux-5.10/arch/mips/include/asm/netlogic/
Dcommon.h59 struct irq_desc;
60 void nlm_smp_function_ipi_handler(struct irq_desc *desc);
61 void nlm_smp_resched_ipi_handler(struct irq_desc *desc);
/kernel/linux/linux-5.10/include/linux/irqchip/
Dchained_irq.h17 struct irq_desc *desc) in chained_irq_enter()
33 struct irq_desc *desc) in chained_irq_exit()
/kernel/linux/linux-5.10/drivers/regulator/
Dmt6360-regulator.c380 const struct mt6360_irq_mapping *irq_desc = tbls + i; in mt6360_regulator_irq_register() local
382 irq = platform_get_irq_byname(pdev, irq_desc->name); in mt6360_regulator_irq_register()
384 dev_err(&pdev->dev, "Fail to get %s irq\n", irq_desc->name); in mt6360_regulator_irq_register()
388 ret = devm_request_threaded_irq(&pdev->dev, irq, NULL, irq_desc->handler, 0, in mt6360_regulator_irq_register()
389 irq_desc->name, rdev); in mt6360_regulator_irq_register()
391 dev_err(&pdev->dev, "Fail to request %s irq\n", irq_desc->name); in mt6360_regulator_irq_register()
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Dirq.h60 struct irq_desc;
68 void (*handle)(struct irq_desc *desc),

12345678910>>...13