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

Go to the source code of this file.

Data Structures

struct  tegra20_das
 

Macros

#define TEGRA20_DAS_DAP_CTRL_SEL   0x00
 
#define TEGRA20_DAS_DAP_CTRL_SEL_COUNT   5
 
#define TEGRA20_DAS_DAP_CTRL_SEL_STRIDE   4
 
#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_MS_SEL_P   31
 
#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_MS_SEL_S   1
 
#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_SDATA1_TX_RX_P   30
 
#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_SDATA1_TX_RX_S   1
 
#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_SDATA2_TX_RX_P   29
 
#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_SDATA2_TX_RX_S   1
 
#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_CTRL_SEL_P   0
 
#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_CTRL_SEL_S   5
 
#define TEGRA20_DAS_DAP_SEL_DAC1   0
 
#define TEGRA20_DAS_DAP_SEL_DAC2   1
 
#define TEGRA20_DAS_DAP_SEL_DAC3   2
 
#define TEGRA20_DAS_DAP_SEL_DAP1   16
 
#define TEGRA20_DAS_DAP_SEL_DAP2   17
 
#define TEGRA20_DAS_DAP_SEL_DAP3   18
 
#define TEGRA20_DAS_DAP_SEL_DAP4   19
 
#define TEGRA20_DAS_DAP_SEL_DAP5   20
 
#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL   0x40
 
#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_COUNT   3
 
#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_STRIDE   4
 
#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_SDATA2_SEL_P   28
 
#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_SDATA2_SEL_S   4
 
#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_SDATA1_SEL_P   24
 
#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_SDATA1_SEL_S   4
 
#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_CLK_SEL_P   0
 
#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_CLK_SEL_S   4
 
#define TEGRA20_DAS_DAC_SEL_DAP1   0
 
#define TEGRA20_DAS_DAC_SEL_DAP2   1
 
#define TEGRA20_DAS_DAC_SEL_DAP3   2
 
#define TEGRA20_DAS_DAC_SEL_DAP4   3
 
#define TEGRA20_DAS_DAC_SEL_DAP5   4
 
#define TEGRA20_DAS_DAP_ID_1   0
 
#define TEGRA20_DAS_DAP_ID_2   1
 
#define TEGRA20_DAS_DAP_ID_3   2
 
#define TEGRA20_DAS_DAP_ID_4   3
 
#define TEGRA20_DAS_DAP_ID_5   4
 
#define TEGRA20_DAS_DAC_ID_1   0
 
#define TEGRA20_DAS_DAC_ID_2   1
 
#define TEGRA20_DAS_DAC_ID_3   2
 

Functions

int tegra20_das_connect_dap_to_dac (int dap_id, int dac_sel)
 
int tegra20_das_connect_dap_to_dap (int dap_id, int other_dap_sel, int master, int sdata1rx, int sdata2rx)
 
int tegra20_das_connect_dac_to_dap (int dac_id, int dap_sel)
 

Macro Definition Documentation

#define TEGRA20_DAS_DAC_ID_1   0

Definition at line 82 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_ID_2   1

Definition at line 83 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_ID_3   2

Definition at line 84 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL   0x40

Definition at line 50 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_COUNT   3

Definition at line 51 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_CLK_SEL_P   0

Definition at line 57 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_CLK_SEL_S   4

Definition at line 58 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_SDATA1_SEL_P   24

Definition at line 55 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_SDATA1_SEL_S   4

Definition at line 56 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_SDATA2_SEL_P   28

Definition at line 53 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_DAC_SDATA2_SEL_S   4

Definition at line 54 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_INPUT_DATA_CLK_SEL_STRIDE   4

Definition at line 52 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_SEL_DAP1   0

Definition at line 66 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_SEL_DAP2   1

Definition at line 67 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_SEL_DAP3   2

Definition at line 68 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_SEL_DAP4   3

Definition at line 69 of file tegra20_das.h.

#define TEGRA20_DAS_DAC_SEL_DAP5   4

Definition at line 70 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL   0x00

Definition at line 27 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_COUNT   5

Definition at line 28 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_CTRL_SEL_P   0

Definition at line 36 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_CTRL_SEL_S   5

Definition at line 37 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_MS_SEL_P   31

Definition at line 30 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_MS_SEL_S   1

Definition at line 31 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_SDATA1_TX_RX_P   30

Definition at line 32 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_SDATA1_TX_RX_S   1

Definition at line 33 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_SDATA2_TX_RX_P   29

Definition at line 34 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_DAP_SDATA2_TX_RX_S   1

Definition at line 35 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_CTRL_SEL_STRIDE   4

Definition at line 29 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_ID_1   0

Definition at line 76 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_ID_2   1

Definition at line 77 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_ID_3   2

Definition at line 78 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_ID_4   3

Definition at line 79 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_ID_5   4

Definition at line 80 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_SEL_DAC1   0

Definition at line 40 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_SEL_DAC2   1

Definition at line 41 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_SEL_DAC3   2

Definition at line 42 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_SEL_DAP1   16

Definition at line 43 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_SEL_DAP2   17

Definition at line 44 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_SEL_DAP3   18

Definition at line 45 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_SEL_DAP4   19

Definition at line 46 of file tegra20_das.h.

#define TEGRA20_DAS_DAP_SEL_DAP5   20

Definition at line 47 of file tegra20_das.h.

Function Documentation

int tegra20_das_connect_dac_to_dap ( int  dac_id,
int  dap_sel 
)

Definition at line 88 of file tegra20_das.c.

int tegra20_das_connect_dap_to_dac ( int  dap_id,
int  dac_sel 
)

Definition at line 48 of file tegra20_das.c.

int tegra20_das_connect_dap_to_dap ( int  dap_id,
int  other_dap_sel,
int  master,
int  sdata1rx,
int  sdata2rx 
)

Definition at line 66 of file tegra20_das.c.