Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
msp3400.h File Reference

Go to the source code of this file.

Macros

#define MSP_IN_SCART1   0 /* Pin SC1_IN */
 
#define MSP_IN_SCART2   1 /* Pin SC2_IN */
 
#define MSP_IN_SCART3   2 /* Pin SC3_IN */
 
#define MSP_IN_SCART4   3 /* Pin SC4_IN */
 
#define MSP_IN_MONO   6 /* Pin MONO_IN */
 
#define MSP_IN_MUTE   7 /* Mute DSP input */
 
#define MSP_SCART_TO_DSP(in)   (in)
 
#define MSP_IN_TUNER1   0 /* Analog Sound IF input pin ANA_IN1 */
 
#define MSP_IN_TUNER2   1 /* Analog Sound IF input pin ANA_IN2 */
 
#define MSP_TUNER_TO_DSP(in)   ((in) << 3)
 
#define MSP_DSP_IN_TUNER   0 /* Tuner DSP input */
 
#define MSP_DSP_IN_SCART   2 /* SCART DSP input */
 
#define MSP_DSP_IN_I2S1   5 /* I2S1 DSP input */
 
#define MSP_DSP_IN_I2S2   6 /* I2S2 DSP input */
 
#define MSP_DSP_IN_I2S3   7 /* I2S3 DSP input */
 
#define MSP_DSP_IN_MAIN_AVC   11 /* MAIN AVC processed DSP input */
 
#define MSP_DSP_IN_MAIN   12 /* MAIN DSP input */
 
#define MSP_DSP_IN_AUX   13 /* AUX DSP input */
 
#define MSP_DSP_TO_MAIN(in)   ((in) << 4)
 
#define MSP_DSP_TO_AUX(in)   ((in) << 8)
 
#define MSP_DSP_TO_SCART1(in)   ((in) << 12)
 
#define MSP_DSP_TO_SCART2(in)   ((in) << 16)
 
#define MSP_DSP_TO_I2S(in)   ((in) << 20)
 
#define MSP_SC_IN_SCART1   0 /* SCART1 input, bypassing the DSP */
 
#define MSP_SC_IN_SCART2   1 /* SCART2 input, bypassing the DSP */
 
#define MSP_SC_IN_SCART3   2 /* SCART3 input, bypassing the DSP */
 
#define MSP_SC_IN_SCART4   3 /* SCART4 input, bypassing the DSP */
 
#define MSP_SC_IN_DSP_SCART1   4 /* DSP SCART1 input */
 
#define MSP_SC_IN_DSP_SCART2   5 /* DSP SCART2 input */
 
#define MSP_SC_IN_MONO   6 /* MONO input, bypassing the DSP */
 
#define MSP_SC_IN_MUTE   7 /* MUTE output */
 
#define MSP_SC_TO_SCART1(in)   (in)
 
#define MSP_SC_TO_SCART2(in)   ((in) << 4)
 
#define MSP_INPUT(sc, t, main_aux_src, sc_i2s_src)
 
#define MSP_INPUT_DEFAULT
 
#define MSP_OUTPUT(sc)
 
#define MSP_OUTPUT_DEFAULT
 

Macro Definition Documentation

#define MSP_DSP_IN_AUX   13 /* AUX DSP input */

Definition at line 119 of file msp3400.h.

#define MSP_DSP_IN_I2S1   5 /* I2S1 DSP input */

Definition at line 114 of file msp3400.h.

#define MSP_DSP_IN_I2S2   6 /* I2S2 DSP input */

Definition at line 115 of file msp3400.h.

#define MSP_DSP_IN_I2S3   7 /* I2S3 DSP input */

Definition at line 116 of file msp3400.h.

#define MSP_DSP_IN_MAIN   12 /* MAIN DSP input */

Definition at line 118 of file msp3400.h.

#define MSP_DSP_IN_MAIN_AVC   11 /* MAIN AVC processed DSP input */

Definition at line 117 of file msp3400.h.

#define MSP_DSP_IN_SCART   2 /* SCART DSP input */

Definition at line 113 of file msp3400.h.

