Deleted Added
full compact
hdac.c (264961) hdac.c (275439)
1/*-
2 * Copyright (c) 2006 Stephane E. Potvin <sepotvin@videotron.ca>
3 * Copyright (c) 2006 Ariff Abdullah <ariff@FreeBSD.org>
4 * Copyright (c) 2008-2012 Alexander Motin <mav@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 34 unchanged lines hidden (view full) ---

43
44#include <dev/sound/pci/hda/hdac_private.h>
45#include <dev/sound/pci/hda/hdac_reg.h>
46#include <dev/sound/pci/hda/hda_reg.h>
47#include <dev/sound/pci/hda/hdac.h>
48
49#define HDA_DRV_TEST_REV "20120126_0002"
50
1/*-
2 * Copyright (c) 2006 Stephane E. Potvin <sepotvin@videotron.ca>
3 * Copyright (c) 2006 Ariff Abdullah <ariff@FreeBSD.org>
4 * Copyright (c) 2008-2012 Alexander Motin <mav@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

--- 34 unchanged lines hidden (view full) ---

43
44#include <dev/sound/pci/hda/hdac_private.h>
45#include <dev/sound/pci/hda/hdac_reg.h>
46#include <dev/sound/pci/hda/hda_reg.h>
47#include <dev/sound/pci/hda/hdac.h>
48
49#define HDA_DRV_TEST_REV "20120126_0002"
50
51SND_DECLARE_FILE("$FreeBSD: stable/10/sys/dev/sound/pci/hda/hdac.c 264961 2014-04-26 01:00:28Z marius $");
51SND_DECLARE_FILE("$FreeBSD: stable/10/sys/dev/sound/pci/hda/hdac.c 275439 2014-12-03 06:53:49Z mav $");
52
53#define hdac_lock(sc) snd_mtxlock((sc)->lock)
54#define hdac_unlock(sc) snd_mtxunlock((sc)->lock)
55#define hdac_lockassert(sc) snd_mtxassert((sc)->lock)
56#define hdac_lockowned(sc) mtx_owned((sc)->lock)
57
58#define HDAC_QUIRK_64BIT (1 << 0)
59#define HDAC_QUIRK_DMAPOS (1 << 1)

--- 21 unchanged lines hidden (view full) ---

81 { HDA_INTEL_HSW1, "Intel Haswell", 0, 0 },
82 { HDA_INTEL_HSW2, "Intel Haswell", 0, 0 },
83 { HDA_INTEL_HSW3, "Intel Haswell", 0, 0 },
84 { HDA_INTEL_CPT, "Intel Cougar Point", 0, 0 },
85 { HDA_INTEL_PATSBURG,"Intel Patsburg", 0, 0 },
86 { HDA_INTEL_PPT1, "Intel Panther Point", 0, 0 },
87 { HDA_INTEL_LPT1, "Intel Lynx Point", 0, 0 },
88 { HDA_INTEL_LPT2, "Intel Lynx Point", 0, 0 },
52
53#define hdac_lock(sc) snd_mtxlock((sc)->lock)
54#define hdac_unlock(sc) snd_mtxunlock((sc)->lock)
55#define hdac_lockassert(sc) snd_mtxassert((sc)->lock)
56#define hdac_lockowned(sc) mtx_owned((sc)->lock)
57
58#define HDAC_QUIRK_64BIT (1 << 0)
59#define HDAC_QUIRK_DMAPOS (1 << 1)

--- 21 unchanged lines hidden (view full) ---

81 { HDA_INTEL_HSW1, "Intel Haswell", 0, 0 },
82 { HDA_INTEL_HSW2, "Intel Haswell", 0, 0 },
83 { HDA_INTEL_HSW3, "Intel Haswell", 0, 0 },
84 { HDA_INTEL_CPT, "Intel Cougar Point", 0, 0 },
85 { HDA_INTEL_PATSBURG,"Intel Patsburg", 0, 0 },
86 { HDA_INTEL_PPT1, "Intel Panther Point", 0, 0 },
87 { HDA_INTEL_LPT1, "Intel Lynx Point", 0, 0 },
88 { HDA_INTEL_LPT2, "Intel Lynx Point", 0, 0 },
89 { HDA_INTEL_WCPT, "Intel Wildcat Point", 0, 0 },
89 { HDA_INTEL_WELLS1, "Intel Wellsburg", 0, 0 },
90 { HDA_INTEL_WELLS2, "Intel Wellsburg", 0, 0 },
91 { HDA_INTEL_LPTLP1, "Intel Lynx Point-LP", 0, 0 },
92 { HDA_INTEL_LPTLP2, "Intel Lynx Point-LP", 0, 0 },
93 { HDA_INTEL_82801F, "Intel 82801F", 0, 0 },
94 { HDA_INTEL_63XXESB, "Intel 631x/632xESB", 0, 0 },
95 { HDA_INTEL_82801G, "Intel 82801G", 0, 0 },
96 { HDA_INTEL_82801H, "Intel 82801H", 0, 0 },

--- 1991 unchanged lines hidden ---
90 { HDA_INTEL_WELLS1, "Intel Wellsburg", 0, 0 },
91 { HDA_INTEL_WELLS2, "Intel Wellsburg", 0, 0 },
92 { HDA_INTEL_LPTLP1, "Intel Lynx Point-LP", 0, 0 },
93 { HDA_INTEL_LPTLP2, "Intel Lynx Point-LP", 0, 0 },
94 { HDA_INTEL_82801F, "Intel 82801F", 0, 0 },
95 { HDA_INTEL_63XXESB, "Intel 631x/632xESB", 0, 0 },
96 { HDA_INTEL_82801G, "Intel 82801G", 0, 0 },
97 { HDA_INTEL_82801H, "Intel 82801H", 0, 0 },

--- 1991 unchanged lines hidden ---