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;
26 /* vga_switcheroo setup */
27 unsigned int use_vga_switcheroo:1;
28 unsigned int vga_switcheroo_registered:1;
29 unsigned int init_failed:1; /* delayed init failed */
30 unsigned int freed:1; /* resources already released */
32 bool need_i915_power:1; /* the hda controller needs i915 power */
34 int probe_retry; /* being probe-retry */