39 lines · c
1/* SPDX-License-Identifier: GPL-2.0-or-later */2/*3 */4#ifndef __SOUND_HDA_INTEL_H5#define __SOUND_HDA_INTEL_H6 7#include "hda_controller.h"8 9struct hda_intel {10 struct azx chip;11 12 /* for pending irqs */13 struct work_struct irq_pending_work;14 15 /* sync probing */16 struct completion probe_wait;17 struct delayed_work probe_work;18 19 /* card list (for power_save trigger) */20 struct list_head list;21 22 /* extra flags */23 unsigned int irq_pending_warned:1;24 unsigned int probe_continued:1;25 unsigned int runtime_pm_disabled:1;26 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 */32 33 bool need_i915_power:1; /* the hda controller needs i915 power */34 35 int probe_retry; /* being probe-retry */36};37 38#endif39