Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-or-later */
0002 /*
0003  */
0004 #ifndef __SOUND_HDA_INTEL_H
0005 #define __SOUND_HDA_INTEL_H
0006 
0007 #include "hda_controller.h"
0008 
0009 struct hda_intel {
0010     struct azx chip;
0011 
0012     /* for pending irqs */
0013     struct work_struct irq_pending_work;
0014 
0015     /* sync probing */
0016     struct completion probe_wait;
0017     struct delayed_work probe_work;
0018 
0019     /* card list (for power_save trigger) */
0020     struct list_head list;
0021 
0022     /* extra flags */
0023     unsigned int irq_pending_warned:1;
0024     unsigned int probe_continued:1;
0025 
0026     /* vga_switcheroo setup */
0027     unsigned int use_vga_switcheroo:1;
0028     unsigned int vga_switcheroo_registered:1;
0029     unsigned int init_failed:1; /* delayed init failed */
0030     unsigned int freed:1; /* resources already released */
0031 
0032     bool need_i915_power:1; /* the hda controller needs i915 power */
0033 
0034     int probe_retry;    /* being probe-retry */
0035 };
0036 
0037 #endif