Message ID | d37ce9152827d4b824715575feac20e1d6fee66c.1393947538.git.mengdong.lin@intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/tools/intel_audio_dump.c b/tools/intel_audio_dump.c index faa577e..ffd8288 100644 --- a/tools/intel_audio_dump.c +++ b/tools/intel_audio_dump.c @@ -40,6 +40,8 @@ static uint32_t devid; static int aud_reg_base = 0; /* base address of audio registers */ static int disp_reg_base = 0; /* base address of display registers */ +#define IS_HASWELL_PLUS(devid) (IS_HASWELL(devid) || IS_BROADWELL(devid)) + #define BITSTO(n) (n >= sizeof(long) * 8 ? ~0 : (1UL << (n)) - 1) #define BITMASK(high, low) (BITSTO(high+1) & ~BITSTO(low)) #define BITS(reg, high, low) (((reg) & (BITMASK(high, low))) >> (low))