~ubuntu-branches/ubuntu/precise/alsa-driver/precise

« back to all changes in this revision

Viewing changes to alsa-kernel/soc/codecs/wm8776.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-11-04 16:28:58 UTC
  • mfrom: (1.1.12 upstream) (3.1.7 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091104162858-7ky0tu33d7mn6oys
Tags: 1.0.21+dfsg-3ubuntu1
* Merge from debian unstable, remaining changes:
  - Script paths (/usr/sbin -> /sbin, /usr/bin -> /bin);
  - debian/rules:
    + Don't install snddevices and program-wrapper
    + install alsa-base apport hook
    + Package separate USB card list file
  - Vcs and maintainer fields mangling
  - Rename blacklist files in /etc/modprobe.d to be consistant with the rest
    of the distro
  - debian/alsa-base.init:
    + create /var/run/alsa if it doesn't exist
    + Run alsactl store before force unloading modules
    + Run alsactl restore after reloading unloaded modules
  - debian/linux-sound-base.postrm: Remove /etc/modprobe.d/blacklist* files
    on package removal
  - Add missing $CMDLINE_OPTS to all install rules.
  - Replace -Q with --quiet.
  - Add --use-blacklist to all rules so the blacklist still takes effect.
  - debian/alsa-base.postinst: Do not run snddevices
  - retain patches:
    + add_suspend_quirk_hp_nc6220_nw8240.patch,
    + refix_lp_68659_by_disabling_dxs_for_0x1458a002.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * wm8776.h  --  WM8776 ASoC driver
 
3
 *
 
4
 * Copyright 2009 Wolfson Microelectronics plc
 
5
 *
 
6
 * Author: Mark Brown <broonie@opensource.wolfsonmicro.com>
 
7
 *
 
8
 * This program is free software; you can redistribute it and/or modify
 
9
 * it under the terms of the GNU General Public License version 2 as
 
10
 * published by the Free Software Foundation.
 
11
 */
 
12
 
 
13
#ifndef _WM8776_H
 
14
#define _WM8776_H
 
15
 
 
16
/* Registers */
 
17
 
 
18
#define WM8776_HPLVOL    0x00
 
19
#define WM8776_HPRVOL    0x01
 
20
#define WM8776_HPMASTER  0x02
 
21
#define WM8776_DACLVOL   0x03
 
22
#define WM8776_DACRVOL   0x04
 
23
#define WM8776_DACMASTER 0x05
 
24
#define WM8776_PHASESWAP 0x06
 
25
#define WM8776_DACCTRL1  0x07
 
26
#define WM8776_DACMUTE   0x08
 
27
#define WM8776_DACCTRL2  0x09
 
28
#define WM8776_DACIFCTRL 0x0a
 
29
#define WM8776_ADCIFCTRL 0x0b
 
30
#define WM8776_MSTRCTRL  0x0c
 
31
#define WM8776_PWRDOWN   0x0d
 
32
#define WM8776_ADCLVOL   0x0e
 
33
#define WM8776_ADCRVOL   0x0f
 
34
#define WM8776_ALCCTRL1  0x10
 
35
#define WM8776_ALCCTRL2  0x11
 
36
#define WM8776_ALCCTRL3  0x12
 
37
#define WM8776_NOISEGATE 0x13
 
38
#define WM8776_LIMITER   0x14
 
39
#define WM8776_ADCMUX    0x15
 
40
#define WM8776_OUTMUX    0x16
 
41
#define WM8776_RESET     0x17
 
42
 
 
43
#define WM8776_CACHEREGNUM 0x17
 
44
 
 
45
#define WM8776_DAI_DAC 0
 
46
#define WM8776_DAI_ADC 1
 
47
 
 
48
extern struct snd_soc_dai wm8776_dai[];
 
49
extern struct snd_soc_codec_device soc_codec_dev_wm8776;
 
50
 
 
51
#endif