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()
508 unsigned int (*irq_startup)(struct irq_data *data);
509 void (*irq_shutdown)(struct irq_data *data);
510 void (*irq_enable)(struct irq_data *data);
511 void (*irq_disable)(struct irq_data *data);
513 void (*irq_ack)(struct irq_data *data);
514 void (*irq_mask)(struct irq_data *data);
515 void (*irq_mask_ack)(struct irq_data *data);
516 void (*irq_unmask)(struct irq_data *data);
517 void (*irq_eoi)(struct irq_data *data);
519 int (*irq_set_affinity)(struct irq_data *data, const struct cpumask *dest, bool force);
520 int (*irq_retrigger)(struct irq_data *data);
521 int (*irq_set_type)(struct irq_data *data, unsigned int flow_type);
522 int (*irq_set_wake)(struct irq_data *data, unsigned int on);
524 void (*irq_bus_lock)(struct irq_data *data);
525 void (*irq_bus_sync_unlock)(struct irq_data *data);
528 void (*irq_cpu_online)(struct irq_data *data);
529 void (*irq_cpu_offline)(struct irq_data *data);
531 void (*irq_suspend)(struct irq_data *data);
532 void (*irq_resume)(struct irq_data *data);
533 void (*irq_pm_shutdown)(struct irq_data *data);
535 void (*irq_calc_mask)(struct irq_data *data);
537 void (*irq_print_chip)(struct irq_data *data, struct seq_file *p);
538 int (*irq_request_resources)(struct irq_data *data);
539 void (*irq_release_resources)(struct irq_data *data);
541 void (*irq_compose_msi_msg)(struct irq_data *data, struct msi_msg *msg);
542 void (*irq_write_msi_msg)(struct irq_data *data, struct msi_msg *msg);
544 int (*irq_get_irqchip_state)(struct irq_data *data, enum irqchip_irq_state which, bool *state);
545 int (*irq_set_irqchip_state)(struct irq_data *data, enum irqchip_irq_state which, bool state);
547 int (*irq_set_vcpu_affinity)(struct irq_data *data, void *vcpu_info);
549 void (*ipi_send_single)(struct irq_data *data, unsigned int cpu);
550 void (*ipi_send_mask)(struct irq_data *data, const struct cpumask *dest);
552 int (*irq_nmi_setup)(struct irq_data *data);
553 void (*irq_nmi_teardown)(struct irq_data *data);
616 extern int irq_set_affinity_locked(struct irq_data *data,
628 void __irq_move_irq(struct irq_data *data);
629 static inline void irq_move_irq(struct irq_data *data) in irq_move_irq()
634 void irq_move_masked_irq(struct irq_data *data);
637 static inline void irq_move_irq(struct irq_data *data) { } in irq_move_irq()
638 static inline void irq_move_masked_irq(struct irq_data *data) { } in irq_move_masked_irq()
671 extern int irq_chip_compose_msi_msg(struct irq_data *data, struct msi_msg *msg);
672 extern int irq_chip_pm_get(struct irq_data *data);
673 extern int irq_chip_pm_put(struct irq_data *data);
677 extern int irq_chip_set_parent_state(struct irq_data *data,
680 extern int irq_chip_get_parent_state(struct irq_data *data,
683 extern void irq_chip_enable_parent(struct irq_data *data);
684 extern void irq_chip_disable_parent(struct irq_data *data);
685 extern void irq_chip_ack_parent(struct irq_data *data);
686 extern int irq_chip_retrigger_hierarchy(struct irq_data *data);
687 extern void irq_chip_mask_parent(struct irq_data *data);
688 extern void irq_chip_mask_ack_parent(struct irq_data *data);
689 extern void irq_chip_unmask_parent(struct irq_data *data);
690 extern void irq_chip_eoi_parent(struct irq_data *data);
691 extern int irq_chip_set_affinity_parent(struct irq_data *data,
694 extern int irq_chip_set_wake_parent(struct irq_data *data, unsigned int on);
695 extern int irq_chip_set_vcpu_affinity_parent(struct irq_data *data,
697 extern int irq_chip_set_type_parent(struct irq_data *data, unsigned int type);
698 extern int irq_chip_request_resources_parent(struct irq_data *data);
699 extern void irq_chip_release_resources_parent(struct irq_data *data);
818 extern struct irq_data *irq_get_irq_data(unsigned int irq);
822 struct irq_data *d = irq_get_irq_data(irq); in irq_get_chip()
826 static inline struct irq_chip *irq_data_get_irq_chip(struct irq_data *d) in irq_data_get_irq_chip()
833 struct irq_data *d = irq_get_irq_data(irq); in irq_get_chip_data()
837 static inline void *irq_data_get_irq_chip_data(struct irq_data *d) in irq_data_get_irq_chip_data()
844 struct irq_data *d = irq_get_irq_data(irq); in irq_get_handler_data()
848 static inline void *irq_data_get_irq_handler_data(struct irq_data *d) in irq_data_get_irq_handler_data()
855 struct irq_data *d = irq_get_irq_data(irq); in irq_get_msi_desc()
859 static inline struct msi_desc *irq_data_get_msi_desc(struct irq_data *d) in irq_data_get_msi_desc()
866 struct irq_data *d = irq_get_irq_data(irq); in irq_get_trigger_type()
879 static inline int irq_data_get_node(struct irq_data *d) in irq_data_get_node()
885 const struct cpumask *irq_data_get_affinity_mask(struct irq_data *d) in irq_data_get_affinity_mask()
894 static inline void irq_data_update_affinity(struct irq_data *d, in irq_data_update_affinity()
904 struct irq_data *d = irq_get_irq_data(irq); in irq_get_affinity_mask()
911 const struct cpumask *irq_data_get_effective_affinity_mask(struct irq_data *d) in irq_data_get_effective_affinity_mask()
915 static inline void irq_data_update_effective_affinity(struct irq_data *d, in irq_data_update_effective_affinity()
921 static inline void irq_data_update_effective_affinity(struct irq_data *d, in irq_data_update_effective_affinity()
926 const struct cpumask *irq_data_get_effective_affinity_mask(struct irq_data *d) in irq_data_get_effective_affinity_mask()
935 struct irq_data *d = irq_get_irq_data(irq); in irq_get_effective_affinity_mask()
1126 void irq_gc_noop(struct irq_data *d);
1127 void irq_gc_mask_disable_reg(struct irq_data *d);
1128 void irq_gc_mask_set_bit(struct irq_data *d);
1129 void irq_gc_mask_clr_bit(struct irq_data *d);
1130 void irq_gc_unmask_enable_reg(struct irq_data *d);
1131 void irq_gc_ack_set_bit(struct irq_data *d);
1132 void irq_gc_ack_clr_bit(struct irq_data *d);
1133 void irq_gc_mask_disable_and_ack_set(struct irq_data *d);
1134 void irq_gc_eoi(struct irq_data *d);
1135 int irq_gc_set_wake(struct irq_data *d, unsigned int on);
1147 int irq_setup_alt_chip(struct irq_data *d, unsigned int type);
1188 static inline struct irq_chip_type *irq_data_get_chip_type(struct irq_data *d) in irq_data_get_chip_type()