#define MSP_DSP_IN_TUNER   0 /* Tuner DSP input */

Definition at line 112 of file msp3400.h.

#define MSP_DSP_TO_AUX (   in)    ((in) << 8)

Definition at line 121 of file msp3400.h.

#define MSP_DSP_TO_I2S (   in)    ((in) << 20)

Definition at line 124 of file msp3400.h.

#define MSP_DSP_TO_MAIN (   in)    ((in) << 4)

Definition at line 120 of file msp3400.h.

#define MSP_DSP_TO_SCART1 (   in)    ((in) << 12)

Definition at line 122 of file msp3400.h.

#define MSP_DSP_TO_SCART2 (   in)    ((in) << 16)

Definition at line 123 of file msp3400.h.

#define MSP_IN_MONO   6 /* Pin MONO_IN */

Definition at line 87 of file msp3400.h.

#define MSP_IN_MUTE   7 /* Mute DSP input */

Definition at line 88 of file msp3400.h.

#define MSP_IN_SCART1   0 /* Pin SC1_IN */

Definition at line 83 of file msp3400.h.

#define MSP_IN_SCART2   1 /* Pin SC2_IN */

Definition at line 84 of file msp3400.h.

#define MSP_IN_SCART3   2 /* Pin SC3_IN */

Definition at line 85 of file msp3400.h.

#define MSP_IN_SCART4   3 /* Pin SC4_IN */

Definition at line 86 of file msp3400.h.

#define MSP_IN_TUNER1   0 /* Analog Sound IF input pin ANA_IN1 */

Definition at line 91 of file msp3400.h.

#define MSP_IN_TUNER2   1 /* Analog Sound IF input pin ANA_IN2 */

Definition at line 92 of file msp3400.h.

#define MSP_INPUT (   sc,
  t,
  main_aux_src,
  sc_i2s_src 
)
Value:
MSP_TUNER_TO_DSP(t) | \
MSP_DSP_TO_MAIN(main_aux_src) | \
MSP_DSP_TO_AUX(main_aux_src) | \
MSP_DSP_TO_SCART1(sc_i2s_src) | \
MSP_DSP_TO_SCART2(sc_i2s_src) | \
MSP_DSP_TO_I2S(sc_i2s_src))

Definition at line 140 of file msp3400.h.

#define MSP_INPUT_DEFAULT
#define MSP_OUTPUT (   sc)
Value:
MSP_SC_TO_SCART2(sc))

Definition at line 150 of file msp3400.h.

#define MSP_OUTPUT_DEFAULT
Value:

Definition at line 154 of file msp3400.h.

#define MSP_SC_IN_DSP_SCART1   4 /* DSP SCART1 input */

Definition at line 132 of file msp3400.h.

#define MSP_SC_IN_DSP_SCART2   5 /* DSP SCART2 input */

Definition at line 133 of file msp3400.h.

#define MSP_SC_IN_MONO   6 /* MONO input, bypassing the DSP */

Definition at line 134 of file msp3400.h.

#define MSP_SC_IN_MUTE   7 /* MUTE output */

Definition at line 135 of file msp3400.h.

#define MSP_SC_IN_SCART1   0 /* SCART1 input, bypassing the DSP */

Definition at line 128 of file msp3400.h.

#define MSP_SC_IN_SCART2   1 /* SCART2 input, bypassing the DSP */

Definition at line 129 of file msp3400.h.

#define MSP_SC_IN_SCART3   2 /* SCART3 input, bypassing the DSP */

Definition at line 130 of file msp3400.h.

#define MSP_SC_IN_SCART4   3 /* SCART4 input, bypassing the DSP */

Definition at line 131 of file msp3400.h.

#define MSP_SC_TO_SCART1 (   in)    (in)

Definition at line 136 of file msp3400.h.

#define MSP_SC_TO_SCART2 (   in)    ((in) << 4)

Definition at line 137 of file msp3400.h.

#define MSP_SCART_TO_DSP (   in)    (in)

Definition at line 89 of file msp3400.h.

#define MSP_TUNER_TO_DSP (   in)    ((in) << 3)

Definition at line 93 of file msp3400.h.