~ubuntu-branches/ubuntu/karmic/virtualbox-ose/karmic-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/x11include/xorg-server-1.6.0/tda9885.h

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2009-09-14 18:25:07 UTC
  • mfrom: (0.4.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090914182507-c98g07mq16hjmn6d
Tags: 3.0.6-dfsg-1ubuntu1
* Merge from debian unstable (LP: #429697), remaining changes:
  - Enable DKMS support on virtualbox host and guest modules (LP: #267097)
    - Drop virtualbox-ose{-guest,}-modules-* package templates
    - Recommend *-source instead of *-modules packages
    - Replace error messages related to missing/mismatched
      kernel module accordingly
  - Autoload kernel module
    - LOAD_VBOXDRV_MODULE=1 in virtualbox-ose.default
  - Disable update action
    - patches/u01-disable-update-action.dpatch
  - Virtualbox should go in Accessories, not in System tools (LP: #288590)
    - virtualbox-ose-qt.files/virtualbox-ose.desktop
  - Add apport hook
    - virtualbox-ose.files/source_virtualbox-ose.py
    - virtualbox-ose.install
  - Add launchpad integration
    - control
    - lpi-bug.xpm
    - patches/u02-lp-integration.dpatch
  - virtualbox, virtualbox-* (names of the upstream proprietary packages)
    conflict with virtualbox-ose (LP: #379878)
* Make debug package depend on normal or guest utils package
* Drop patches/22-pulseaudio-stubs.dpatch (applied upstream)
* Rename Ubuntu specific patches to uXX-*.dpatch
* Fix lintian warnings in maintainer scripts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __TDA9885_H__
2
 
#define __TDA9885_H__
3
 
 
4
 
#include "xf86i2c.h"
5
 
 
6
 
typedef struct {
7
 
        I2CDevRec d;
8
 
        
9
 
        /* write-only parameters */
10
 
                /* B DATA */
11
 
        CARD8  sound_trap;
12
 
        CARD8  auto_mute_fm;
13
 
        CARD8  carrier_mode;
14
 
        CARD8  modulation;
15
 
        CARD8  forced_mute_audio;
16
 
        CARD8  port1;
17
 
        CARD8  port2;
18
 
                /* C DATA */
19
 
        CARD8  top_adjustment;
20
 
        CARD8  deemphasis;
21
 
        CARD8  audio_gain;
22
 
                /* E DATA */
23
 
        CARD8  standard_sound_carrier;
24
 
        CARD8  standard_video_if;
25
 
        CARD8  minimum_gain;
26
 
        CARD8  gating;
27
 
        CARD8  vif_agc;
28
 
        /* read-only values */
29
 
        
30
 
        CARD8  after_reset;
31
 
        CARD8  afc_status;
32
 
        CARD8  vif_level;
33
 
        CARD8  afc_win;
34
 
        CARD8  fm_carrier;
35
 
        } TDA9885Rec, *TDA9885Ptr;
36
 
 
37
 
#define TDA9885_ADDR_1   0x86
38
 
#define TDA9885_ADDR_2   0x84
39
 
#define TDA9885_ADDR_3   0x96
40
 
#define TDA9885_ADDR_4   0x94
41
 
 
42
 
TDA9885Ptr Detect_tda9885(I2CBusPtr b, I2CSlaveAddr addr);
43
 
Bool tda9885_init(TDA9885Ptr t);
44
 
void tda9885_setparameters(TDA9885Ptr t);
45
 
void tda9885_getstatus(TDA9885Ptr t);
46
 
void tda9885_dumpstatus(TDA9885Ptr t);
47
 
 
48
 
#define TDA9885SymbolsList  \
49
 
                "Detect_tda9885", \
50
 
                "tda9885_init", \
51
 
                "tda9885_setaudio", \
52
 
                "tda9885_mute"
53
 
 
54
 
#define xf86_Detect_tda9885       ((TDA9885Ptr (*)(I2CBusPtr, I2CSlaveAddr))LoaderSymbol("Detect_tda9885"))
55
 
#define xf86_tda9885_init         ((Bool (*)(TDA9885Ptr))LoaderSymbol("tda9885_init"))
56
 
#define xf86_tda9885_setparameters     ((void (*)(TDA9885Ptr))LoaderSymbol("tda9885_setparameters"))
57
 
#define xf86_tda9885_getstatus    ((void (*)(TDA9885Ptr))LoaderSymbol("tda9885_getstatus"))
58
 
#define xf86_tda9885_dumpstatus    ((void (*)(TDA9885Ptr))LoaderSymbol("tda9885_dumpstatus"))
59
 
 
60
 
#endif