1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 #ifndef __SOUND_HDA_INTEL_H
5 #define __SOUND_HDA_INTEL_H
7 #include "hda_controller.h"
12 /* for pending irqs */
13 struct work_struct irq_pending_work
;
16 struct completion probe_wait
;
17 struct delayed_work probe_work
;
19 /* card list (for power_save trigger) */
20 struct list_head list
;
23 unsigned int irq_pending_warned
:1;
24 unsigned int probe_continued
:1;
25 unsigned int runtime_pm_disabled
:1;
27 /* vga_switcheroo setup */
28 unsigned int use_vga_switcheroo
:1;
29 unsigned int vga_switcheroo_registered
:1;
30 unsigned int init_failed
:1; /* delayed init failed */
31 unsigned int freed
:1; /* resources already released */
33 bool need_i915_power
:1; /* the hda controller needs i915 power */
35 int probe_retry
; /* being probe-retry */