Linux Kernel
3.7.1
|
#include "tegra_pcm.h"
Go to the source code of this file.
Data Structures | |
struct | tegra20_i2s |
#define TEGRA20_I2S_BIT_FORMAT_DSP 3 |
Definition at line 69 of file tegra20_i2s.h.
#define TEGRA20_I2S_BIT_FORMAT_I2S 0 |
Definition at line 66 of file tegra20_i2s.h.
#define TEGRA20_I2S_BIT_FORMAT_LJM 2 |
Definition at line 68 of file tegra20_i2s.h.
#define TEGRA20_I2S_BIT_FORMAT_RJM 1 |
Definition at line 67 of file tegra20_i2s.h.
#define TEGRA20_I2S_BIT_SIZE_16 0 |
Definition at line 78 of file tegra20_i2s.h.
#define TEGRA20_I2S_BIT_SIZE_20 1 |
Definition at line 79 of file tegra20_i2s.h.
#define TEGRA20_I2S_BIT_SIZE_24 2 |
Definition at line 80 of file tegra20_i2s.h.
#define TEGRA20_I2S_BIT_SIZE_32 3 |
Definition at line 81 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL 0x00 |
Definition at line 38 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_FORMAT_DSP (TEGRA20_I2S_BIT_FORMAT_DSP << TEGRA20_I2S_CTRL_BIT_FORMAT_SHIFT) |
Definition at line 76 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_FORMAT_I2S (TEGRA20_I2S_BIT_FORMAT_I2S << TEGRA20_I2S_CTRL_BIT_FORMAT_SHIFT) |
Definition at line 73 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_FORMAT_LJM (TEGRA20_I2S_BIT_FORMAT_LJM << TEGRA20_I2S_CTRL_BIT_FORMAT_SHIFT) |
Definition at line 75 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_FORMAT_MASK (3 << TEGRA20_I2S_CTRL_BIT_FORMAT_SHIFT) |
Definition at line 72 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_FORMAT_RJM (TEGRA20_I2S_BIT_FORMAT_RJM << TEGRA20_I2S_CTRL_BIT_FORMAT_SHIFT) |
Definition at line 74 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_FORMAT_SHIFT 10 |
Definition at line 71 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_SIZE_16 (TEGRA20_I2S_BIT_SIZE_16 << TEGRA20_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 85 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_SIZE_20 (TEGRA20_I2S_BIT_SIZE_20 << TEGRA20_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 86 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_SIZE_24 (TEGRA20_I2S_BIT_SIZE_24 << TEGRA20_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 87 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_SIZE_32 (TEGRA20_I2S_BIT_SIZE_32 << TEGRA20_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 88 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_SIZE_MASK (3 << TEGRA20_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 84 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_BIT_SIZE_SHIFT 8 |
Definition at line 83 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO1_ENABLE (1 << 29) |
Definition at line 52 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO1_RX_ENABLE (1 << 27) |
Definition at line 54 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO2_ENABLE (1 << 28) |
Definition at line 53 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO2_TX_ENABLE (1 << 30) |
Definition at line 51 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO_FORMAT_16_LSB (TEGRA20_I2S_FIFO_16_LSB << TEGRA20_I2S_CTRL_FIFO_FORMAT_SHIFT) |
Definition at line 98 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO_FORMAT_20_LSB (TEGRA20_I2S_FIFO_20_LSB << TEGRA20_I2S_CTRL_FIFO_FORMAT_SHIFT) |
Definition at line 99 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO_FORMAT_24_LSB (TEGRA20_I2S_FIFO_24_LSB << TEGRA20_I2S_CTRL_FIFO_FORMAT_SHIFT) |
Definition at line 100 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO_FORMAT_32 (TEGRA20_I2S_FIFO_32 << TEGRA20_I2S_CTRL_FIFO_FORMAT_SHIFT) |
Definition at line 101 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO_FORMAT_MASK (7 << TEGRA20_I2S_CTRL_FIFO_FORMAT_SHIFT) |
Definition at line 97 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO_FORMAT_PACKED (TEGRA20_I2S_FIFO_PACKED << TEGRA20_I2S_CTRL_FIFO_FORMAT_SHIFT) |
Definition at line 102 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO_FORMAT_SHIFT 4 |
Definition at line 96 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_FIFO_LPBK_ENABLE (1 << 26) |
Definition at line 55 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_IE_FIFO1_ERR (1 << 3) |
Definition at line 104 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_IE_FIFO2_ERR (1 << 2) |
Definition at line 105 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_LRCK_L_LOW (TEGRA20_I2S_LRCK_LEFT_LOW << TEGRA20_I2S_CTRL_LRCK_SHIFT) |
Definition at line 63 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_LRCK_MASK (1 << TEGRA20_I2S_CTRL_LRCK_SHIFT) |
Definition at line 62 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_LRCK_R_LOW (TEGRA20_I2S_LRCK_RIGHT_LOW << TEGRA20_I2S_CTRL_LRCK_SHIFT) |
Definition at line 64 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_LRCK_SHIFT 24 |
Definition at line 61 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_MASTER_ENABLE (1 << 25) |
Definition at line 56 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_QE_FIFO1 (1 << 1) |
Definition at line 106 of file tegra20_i2s.h.
#define TEGRA20_I2S_CTRL_QE_FIFO2 (1 << 0) |
Definition at line 107 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO1 0x40 |
Definition at line 46 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO2 0x80 |
Definition at line 47 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_16_LSB 0 |
Definition at line 90 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_20_LSB 1 |
Definition at line 91 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_24_LSB 2 |
Definition at line 92 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_32 3 |
Definition at line 93 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_ATN_LVL_EIGHT_SLOTS 2 |
Definition at line 138 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_ATN_LVL_FOUR_SLOTS 1 |
Definition at line 137 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_ATN_LVL_ONE_SLOT 0 |
Definition at line 136 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_ATN_LVL_TWELVE_SLOTS 3 |
Definition at line 139 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_PACKED 7 |
Definition at line 94 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR 0x0c |
Definition at line 41 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_EIGHT_SLOTS (TEGRA20_I2S_FIFO_ATN_LVL_EIGHT_SLOTS << TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_SHIFT) |
Definition at line 152 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_FOUR_SLOTS (TEGRA20_I2S_FIFO_ATN_LVL_FOUR_SLOTS << TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_SHIFT) |
Definition at line 151 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_MASK (3 << TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_SHIFT) |
Definition at line 149 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_ONE_SLOT (TEGRA20_I2S_FIFO_ATN_LVL_ONE_SLOT << TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_SHIFT) |
Definition at line 150 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_SHIFT 0 |
Definition at line 148 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_TWELVE_SLOTS (TEGRA20_I2S_FIFO_ATN_LVL_TWELVE_SLOTS << TEGRA20_I2S_FIFO_SCR_FIFO1_ATN_LVL_SHIFT) |
Definition at line 153 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO1_CLR (1 << 8) |
Definition at line 134 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO1_FULL_EMPTY_COUNT_SHIFT 16 |
Definition at line 130 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_EIGHT_SLOTS (TEGRA20_I2S_FIFO_ATN_LVL_EIGHT_SLOTS << TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_SHIFT) |
Definition at line 145 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_FOUR_SLOTS (TEGRA20_I2S_FIFO_ATN_LVL_FOUR_SLOTS << TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_SHIFT) |
Definition at line 144 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_MASK (3 << TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_SHIFT) |
Definition at line 142 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_ONE_SLOT (TEGRA20_I2S_FIFO_ATN_LVL_ONE_SLOT << TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_SHIFT) |
Definition at line 143 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_SHIFT 4 |
Definition at line 141 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_TWELVE_SLOTS (TEGRA20_I2S_FIFO_ATN_LVL_TWELVE_SLOTS << TEGRA20_I2S_FIFO_SCR_FIFO2_ATN_LVL_SHIFT) |
Definition at line 146 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO2_CLR (1 << 12) |
Definition at line 133 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO2_FULL_EMPTY_COUNT_SHIFT 24 |
Definition at line 129 of file tegra20_i2s.h.
#define TEGRA20_I2S_FIFO_SCR_FIFO_FULL_EMPTY_COUNT_MASK 0x3f |
Definition at line 131 of file tegra20_i2s.h.
#define TEGRA20_I2S_LRCK_LEFT_LOW 0 |
Definition at line 58 of file tegra20_i2s.h.
#define TEGRA20_I2S_LRCK_RIGHT_LOW 1 |
Definition at line 59 of file tegra20_i2s.h.
#define TEGRA20_I2S_NW_CTRL 0x14 |
Definition at line 43 of file tegra20_i2s.h.
#define TEGRA20_I2S_PCM_CTRL 0x10 |
Definition at line 42 of file tegra20_i2s.h.
#define TEGRA20_I2S_STATUS 0x04 |
Definition at line 39 of file tegra20_i2s.h.
#define TEGRA20_I2S_STATUS_FIFO1_BSY (1 << 29) |
Definition at line 113 of file tegra20_i2s.h.
#define TEGRA20_I2S_STATUS_FIFO1_ERR (1 << 3) |
Definition at line 115 of file tegra20_i2s.h.
#define TEGRA20_I2S_STATUS_FIFO1_RDY (1 << 31) |
Definition at line 111 of file tegra20_i2s.h.
#define TEGRA20_I2S_STATUS_FIFO2_BSY (1 << 28) |
Definition at line 114 of file tegra20_i2s.h.
#define TEGRA20_I2S_STATUS_FIFO2_ERR (1 << 2) |
Definition at line 116 of file tegra20_i2s.h.
#define TEGRA20_I2S_STATUS_FIFO2_RDY (1 << 30) |
Definition at line 112 of file tegra20_i2s.h.
#define TEGRA20_I2S_STATUS_QS_FIFO1 (1 << 1) |
Definition at line 117 of file tegra20_i2s.h.
#define TEGRA20_I2S_STATUS_QS_FIFO2 (1 << 0) |
Definition at line 118 of file tegra20_i2s.h.
#define TEGRA20_I2S_TDM_CTRL 0x20 |
Definition at line 44 of file tegra20_i2s.h.
#define TEGRA20_I2S_TDM_TX_RX_CTRL 0x24 |
Definition at line 45 of file tegra20_i2s.h.
#define TEGRA20_I2S_TIMING 0x08 |
Definition at line 40 of file tegra20_i2s.h.
#define TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK (TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US << TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT) |
Definition at line 125 of file tegra20_i2s.h.
#define TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US 0x7fff |
Definition at line 124 of file tegra20_i2s.h.
#define TEGRA20_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT 0 |
Definition at line 123 of file tegra20_i2s.h.
#define TEGRA20_I2S_TIMING_NON_SYM_ENABLE (1 << 12) |
Definition at line 122 of file tegra20_i2s.h.