Lines Matching refs:irq_data
179 struct irq_data { struct
187 struct irq_data *parent_data; argument
256 static inline bool irqd_is_setaffinity_pending(struct irq_data *d) in irqd_is_setaffinity_pending()
261 static inline bool irqd_is_per_cpu(struct irq_data *d) in irqd_is_per_cpu()
266 static inline bool irqd_can_balance(struct irq_data *d) in irqd_can_balance()
271 static inline bool irqd_affinity_was_set(struct irq_data *d) in irqd_affinity_was_set()
276 static inline void irqd_mark_affinity_was_set(struct irq_data *d) in irqd_mark_affinity_was_set()
281 static inline bool irqd_trigger_type_was_set(struct irq_data *d) in irqd_trigger_type_was_set()
286 static inline u32 irqd_get_trigger_type(struct irq_data *d) in irqd_get_trigger_type()
295 static inline void irqd_set_trigger_type(struct irq_data *d, u32 type) in irqd_set_trigger_type()
302 static inline bool irqd_is_level_type(struct irq_data *d) in irqd_is_level_type()
311 static inline void irqd_set_single_target(struct irq_data *d) in irqd_set_single_target()
316 static inline bool irqd_is_single_target(struct irq_data *d) in irqd_is_single_target()
321 static inline void irqd_set_handle_enforce_irqctx(struct irq_data *d) in irqd_set_handle_enforce_irqctx()
326 static inline bool irqd_is_handle_enforce_irqctx(struct irq_data *d) in irqd_is_handle_enforce_irqctx()
331 static inline bool irqd_is_enabled_on_suspend(struct irq_data *d) in irqd_is_enabled_on_suspend()
336 static inline bool irqd_is_wakeup_set(struct irq_data *d) in irqd_is_wakeup_set()
341 static inline bool irqd_can_move_in_process_context(struct irq_data *d) in irqd_can_move_in_process_context()
346 static inline bool irqd_irq_disabled(struct irq_data *d) in irqd_irq_disabled()
351 static inline bool irqd_irq_masked(struct irq_data *d) in irqd_irq_masked()
356 static inline bool irqd_irq_inprogress(struct irq_data *d) in irqd_irq_inprogress()
361 static inline bool irqd_is_wakeup_armed(struct irq_data *d) in irqd_is_wakeup_armed()
366 static inline bool irqd_is_forwarded_to_vcpu(struct irq_data *d) in irqd_is_forwarded_to_vcpu()
371 static inline void irqd_set_forwarded_to_vcpu(struct irq_data *d) in irqd_set_forwarded_to_vcpu()
376 static inline void irqd_clr_forwarded_to_vcpu(struct irq_data *d) in irqd_clr_forwarded_to_vcpu()
381 static inline bool irqd_affinity_is_managed(struct irq_data *d) in irqd_affinity_is_managed()
386 static inline bool irqd_is_activated(struct irq_data *d) in irqd_is_activated()
391 static inline void irqd_set_activated(struct irq_data *d) in irqd_set_activated()
396 static inline void irqd_clr_activated(struct irq_data *d) in irqd_clr_activated()
401 static inline bool irqd_is_started(struct irq_data *d) in irqd_is_started()
406 static inline bool irqd_is_managed_and_shutdown(struct irq_data *d) in irqd_is_managed_and_shutdown()
411 static inline void irqd_set_can_reserve(struct irq_data *d) in irqd_set_can_reserve()
416 static inline void irqd_clr_can_reserve(struct irq_data *d) in irqd_clr_can_reserve()
421 static inline bool irqd_can_reserve(struct irq_data *d) in irqd_can_reserve()
426 static inline void irqd_set_msi_nomask_quirk(struct irq_data *d) in irqd_set_msi_nomask_quirk()
431 static inline void irqd_clr_msi_nomask_quirk(struct irq_data *d) in irqd_clr_msi_nomask_quirk()
436 static inline bool irqd_msi_nomask_quirk(struct irq_data *d) in irqd_msi_nomask_quirk()
441 static inline void irqd_set_affinity_on_activate(struct irq_data *d) in irqd_set_affinity_on_activate()
446 static inline bool irqd_affinity_on_activate(struct irq_data *d) in irqd_affinity_on_activate()
453 static inline irq_hw_number_t irqd_to_hwirq(struct irq_data *d) in irqd_to_hwirq()
510 unsigned int (*irq_startup)(struct irq_data *data);
511 void (*irq_shutdown)(struct irq_data *data);
512 void (*irq_enable)(struct irq_data *data);
513 void (*irq_disable)(struct irq_data *data);
515 void (*irq_ack)(struct irq_data *data);
516 void (*irq_mask)(struct irq_data *data);
517 void (*irq_mask_ack)(struct irq_data *data);
518 void (*irq_unmask)(struct irq_data *data);
519 void (*irq_eoi)(struct irq_data *data);
521 int (*irq_set_affinity)(struct irq_data *data, const struct cpumask *dest, bool force);
522 int (*irq_retrigger)(struct irq_data *data);
523 int (*irq_set_type)(struct irq_data *data, unsigned int flow_type);
524 int (*irq_set_wake)(struct irq_data *data, unsigned int on);
526 void (*irq_bus_lock)(struct irq_data *data);
527 void (*irq_bus_sync_unlock)(struct irq_data *data);
529 void (*irq_cpu_online)(struct irq_data *data);
530 void (*irq_cpu_offline)(struct irq_data *data);
532 void (*irq_suspend)(struct irq_data *data);
533 void (*irq_resume)(struct irq_data *data);
534 void (*irq_pm_shutdown)(struct irq_data *data);
536 void (*irq_calc_mask)(struct irq_data *data);
538 void (*irq_print_chip)(struct irq_data *data, struct seq_file *p);
539 int (*irq_request_resources)(struct irq_data *data);
540 void (*irq_release_resources)(struct irq_data *data);
542 void (*irq_compose_msi_msg)(struct irq_data *data, struct msi_msg *msg);
543 void (*irq_write_msi_msg)(struct irq_data *data, struct msi_msg *msg);
545 int (*irq_get_irqchip_state)(struct irq_data *data, enum irqchip_irq_state which, bool *state);
546 int (*irq_set_irqchip_state)(struct irq_data *data, enum irqchip_irq_state which, bool state);
548 int (*irq_set_vcpu_affinity)(struct irq_data *data, void *vcpu_info);
550 void (*ipi_send_single)(struct irq_data *data, unsigned int cpu);
551 void (*ipi_send_mask)(struct irq_data *data, const struct cpumask *dest);
553 int (*irq_nmi_setup)(struct irq_data *data);
554 void (*irq_nmi_teardown)(struct irq_data *data);
613 extern int irq_set_affinity_locked(struct irq_data *data,
625 void __irq_move_irq(struct irq_data *data);
626 static inline void irq_move_irq(struct irq_data *data) in irq_move_irq()
631 void irq_move_masked_irq(struct irq_data *data);
634 static inline void irq_move_irq(struct irq_data *data) { } in irq_move_irq()
635 static inline void irq_move_masked_irq(struct irq_data *data) { } in irq_move_masked_irq()
668 extern int irq_chip_compose_msi_msg(struct irq_data *data, struct msi_msg *msg);
669 extern int irq_chip_pm_get(struct irq_data *data);
670 extern int irq_chip_pm_put(struct irq_data *data);
674 extern int irq_chip_set_parent_state(struct irq_data *data,
677 extern int irq_chip_get_parent_state(struct irq_data *data,
680 extern void irq_chip_enable_parent(struct irq_data *data);
681 extern void irq_chip_disable_parent(struct irq_data *data);
682 extern void irq_chip_ack_parent(struct irq_data *data);
683 extern int irq_chip_retrigger_hierarchy(struct irq_data *data);
684 extern void irq_chip_mask_parent(struct irq_data *data);
685 extern void irq_chip_mask_ack_parent(struct irq_data *data);
686 extern void irq_chip_unmask_parent(struct irq_data *data);
687 extern void irq_chip_eoi_parent(struct irq_data *data);
688 extern int irq_chip_set_affinity_parent(struct irq_data *data,
691 extern int irq_chip_set_wake_parent(struct irq_data *data, unsigned int on);
692 extern int irq_chip_set_vcpu_affinity_parent(struct irq_data *data,
694 extern int irq_chip_set_type_parent(struct irq_data *data, unsigned int type);
695 extern int irq_chip_request_resources_parent(struct irq_data *data);
696 extern void irq_chip_release_resources_parent(struct irq_data *data);
814 extern struct irq_data *irq_get_irq_data(unsigned int irq);
818 struct irq_data *d = irq_get_irq_data(irq); in irq_get_chip()
822 static inline struct irq_chip *irq_data_get_irq_chip(struct irq_data *d) in irq_data_get_irq_chip()
829 struct irq_data *d = irq_get_irq_data(irq); in irq_get_chip_data()
833 static inline void *irq_data_get_irq_chip_data(struct irq_data *d) in irq_data_get_irq_chip_data()
840 struct irq_data *d = irq_get_irq_data(irq); in irq_get_handler_data()
844 static inline void *irq_data_get_irq_handler_data(struct irq_data *d) in irq_data_get_irq_handler_data()
851 struct irq_data *d = irq_get_irq_data(irq); in irq_get_msi_desc()
855 static inline struct msi_desc *irq_data_get_msi_desc(struct irq_data *d) in irq_data_get_msi_desc()
862 struct irq_data *d = irq_get_irq_data(irq); in irq_get_trigger_type()
875 static inline int irq_data_get_node(struct irq_data *d) in irq_data_get_node()
880 static inline struct cpumask *irq_data_get_affinity_mask(struct irq_data *d) in irq_data_get_affinity_mask()
885 static inline void irq_data_update_affinity(struct irq_data *d, in irq_data_update_affinity()
893 struct irq_data *d = irq_get_irq_data(irq); in irq_get_affinity_mask()
900 struct cpumask *irq_data_get_effective_affinity_mask(struct irq_data *d) in irq_data_get_effective_affinity_mask()
904 static inline void irq_data_update_effective_affinity(struct irq_data *d, in irq_data_update_effective_affinity()
910 static inline void irq_data_update_effective_affinity(struct irq_data *d, in irq_data_update_effective_affinity()
915 struct cpumask *irq_data_get_effective_affinity_mask(struct irq_data *d) in irq_data_get_effective_affinity_mask()
923 struct irq_data *d = irq_get_irq_data(irq); in irq_get_effective_affinity_mask()
1114 void irq_gc_noop(struct irq_data *d);
1115 void irq_gc_mask_disable_reg(struct irq_data *d);
1116 void irq_gc_mask_set_bit(struct irq_data *d);
1117 void irq_gc_mask_clr_bit(struct irq_data *d);
1118 void irq_gc_unmask_enable_reg(struct irq_data *d);
1119 void irq_gc_ack_set_bit(struct irq_data *d);
1120 void irq_gc_ack_clr_bit(struct irq_data *d);
1121 void irq_gc_mask_disable_and_ack_set(struct irq_data *d);
1122 void irq_gc_eoi(struct irq_data *d);
1123 int irq_gc_set_wake(struct irq_data *d, unsigned int on);
1134 int irq_setup_alt_chip(struct irq_data *d, unsigned int type);
1175 static inline struct irq_chip_type *irq_data_get_chip_type(struct irq_data *d) in irq_data_get_chip_type()