Linux Kernel
3.7.1
|
#include "tegra_pcm.h"
Go to the source code of this file.
Data Structures | |
struct | tegra30_i2s |
#define TEGRA30_I2S_BIT_CODE_ALAW 2 |
Definition at line 82 of file tegra30_i2s.h.
#define TEGRA30_I2S_BIT_CODE_LINEAR 0 |
Definition at line 80 of file tegra30_i2s.h.
#define TEGRA30_I2S_BIT_CODE_ULAW 1 |
Definition at line 81 of file tegra30_i2s.h.
#define TEGRA30_I2S_BITS_12 2 |
Definition at line 91 of file tegra30_i2s.h.
#define TEGRA30_I2S_BITS_16 3 |
Definition at line 92 of file tegra30_i2s.h.
#define TEGRA30_I2S_BITS_20 4 |
Definition at line 93 of file tegra30_i2s.h.
#define TEGRA30_I2S_BITS_24 5 |
Definition at line 94 of file tegra30_i2s.h.
#define TEGRA30_I2S_BITS_28 6 |
Definition at line 95 of file tegra30_i2s.h.
#define TEGRA30_I2S_BITS_32 7 |
Definition at line 96 of file tegra30_i2s.h.
#define TEGRA30_I2S_BITS_8 1 |
Definition at line 90 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL 0x0c |
Definition at line 29 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_EGDE_CTRL_MASK (1 << TEGRA30_I2S_CH_CTRL_EGDE_CTRL_SHIFT) |
Definition at line 158 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_EGDE_CTRL_NEG_EDGE (TEGRA30_I2S_NEG_EDGE << TEGRA30_I2S_CH_CTRL_EGDE_CTRL_SHIFT) |
Definition at line 160 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_EGDE_CTRL_POS_EDGE (TEGRA30_I2S_POS_EDGE << TEGRA30_I2S_CH_CTRL_EGDE_CTRL_SHIFT) |
Definition at line 159 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_EGDE_CTRL_SHIFT 8 |
Definition at line 157 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_FSYNC_WIDTH_MASK (TEGRA30_I2S_CH_CTRL_FSYNC_WIDTH_MASK_US << TEGRA30_I2S_CH_CTRL_FSYNC_WIDTH_SHIFT) |
Definition at line 130 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_FSYNC_WIDTH_MASK_US 0xff |
Definition at line 129 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_FSYNC_WIDTH_SHIFT 24 |
Definition at line 128 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_HIGHZ_CTRL_MASK (3 << TEGRA30_I2S_CH_CTRL_HIGHZ_CTRL_SHIFT) |
Definition at line 137 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_HIGHZ_CTRL_NO (TEGRA30_I2S_HIGHZ_NO << TEGRA30_I2S_CH_CTRL_HIGHZ_CTRL_SHIFT) |
Definition at line 138 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_HIGHZ_CTRL_ON_HALF_BIT_CLK (TEGRA30_I2S_HIGHZ_ON_HALF_BIT_CLK << TEGRA30_I2S_CH_CTRL_HIGHZ_CTRL_SHIFT) |
Definition at line 140 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_HIGHZ_CTRL_SHIFT 12 |
Definition at line 136 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_HIGHZ_CTRL_YES (TEGRA30_I2S_HIGHZ_YES << TEGRA30_I2S_CH_CTRL_HIGHZ_CTRL_SHIFT) |
Definition at line 139 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_RX_BIT_ORDER_LSB_FIRST (TEGRA30_I2S_LSB_FIRST << TEGRA30_I2S_CH_CTRL_RX_BIT_ORDER_SHIFT) |
Definition at line 148 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_RX_BIT_ORDER_MASK (1 << TEGRA30_I2S_CH_CTRL_RX_BIT_ORDER_SHIFT) |
Definition at line 146 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_RX_BIT_ORDER_MSB_FIRST (TEGRA30_I2S_MSB_FIRST << TEGRA30_I2S_CH_CTRL_RX_BIT_ORDER_SHIFT) |
Definition at line 147 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_RX_BIT_ORDER_SHIFT 10 |
Definition at line 145 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_RX_MASK_BITS_MASK (TEGRA30_I2S_CH_CTRL_RX_MASK_BITS_MASK_US << TEGRA30_I2S_CH_CTRL_RX_MASK_BITS_SHIFT) |
Definition at line 165 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_RX_MASK_BITS_MASK_US 7 |
Definition at line 164 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_RX_MASK_BITS_SHIFT 4 |
Definition at line 163 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_TX_BIT_ORDER_LSB_FIRST (TEGRA30_I2S_LSB_FIRST << TEGRA30_I2S_CH_CTRL_TX_BIT_ORDER_SHIFT) |
Definition at line 152 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_TX_BIT_ORDER_MASK (1 << TEGRA30_I2S_CH_CTRL_TX_BIT_ORDER_SHIFT) |
Definition at line 150 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_TX_BIT_ORDER_MSB_FIRST (TEGRA30_I2S_MSB_FIRST << TEGRA30_I2S_CH_CTRL_TX_BIT_ORDER_SHIFT) |
Definition at line 151 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_TX_BIT_ORDER_SHIFT 9 |
Definition at line 149 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_TX_MASK_BITS_MASK (TEGRA30_I2S_CH_CTRL_TX_MASK_BITS_MASK_US << TEGRA30_I2S_CH_CTRL_TX_MASK_BITS_SHIFT) |
Definition at line 169 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_TX_MASK_BITS_MASK_US 7 |
Definition at line 168 of file tegra30_i2s.h.
#define TEGRA30_I2S_CH_CTRL_TX_MASK_BITS_SHIFT 0 |
Definition at line 167 of file tegra30_i2s.h.
#define TEGRA30_I2S_CIF_RX_CTRL 0x14 |
Definition at line 31 of file tegra30_i2s.h.
#define TEGRA30_I2S_CIF_TX_CTRL 0x18 |
Definition at line 32 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL 0x0 |
Definition at line 26 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_CODE_ALAW (TEGRA30_I2S_BIT_CODE_ALAW << TEGRA30_I2S_CTRL_BIT_CODE_SHIFT) |
Definition at line 88 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_CODE_LINEAR (TEGRA30_I2S_BIT_CODE_LINEAR << TEGRA30_I2S_CTRL_BIT_CODE_SHIFT) |
Definition at line 86 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_CODE_MASK (3 << TEGRA30_I2S_CTRL_BIT_CODE_SHIFT) |
Definition at line 85 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_CODE_SHIFT 4 |
Definition at line 84 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_CODE_ULAW (TEGRA30_I2S_BIT_CODE_ULAW << TEGRA30_I2S_CTRL_BIT_CODE_SHIFT) |
Definition at line 87 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_SIZE_12 (TEGRA30_I2S_BITS_12 << TEGRA30_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 102 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_SIZE_16 (TEGRA30_I2S_BITS_16 << TEGRA30_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 103 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_SIZE_20 (TEGRA30_I2S_BITS_20 << TEGRA30_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 104 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_SIZE_24 (TEGRA30_I2S_BITS_24 << TEGRA30_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 105 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_SIZE_28 (TEGRA30_I2S_BITS_28 << TEGRA30_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 106 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_SIZE_32 (TEGRA30_I2S_BITS_32 << TEGRA30_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 107 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_SIZE_8 (TEGRA30_I2S_BITS_8 << TEGRA30_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 101 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_SIZE_MASK (7 << TEGRA30_I2S_CTRL_BIT_SIZE_SHIFT) |
Definition at line 100 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_BIT_SIZE_SHIFT 0 |
Definition at line 99 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_CG_EN (1 << 29) |
Definition at line 53 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_FRAME_FORMAT_FSYNC (TEGRA30_I2S_FRAME_FORMAT_FSYNC << TEGRA30_I2S_CTRL_FRAME_FORMAT_SHIFT) |
Definition at line 66 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_FRAME_FORMAT_LRCK (TEGRA30_I2S_FRAME_FORMAT_LRCK << TEGRA30_I2S_CTRL_FRAME_FORMAT_SHIFT) |
Definition at line 65 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_FRAME_FORMAT_MASK (7 << TEGRA30_I2S_CTRL_FRAME_FORMAT_SHIFT) |
Definition at line 64 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_FRAME_FORMAT_SHIFT 12 |
Definition at line 63 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_LPBK_ENABLE (1 << 8) |
Definition at line 78 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_LRCK_L_LOW (TEGRA30_I2S_LRCK_LEFT_LOW << TEGRA30_I2S_CTRL_LRCK_SHIFT) |
Definition at line 75 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_LRCK_MASK (1 << TEGRA30_I2S_CTRL_LRCK_SHIFT) |
Definition at line 74 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_LRCK_R_LOW (TEGRA30_I2S_LRCK_RIGHT_LOW << TEGRA30_I2S_CTRL_LRCK_SHIFT) |
Definition at line 76 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_LRCK_SHIFT 9 |
Definition at line 73 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_MASTER_ENABLE (1 << 10) |
Definition at line 68 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_OBS_SEL_MASK (7 << TEGRA30_I2S_CTRL_OBS_SEL_SHIFT) |
Definition at line 58 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_OBS_SEL_SHIFT 24 |
Definition at line 57 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_SOFT_RESET (1 << 28) |
Definition at line 54 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_TX_FLOWCTL_EN (1 << 27) |
Definition at line 55 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_XFER_EN_RX (1 << 30) |
Definition at line 52 of file tegra30_i2s.h.
#define TEGRA30_I2S_CTRL_XFER_EN_TX (1 << 31) |
Definition at line 51 of file tegra30_i2s.h.
#define TEGRA30_I2S_FILTER_LINEAR 0 |
Definition at line 193 of file tegra30_i2s.h.
#define TEGRA30_I2S_FILTER_QUAD 1 |
Definition at line 194 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_OVER 0x2c |
Definition at line 37 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_STATUS 0x24 |
Definition at line 35 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_STATUS_COUNTER_CLR (1 << 3) |
Definition at line 212 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_STATUS_COUNTER_EN (1 << 1) |
Definition at line 214 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_STATUS_MONITOR_CLR (1 << 2) |
Definition at line 213 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_STATUS_MONITOR_EN (1 << 0) |
Definition at line 215 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_STATUS_MONITOR_INT_EN (1 << 4) |
Definition at line 211 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_STATUS_OVERFLOW (1 << 30) |
Definition at line 210 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_STATUS_UNDERFLOW (1 << 31) |
Definition at line 209 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_TOTAL 0x28 |
Definition at line 36 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOW_UNDER 0x30 |
Definition at line 38 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOWCTL 0x1c |
Definition at line 33 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOWCTL_FILTER_LINEAR (TEGRA30_I2S_FILTER_LINEAR << TEGRA30_I2S_FLOWCTL_FILTER_SHIFT) |
Definition at line 198 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOWCTL_FILTER_MASK (1 << TEGRA30_I2S_FLOWCTL_FILTER_SHIFT) |
Definition at line 197 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOWCTL_FILTER_QUAD (TEGRA30_I2S_FILTER_QUAD << TEGRA30_I2S_FLOWCTL_FILTER_SHIFT) |
Definition at line 199 of file tegra30_i2s.h.
#define TEGRA30_I2S_FLOWCTL_FILTER_SHIFT 31 |
Definition at line 196 of file tegra30_i2s.h.
#define TEGRA30_I2S_FRAME_FORMAT_FSYNC 1 |
Definition at line 61 of file tegra30_i2s.h.
#define TEGRA30_I2S_FRAME_FORMAT_LRCK 0 |
Definition at line 60 of file tegra30_i2s.h.
#define TEGRA30_I2S_HIGHZ_NO 0 |
Definition at line 132 of file tegra30_i2s.h.
#define TEGRA30_I2S_HIGHZ_ON_HALF_BIT_CLK 2 |
Definition at line 134 of file tegra30_i2s.h.
#define TEGRA30_I2S_HIGHZ_YES 1 |
Definition at line 133 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_1_4_0 0x34 |
Definition at line 39 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_1_4_1 0x38 |
Definition at line 40 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_1_4_2 0x3c |
Definition at line 41 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_1_4_3 0x40 |
Definition at line 42 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_1_4_4 0x44 |
Definition at line 43 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_1_4_5 0x48 |
Definition at line 44 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_2_4_0 0x4c |
Definition at line 45 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_2_4_1 0x50 |
Definition at line 46 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_2_4_2 0x54 |
Definition at line 47 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_COEF_MASK (TEGRA30_I2S_LCOEF_COEF_MASK_US << TEGRA30_I2S_LCOEF_COEF_SHIFT) |
Definition at line 226 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_COEF_MASK_US 0xffff |
Definition at line 225 of file tegra30_i2s.h.
#define TEGRA30_I2S_LCOEF_COEF_SHIFT 0 |
Definition at line 224 of file tegra30_i2s.h.
#define TEGRA30_I2S_LRCK_LEFT_LOW 0 |
Definition at line 70 of file tegra30_i2s.h.
#define TEGRA30_I2S_LRCK_RIGHT_LOW 1 |
Definition at line 71 of file tegra30_i2s.h.
#define TEGRA30_I2S_LSB_FIRST 1 |
Definition at line 143 of file tegra30_i2s.h.
#define TEGRA30_I2S_MSB_FIRST 0 |
Definition at line 142 of file tegra30_i2s.h.
#define TEGRA30_I2S_NEG_EDGE 1 |
Definition at line 155 of file tegra30_i2s.h.
#define TEGRA30_I2S_OFFSET 0x08 |
Definition at line 28 of file tegra30_i2s.h.
#define TEGRA30_I2S_OFFSET_RX_DATA_OFFSET_MASK (TEGRA30_I2S_OFFSET_RX_DATA_OFFSET_MASK_US << TEGRA30_I2S_OFFSET_RX_DATA_OFFSET_SHIFT) |
Definition at line 120 of file tegra30_i2s.h.
#define TEGRA30_I2S_OFFSET_RX_DATA_OFFSET_MASK_US 0x7ff |
Definition at line 119 of file tegra30_i2s.h.
#define TEGRA30_I2S_OFFSET_RX_DATA_OFFSET_SHIFT 16 |
Definition at line 118 of file tegra30_i2s.h.
#define TEGRA30_I2S_OFFSET_TX_DATA_OFFSET_MASK (TEGRA30_I2S_OFFSET_TX_DATA_OFFSET_MASK_US << TEGRA30_I2S_OFFSET_TX_DATA_OFFSET_SHIFT) |
Definition at line 123 of file tegra30_i2s.h.
#define TEGRA30_I2S_OFFSET_TX_DATA_OFFSET_MASK_US 0x7ff |
Definition at line 122 of file tegra30_i2s.h.
#define TEGRA30_I2S_OFFSET_TX_DATA_OFFSET_SHIFT 0 |
Definition at line 121 of file tegra30_i2s.h.
#define TEGRA30_I2S_POS_EDGE 0 |
Definition at line 154 of file tegra30_i2s.h.
#define TEGRA30_I2S_SLOT_CTRL 0x10 |
Definition at line 30 of file tegra30_i2s.h.
#define TEGRA30_I2S_SLOT_CTRL_RX_SLOT_ENABLES_MASK (0xff << TEGRA30_I2S_SLOT_CTRL_RX_SLOT_ENABLES_SHIFT) |
Definition at line 180 of file tegra30_i2s.h.
#define TEGRA30_I2S_SLOT_CTRL_RX_SLOT_ENABLES_SHIFT 8 |
Definition at line 179 of file tegra30_i2s.h.
#define TEGRA30_I2S_SLOT_CTRL_TOTAL_SLOTS_MASK (TEGRA30_I2S_SLOT_CTRL_TOTAL_SLOT_MASK_US << TEGRA30_I2S_SLOT_CTRL_TOTAL_SLOT_SHIFT) |
Definition at line 176 of file tegra30_i2s.h.
#define TEGRA30_I2S_SLOT_CTRL_TOTAL_SLOTS_MASK_US 7 |
Definition at line 175 of file tegra30_i2s.h.
#define TEGRA30_I2S_SLOT_CTRL_TOTAL_SLOTS_SHIFT 16 |
Definition at line 174 of file tegra30_i2s.h.
#define TEGRA30_I2S_SLOT_CTRL_TX_SLOT_ENABLES_MASK (0xff << TEGRA30_I2S_SLOT_CTRL_TX_SLOT_ENABLES_SHIFT) |
Definition at line 183 of file tegra30_i2s.h.
#define TEGRA30_I2S_SLOT_CTRL_TX_SLOT_ENABLES_SHIFT 0 |
Definition at line 182 of file tegra30_i2s.h.
#define TEGRA30_I2S_TIMING 0x4 |
Definition at line 27 of file tegra30_i2s.h.
#define TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_MASK (TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US << TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT) |
Definition at line 114 of file tegra30_i2s.h.
#define TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_MASK_US 0x7fff |
Definition at line 113 of file tegra30_i2s.h.
#define TEGRA30_I2S_TIMING_CHANNEL_BIT_COUNT_SHIFT 0 |
Definition at line 112 of file tegra30_i2s.h.
#define TEGRA30_I2S_TIMING_NON_SYM_ENABLE (1 << 12) |
Definition at line 111 of file tegra30_i2s.h.
#define TEGRA30_I2S_TX_STEP 0x20 |
Definition at line 34 of file tegra30_i2s.h.
#define TEGRA30_I2S_TX_STEP_MASK (TEGRA30_I2S_TX_STEP_MASK_US << TEGRA30_I2S_TX_STEP_SHIFT) |
Definition at line 205 of file tegra30_i2s.h.
#define TEGRA30_I2S_TX_STEP_MASK_US 0xffff |
Definition at line 204 of file tegra30_i2s.h.
#define TEGRA30_I2S_TX_STEP_SHIFT 0 |
Definition at line 203 of file tegra30_i2s.h.