Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
onyx.h File Reference
#include <stddef.h>
#include <linux/i2c.h>
#include <asm/pmac_low_i2c.h>
#include <asm/prom.h>

Go to the source code of this file.

Macros

#define ONYX_REG_DAC_ATTEN_LEFT   65
 
#define FIRSTREGISTER   ONYX_REG_DAC_ATTEN_LEFT
 
#define ONYX_REG_DAC_ATTEN_RIGHT   66
 
#define ONYX_REG_CONTROL   67
 
#define ONYX_MRST   (1<<7)
 
#define ONYX_SRST   (1<<6)
 
#define ONYX_ADPSV   (1<<5)
 
#define ONYX_DAPSV   (1<<4)
 
#define ONYX_SILICONVERSION   (1<<0)
 
#define ONYX_REG_DAC_CONTROL   68
 
#define ONYX_OVR1   (1<<6)
 
#define ONYX_MUTE_RIGHT   (1<<1)
 
#define ONYX_MUTE_LEFT   (1<<0)
 
#define ONYX_REG_DAC_DEEMPH   69
 
#define ONYX_DIGDEEMPH_SHIFT   5
 
#define ONYX_DIGDEEMPH_MASK   (3<<ONYX_DIGDEEMPH_SHIFT)
 
#define ONYX_DIGDEEMPH_CTRL   (1<<4)
 
#define ONYX_REG_DAC_FILTER   70
 
#define ONYX_ROLLOFF_FAST   (1<<5)
 
#define ONYX_DAC_FILTER_ALWAYS   (1<<2)
 
#define ONYX_REG_DAC_OUTPHASE   71
 
#define ONYX_OUTPHASE_INVERTED   (1<<0)
 
#define ONYX_REG_ADC_CONTROL   72
 
#define ONYX_ADC_INPUT_MIC   (1<<5)
 
#define ONYX_ADC_PGA_GAIN_MASK   0x1f
 
#define ONYX_REG_ADC_HPF_BYPASS   75
 
#define ONYX_HPF_DISABLE   (1<<3)
 
#define ONYX_ADC_HPF_ALWAYS   (1<<2)
 
#define ONYX_REG_DIG_INFO1   77
 
#define ONYX_MASK_DIN_TO_BPZ   (1<<7)
 
#define ONYX_DIGOUT_DISABLE   (1<<0)
 
#define ONYX_REG_DIG_INFO2   78
 
#define ONYX_REG_DIG_INFO3   79
 
#define ONYX_REG_DIG_INFO4   80
 
#define ONYX_VALIDL   (1<<7)
 
#define ONYX_VALIDR   (1<<6)
 
#define ONYX_SPDIF_ENABLE   (1<<5)
 
#define ONYX_WORDLEN_MASK   (0xF)
 

Macro Definition Documentation

#define FIRSTREGISTER   ONYX_REG_DAC_ATTEN_LEFT

Definition at line 20 of file onyx.h.

#define ONYX_ADC_HPF_ALWAYS   (1<<2)

Definition at line 55 of file onyx.h.

#define ONYX_ADC_INPUT_MIC   (1<<5)

Definition at line 49 of file onyx.h.

#define ONYX_ADC_PGA_GAIN_MASK   0x1f

Definition at line 51 of file onyx.h.

#define ONYX_ADPSV   (1<<5)

Definition at line 26 of file onyx.h.

#define ONYX_DAC_FILTER_ALWAYS   (1<<2)

Definition at line 43 of file onyx.h.

#define ONYX_DAPSV   (1<<4)

Definition at line 27 of file onyx.h.

#define ONYX_DIGDEEMPH_CTRL   (1<<4)

Definition at line 39 of file onyx.h.

#define ONYX_DIGDEEMPH_MASK   (3<<ONYX_DIGDEEMPH_SHIFT)

Definition at line 38 of file onyx.h.

#define ONYX_DIGDEEMPH_SHIFT   5

Definition at line 37 of file onyx.h.

#define ONYX_DIGOUT_DISABLE   (1<<0)

Definition at line 60 of file onyx.h.

#define ONYX_HPF_DISABLE   (1<<3)

Definition at line 54 of file onyx.h.

#define ONYX_MASK_DIN_TO_BPZ   (1<<7)

Definition at line 58 of file onyx.h.

#define ONYX_MRST   (1<<7)

Definition at line 24 of file onyx.h.

#define ONYX_MUTE_LEFT   (1<<0)

Definition at line 34 of file onyx.h.

#define ONYX_MUTE_RIGHT   (1<<1)

Definition at line 33 of file onyx.h.

#define ONYX_OUTPHASE_INVERTED   (1<<0)

Definition at line 46 of file onyx.h.

#define ONYX_OVR1   (1<<6)

Definition at line 32 of file onyx.h.

#define ONYX_REG_ADC_CONTROL   72

Definition at line 48 of file onyx.h.

#define ONYX_REG_ADC_HPF_BYPASS   75

Definition at line 53 of file onyx.h.

#define ONYX_REG_CONTROL   67

Definition at line 23 of file onyx.h.

#define ONYX_REG_DAC_ATTEN_LEFT   65

Definition at line 19 of file onyx.h.

#define ONYX_REG_DAC_ATTEN_RIGHT   66

Definition at line 21 of file onyx.h.

#define ONYX_REG_DAC_CONTROL   68

Definition at line 31 of file onyx.h.

#define ONYX_REG_DAC_DEEMPH   69

Definition at line 36 of file onyx.h.

#define ONYX_REG_DAC_FILTER   70

Definition at line 41 of file onyx.h.

#define ONYX_REG_DAC_OUTPHASE   71

Definition at line 45 of file onyx.h.

#define ONYX_REG_DIG_INFO1   77

Definition at line 57 of file onyx.h.

#define ONYX_REG_DIG_INFO2   78

Definition at line 62 of file onyx.h.

#define ONYX_REG_DIG_INFO3   79

Definition at line 65 of file onyx.h.

#define ONYX_REG_DIG_INFO4   80

Definition at line 68 of file onyx.h.

#define ONYX_ROLLOFF_FAST   (1<<5)

Definition at line 42 of file onyx.h.

#define ONYX_SILICONVERSION   (1<<0)

Definition at line 28 of file onyx.h.

#define ONYX_SPDIF_ENABLE   (1<<5)

Definition at line 71 of file onyx.h.

#define ONYX_SRST   (1<<6)

Definition at line 25 of file onyx.h.

#define ONYX_VALIDL   (1<<7)

Definition at line 69 of file onyx.h.

#define ONYX_VALIDR   (1<<6)

Definition at line 70 of file onyx.h.

#define ONYX_WORDLEN_MASK   (0xF)

Definition at line 73 of file onyx.h.