1 /* SPDX-License-Identifier: GPL-2.0-or-later * 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* 2 /* 3 */ 3 */ 4 #ifndef __SOUND_HDA_INTEL_H 4 #ifndef __SOUND_HDA_INTEL_H 5 #define __SOUND_HDA_INTEL_H 5 #define __SOUND_HDA_INTEL_H 6 6 7 #include "hda_controller.h" 7 #include "hda_controller.h" 8 8 9 struct hda_intel { 9 struct hda_intel { 10 struct azx chip; 10 struct azx chip; 11 11 12 /* for pending irqs */ 12 /* for pending irqs */ 13 struct work_struct irq_pending_work; 13 struct work_struct irq_pending_work; 14 14 15 /* sync probing */ 15 /* sync probing */ 16 struct completion probe_wait; 16 struct completion probe_wait; 17 struct delayed_work probe_work; 17 struct delayed_work probe_work; 18 18 19 /* card list (for power_save trigger) 19 /* card list (for power_save trigger) */ 20 struct list_head list; 20 struct list_head list; 21 21 22 /* extra flags */ 22 /* extra flags */ 23 unsigned int irq_pending_warned:1; 23 unsigned int irq_pending_warned:1; 24 unsigned int probe_continued:1; 24 unsigned int probe_continued:1; 25 unsigned int runtime_pm_disabled:1; 25 unsigned int runtime_pm_disabled:1; 26 26 27 /* vga_switcheroo setup */ 27 /* vga_switcheroo setup */ 28 unsigned int use_vga_switcheroo:1; 28 unsigned int use_vga_switcheroo:1; 29 unsigned int vga_switcheroo_registered 29 unsigned int vga_switcheroo_registered:1; 30 unsigned int init_failed:1; /* delayed 30 unsigned int init_failed:1; /* delayed init failed */ 31 unsigned int freed:1; /* resources alr 31 unsigned int freed:1; /* resources already released */ 32 32 33 bool need_i915_power:1; /* the hda con 33 bool need_i915_power:1; /* the hda controller needs i915 power */ 34 34 35 int probe_retry; /* being probe 35 int probe_retry; /* being probe-retry */ 36 }; 36 }; 37 37 38 #endif 38 #endif 39 39
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.