Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
imx-ssi.h File Reference
#include <linux/dmaengine.h>
#include <linux/platform_data/dma-imx.h>
#include "imx-pcm.h"

Go to the source code of this file.

Data Structures

struct  imx_ssi
 

Macros

#define SSI_STX0   0x00
 
#define SSI_STX1   0x04
 
#define SSI_SRX0   0x08
 
#define SSI_SRX1   0x0c
 
#define SSI_SCR   0x10
 
#define SSI_SCR_CLK_IST   (1 << 9)
 
#define SSI_SCR_CLK_IST_SHIFT   9
 
#define SSI_SCR_TCH_EN   (1 << 8)
 
#define SSI_SCR_SYS_CLK_EN   (1 << 7)
 
#define SSI_SCR_I2S_MODE_NORM   (0 << 5)
 
#define SSI_SCR_I2S_MODE_MSTR   (1 << 5)
 
#define SSI_SCR_I2S_MODE_SLAVE   (2 << 5)
 
#define SSI_I2S_MODE_MASK   (3 << 5)
 
#define SSI_SCR_SYN   (1 << 4)
 
#define SSI_SCR_NET   (1 << 3)
 
#define SSI_SCR_RE   (1 << 2)
 
#define SSI_SCR_TE   (1 << 1)
 
#define SSI_SCR_SSIEN   (1 << 0)
 
#define SSI_SISR   0x14
 
#define SSI_SISR_MASK   ((1 << 19) - 1)
 
#define SSI_SISR_CMDAU   (1 << 18)
 
#define SSI_SISR_CMDDU   (1 << 17)
 
#define SSI_SISR_RXT   (1 << 16)
 
#define SSI_SISR_RDR1   (1 << 15)
 
#define SSI_SISR_RDR0   (1 << 14)
 
#define SSI_SISR_TDE1   (1 << 13)
 
#define SSI_SISR_TDE0   (1 << 12)
 
#define SSI_SISR_ROE1   (1 << 11)
 
#define SSI_SISR_ROE0   (1 << 10)
 
#define SSI_SISR_TUE1   (1 << 9)
 
#define SSI_SISR_TUE0   (1 << 8)
 
#define SSI_SISR_TFS   (1 << 7)
 
#define SSI_SISR_RFS   (1 << 6)
 
#define SSI_SISR_TLS   (1 << 5)
 
#define SSI_SISR_RLS   (1 << 4)
 
#define SSI_SISR_RFF1   (1 << 3)
 
#define SSI_SISR_RFF0   (1 << 2)
 
#define SSI_SISR_TFE1   (1 << 1)
 
#define SSI_SISR_TFE0   (1 << 0)
 
#define SSI_SIER   0x18
 
#define SSI_SIER_RDMAE   (1 << 22)
 
#define SSI_SIER_RIE   (1 << 21)
 
#define SSI_SIER_TDMAE   (1 << 20)
 
#define SSI_SIER_TIE   (1 << 19)
 
#define SSI_SIER_CMDAU_EN   (1 << 18)
 
#define SSI_SIER_CMDDU_EN   (1 << 17)
 
#define SSI_SIER_RXT_EN   (1 << 16)
 
#define SSI_SIER_RDR1_EN   (1 << 15)
 
#define SSI_SIER_RDR0_EN   (1 << 14)
 
#define SSI_SIER_TDE1_EN   (1 << 13)
 
#define SSI_SIER_TDE0_EN   (1 << 12)
 
#define SSI_SIER_ROE1_EN   (1 << 11)
 
#define SSI_SIER_ROE0_EN   (1 << 10)
 
#define SSI_SIER_TUE1_EN   (1 << 9)
 
#define SSI_SIER_TUE0_EN   (1 << 8)
 
#define SSI_SIER_TFS_EN   (1 << 7)
 
#define SSI_SIER_RFS_EN   (1 << 6)
 
#define SSI_SIER_TLS_EN   (1 << 5)
 
#define SSI_SIER_RLS_EN   (1 << 4)
 
#define SSI_SIER_RFF1_EN   (1 << 3)
 
#define SSI_SIER_RFF0_EN   (1 << 2)
 
#define SSI_SIER_TFE1_EN   (1 << 1)
 
#define SSI_SIER_TFE0_EN   (1 << 0)
 
#define SSI_STCR   0x1c
 
#define SSI_STCR_TXBIT0   (1 << 9)
 
#define SSI_STCR_TFEN1   (1 << 8)
 
#define SSI_STCR_TFEN0   (1 << 7)
 
#define SSI_FIFO_ENABLE_0_SHIFT   7
 
#define SSI_STCR_TFDIR   (1 << 6)
 
#define SSI_STCR_TXDIR   (1 << 5)
 
#define SSI_STCR_TSHFD   (1 << 4)
 
#define SSI_STCR_TSCKP   (1 << 3)
 
#define SSI_STCR_TFSI   (1 << 2)
 
#define SSI_STCR_TFSL   (1 << 1)
 
#define SSI_STCR_TEFS   (1 << 0)
 
#define SSI_SRCR   0x20
 
#define SSI_SRCR_RXBIT0   (1 << 9)
 
#define SSI_SRCR_RFEN1   (1 << 8)
 
#define SSI_SRCR_RFEN0   (1 << 7)
 
#define SSI_FIFO_ENABLE_0_SHIFT   7
 
#define SSI_SRCR_RFDIR   (1 << 6)
 
#define SSI_SRCR_RXDIR   (1 << 5)
 
#define SSI_SRCR_RSHFD   (1 << 4)
 
#define SSI_SRCR_RSCKP   (1 << 3)
 
#define SSI_SRCR_RFSI   (1 << 2)
 
#define SSI_SRCR_RFSL   (1 << 1)
 
#define SSI_SRCR_REFS   (1 << 0)
 
#define SSI_SRCCR   0x28
 
#define SSI_SRCCR_DIV2   (1 << 18)
 
#define SSI_SRCCR_PSR   (1 << 17)
 
#define SSI_SRCCR_WL(x)   ((((x) - 2) >> 1) << 13)
 
#define SSI_SRCCR_DC(x)   (((x) & 0x1f) << 8)
 
#define SSI_SRCCR_PM(x)   (((x) & 0xff) << 0)
 
#define SSI_SRCCR_WL_MASK   (0xf << 13)
 
#define SSI_SRCCR_DC_MASK   (0x1f << 8)
 
#define SSI_SRCCR_PM_MASK   (0xff << 0)
 
#define SSI_STCCR   0x24
 
#define SSI_STCCR_DIV2   (1 << 18)
 
#define SSI_STCCR_PSR   (1 << 17)
 
#define SSI_STCCR_WL(x)   ((((x) - 2) >> 1) << 13)
 
#define SSI_STCCR_DC(x)   (((x) & 0x1f) << 8)
 
#define SSI_STCCR_PM(x)   (((x) & 0xff) << 0)
 
#define SSI_STCCR_WL_MASK   (0xf << 13)
 
#define SSI_STCCR_DC_MASK   (0x1f << 8)
 
#define SSI_STCCR_PM_MASK   (0xff << 0)
 
#define SSI_SFCSR   0x2c
 
#define SSI_SFCSR_RFCNT1(x)   (((x) & 0xf) << 28)
 
#define SSI_RX_FIFO_1_COUNT_SHIFT   28
 
#define SSI_SFCSR_TFCNT1(x)   (((x) & 0xf) << 24)
 
#define SSI_TX_FIFO_1_COUNT_SHIFT   24
 
#define SSI_SFCSR_RFWM1(x)   (((x) & 0xf) << 20)
 
#define SSI_SFCSR_TFWM1(x)   (((x) & 0xf) << 16)
 
#define SSI_SFCSR_RFCNT0(x)   (((x) & 0xf) << 12)
 
#define SSI_RX_FIFO_0_COUNT_SHIFT   12
 
#define SSI_SFCSR_TFCNT0(x)   (((x) & 0xf) << 8)
 
#define SSI_TX_FIFO_0_COUNT_SHIFT   8
 
#define SSI_SFCSR_RFWM0(x)   (((x) & 0xf) << 4)
 
#define SSI_SFCSR_TFWM0(x)   (((x) & 0xf) << 0)
 
#define SSI_SFCSR_RFWM0_MASK   (0xf << 4)
 
#define SSI_SFCSR_TFWM0_MASK   (0xf << 0)
 
#define SSI_STR   0x30
 
#define SSI_STR_TEST   (1 << 15)
 
#define SSI_STR_RCK2TCK   (1 << 14)
 
#define SSI_STR_RFS2TFS   (1 << 13)
 
#define SSI_STR_RXSTATE(x)   (((x) & 0xf) << 8)
 
#define SSI_STR_TXD2RXD   (1 << 7)
 
#define SSI_STR_TCK2RCK   (1 << 6)
 
#define SSI_STR_TFS2RFS   (1 << 5)
 
#define SSI_STR_TXSTATE(x)   (((x) & 0xf) << 0)
 
#define SSI_SOR   0x34
 
#define SSI_SOR_CLKOFF   (1 << 6)
 
#define SSI_SOR_RX_CLR   (1 << 5)
 
#define SSI_SOR_TX_CLR   (1 << 4)
 
#define SSI_SOR_INIT   (1 << 3)
 
#define SSI_SOR_WAIT(x)   (((x) & 0x3) << 1)
 
#define SSI_SOR_WAIT_MASK   (0x3 << 1)
 
#define SSI_SOR_SYNRST   (1 << 0)
 
#define SSI_SACNT   0x38
 
#define SSI_SACNT_FRDIV(x)   (((x) & 0x3f) << 5)
 
#define SSI_SACNT_WR   (1 << 4)
 
#define SSI_SACNT_RD   (1 << 3)
 
#define SSI_SACNT_TIF   (1 << 2)
 
#define SSI_SACNT_FV   (1 << 1)
 
#define SSI_SACNT_AC97EN   (1 << 0)
 
#define SSI_SACADD   0x3c
 
#define SSI_SACDAT   0x40
 
#define SSI_SATAG   0x44
 
#define SSI_STMSK   0x48
 
#define SSI_SRMSK   0x4c
 
#define SSI_SACCST   0x50
 
#define SSI_SACCEN   0x54
 
#define SSI_SACCDIS   0x58
 
#define IMX_SSP_SYS_CLK   0
 
#define IMX_SSI_TX_DIV_2   0
 
#define IMX_SSI_TX_DIV_PSR   1
 
#define IMX_SSI_TX_DIV_PM   2
 
#define IMX_SSI_RX_DIV_2   3
 
#define IMX_SSI_RX_DIV_PSR   4
 
#define IMX_SSI_RX_DIV_PM   5
 
#define DRV_NAME   "imx-ssi"
 

Macro Definition Documentation

#define DRV_NAME   "imx-ssi"

Definition at line 186 of file imx-ssi.h.

#define IMX_SSI_RX_DIV_2   3

Definition at line 182 of file imx-ssi.h.

#define IMX_SSI_RX_DIV_PM   5

Definition at line 184 of file imx-ssi.h.

#define IMX_SSI_RX_DIV_PSR   4

Definition at line 183 of file imx-ssi.h.

#define IMX_SSI_TX_DIV_2   0

Definition at line 179 of file imx-ssi.h.

#define IMX_SSI_TX_DIV_PM   2

Definition at line 181 of file imx-ssi.h.

#define IMX_SSI_TX_DIV_PSR   1

Definition at line 180 of file imx-ssi.h.

#define IMX_SSP_SYS_CLK   0

Definition at line 176 of file imx-ssi.h.

#define SSI_FIFO_ENABLE_0_SHIFT   7

Definition at line 94 of file imx-ssi.h.

#define SSI_FIFO_ENABLE_0_SHIFT   7

Definition at line 94 of file imx-ssi.h.

#define SSI_I2S_MODE_MASK   (3 << 5)

Definition at line 23 of file imx-ssi.h.

#define SSI_RX_FIFO_0_COUNT_SHIFT   12

Definition at line 131 of file imx-ssi.h.

#define SSI_RX_FIFO_1_COUNT_SHIFT   28

Definition at line 125 of file imx-ssi.h.

#define SSI_SACADD   0x3c

Definition at line 166 of file imx-ssi.h.

#define SSI_SACCDIS   0x58

Definition at line 173 of file imx-ssi.h.

#define SSI_SACCEN   0x54

Definition at line 172 of file imx-ssi.h.

#define SSI_SACCST   0x50

Definition at line 171 of file imx-ssi.h.

#define SSI_SACDAT   0x40

Definition at line 167 of file imx-ssi.h.

#define SSI_SACNT   0x38

Definition at line 158 of file imx-ssi.h.

#define SSI_SACNT_AC97EN   (1 << 0)

Definition at line 164 of file imx-ssi.h.

#define SSI_SACNT_FRDIV (   x)    (((x) & 0x3f) << 5)

Definition at line 159 of file imx-ssi.h.

#define SSI_SACNT_FV   (1 << 1)

Definition at line 163 of file imx-ssi.h.

#define SSI_SACNT_RD   (1 << 3)

Definition at line 161 of file imx-ssi.h.

#define SSI_SACNT_TIF   (1 << 2)

Definition at line 162 of file imx-ssi.h.

#define SSI_SACNT_WR   (1 << 4)

Definition at line 160 of file imx-ssi.h.

#define SSI_SATAG   0x44

Definition at line 168 of file imx-ssi.h.

#define SSI_SCR   0x10

Definition at line 15 of file imx-ssi.h.

#define SSI_SCR_CLK_IST   (1 << 9)

Definition at line 16 of file imx-ssi.h.

#define SSI_SCR_CLK_IST_SHIFT   9

Definition at line 17 of file imx-ssi.h.

#define SSI_SCR_I2S_MODE_MSTR   (1 << 5)

Definition at line 21 of file imx-ssi.h.

#define SSI_SCR_I2S_MODE_NORM   (0 << 5)

Definition at line 20 of file imx-ssi.h.

#define SSI_SCR_I2S_MODE_SLAVE   (2 << 5)

Definition at line 22 of file imx-ssi.h.

#define SSI_SCR_NET   (1 << 3)

Definition at line 25 of file imx-ssi.h.

#define SSI_SCR_RE   (1 << 2)

Definition at line 26 of file imx-ssi.h.

#define SSI_SCR_SSIEN   (1 << 0)

Definition at line 28 of file imx-ssi.h.

#define SSI_SCR_SYN   (1 << 4)

Definition at line 24 of file imx-ssi.h.

#define SSI_SCR_SYS_CLK_EN   (1 << 7)

Definition at line 19 of file imx-ssi.h.

#define SSI_SCR_TCH_EN   (1 << 8)

Definition at line 18 of file imx-ssi.h.

#define SSI_SCR_TE   (1 << 1)

Definition at line 27 of file imx-ssi.h.

#define SSI_SFCSR   0x2c

Definition at line 123 of file imx-ssi.h.

#define SSI_SFCSR_RFCNT0 (   x)    (((x) & 0xf) << 12)

Definition at line 130 of file imx-ssi.h.

#define SSI_SFCSR_RFCNT1 (   x)    (((x) & 0xf) << 28)

Definition at line 124 of file imx-ssi.h.

#define SSI_SFCSR_RFWM0 (   x)    (((x) & 0xf) << 4)

Definition at line 134 of file imx-ssi.h.

#define SSI_SFCSR_RFWM0_MASK   (0xf << 4)

Definition at line 136 of file imx-ssi.h.

#define SSI_SFCSR_RFWM1 (   x)    (((x) & 0xf) << 20)

Definition at line 128 of file imx-ssi.h.

#define SSI_SFCSR_TFCNT0 (   x)    (((x) & 0xf) << 8)

Definition at line 132 of file imx-ssi.h.

#define SSI_SFCSR_TFCNT1 (   x)    (((x) & 0xf) << 24)

Definition at line 126 of file imx-ssi.h.

#define SSI_SFCSR_TFWM0 (   x)    (((x) & 0xf) << 0)

Definition at line 135 of file imx-ssi.h.

#define SSI_SFCSR_TFWM0_MASK   (0xf << 0)

Definition at line 137 of file imx-ssi.h.

#define SSI_SFCSR_TFWM1 (   x)    (((x) & 0xf) << 16)

Definition at line 129 of file imx-ssi.h.

#define SSI_SIER   0x18

Definition at line 52 of file imx-ssi.h.

#define SSI_SIER_CMDAU_EN   (1 << 18)

Definition at line 57 of file imx-ssi.h.

#define SSI_SIER_CMDDU_EN   (1 << 17)

Definition at line 58 of file imx-ssi.h.

#define SSI_SIER_RDMAE   (1 << 22)

Definition at line 53 of file imx-ssi.h.

#define SSI_SIER_RDR0_EN   (1 << 14)

Definition at line 61 of file imx-ssi.h.

#define SSI_SIER_RDR1_EN   (1 << 15)

Definition at line 60 of file imx-ssi.h.

#define SSI_SIER_RFF0_EN   (1 << 2)

Definition at line 73 of file imx-ssi.h.

#define SSI_SIER_RFF1_EN   (1 << 3)

Definition at line 72 of file imx-ssi.h.

#define SSI_SIER_RFS_EN   (1 << 6)

Definition at line 69 of file imx-ssi.h.

#define SSI_SIER_RIE   (1 << 21)

Definition at line 54 of file imx-ssi.h.

#define SSI_SIER_RLS_EN   (1 << 4)

Definition at line 71 of file imx-ssi.h.

#define SSI_SIER_ROE0_EN   (1 << 10)

Definition at line 65 of file imx-ssi.h.

#define SSI_SIER_ROE1_EN   (1 << 11)

Definition at line 64 of file imx-ssi.h.

#define SSI_SIER_RXT_EN   (1 << 16)

Definition at line 59 of file imx-ssi.h.

#define SSI_SIER_TDE0_EN   (1 << 12)

Definition at line 63 of file imx-ssi.h.

#define SSI_SIER_TDE1_EN   (1 << 13)

Definition at line 62 of file imx-ssi.h.

#define SSI_SIER_TDMAE   (1 << 20)

Definition at line 55 of file imx-ssi.h.

#define SSI_SIER_TFE0_EN   (1 << 0)

Definition at line 75 of file imx-ssi.h.

#define SSI_SIER_TFE1_EN   (1 << 1)

Definition at line 74 of file imx-ssi.h.

#define SSI_SIER_TFS_EN   (1 << 7)

Definition at line 68 of file imx-ssi.h.

#define SSI_SIER_TIE   (1 << 19)

Definition at line 56 of file imx-ssi.h.

#define SSI_SIER_TLS_EN   (1 << 5)

Definition at line 70 of file imx-ssi.h.

#define SSI_SIER_TUE0_EN   (1 << 8)

Definition at line 67 of file imx-ssi.h.

#define SSI_SIER_TUE1_EN   (1 << 9)

Definition at line 66 of file imx-ssi.h.

#define SSI_SISR   0x14

Definition at line 30 of file imx-ssi.h.

#define SSI_SISR_CMDAU   (1 << 18)

Definition at line 32 of file imx-ssi.h.

#define SSI_SISR_CMDDU   (1 << 17)

Definition at line 33 of file imx-ssi.h.

#define SSI_SISR_MASK   ((1 << 19) - 1)

Definition at line 31 of file imx-ssi.h.

#define SSI_SISR_RDR0   (1 << 14)

Definition at line 36 of file imx-ssi.h.

#define SSI_SISR_RDR1   (1 << 15)

Definition at line 35 of file imx-ssi.h.

#define SSI_SISR_RFF0   (1 << 2)

Definition at line 48 of file imx-ssi.h.

#define SSI_SISR_RFF1   (1 << 3)

Definition at line 47 of file imx-ssi.h.

#define SSI_SISR_RFS   (1 << 6)

Definition at line 44 of file imx-ssi.h.

#define SSI_SISR_RLS   (1 << 4)

Definition at line 46 of file imx-ssi.h.

#define SSI_SISR_ROE0   (1 << 10)

Definition at line 40 of file imx-ssi.h.

#define SSI_SISR_ROE1   (1 << 11)

Definition at line 39 of file imx-ssi.h.

#define SSI_SISR_RXT   (1 << 16)

Definition at line 34 of file imx-ssi.h.

#define SSI_SISR_TDE0   (1 << 12)

Definition at line 38 of file imx-ssi.h.

#define SSI_SISR_TDE1   (1 << 13)

Definition at line 37 of file imx-ssi.h.

#define SSI_SISR_TFE0   (1 << 0)

Definition at line 50 of file imx-ssi.h.

#define SSI_SISR_TFE1   (1 << 1)

Definition at line 49 of file imx-ssi.h.

#define SSI_SISR_TFS   (1 << 7)

Definition at line 43 of file imx-ssi.h.

#define SSI_SISR_TLS   (1 << 5)

Definition at line 45 of file imx-ssi.h.

#define SSI_SISR_TUE0   (1 << 8)

Definition at line 42 of file imx-ssi.h.

#define SSI_SISR_TUE1   (1 << 9)

Definition at line 41 of file imx-ssi.h.

#define SSI_SOR   0x34

Definition at line 149 of file imx-ssi.h.

#define SSI_SOR_CLKOFF   (1 << 6)

Definition at line 150 of file imx-ssi.h.

#define SSI_SOR_INIT   (1 << 3)

Definition at line 153 of file imx-ssi.h.

#define SSI_SOR_RX_CLR   (1 << 5)

Definition at line 151 of file imx-ssi.h.

#define SSI_SOR_SYNRST   (1 << 0)

Definition at line 156 of file imx-ssi.h.

#define SSI_SOR_TX_CLR   (1 << 4)

Definition at line 152 of file imx-ssi.h.

#define SSI_SOR_WAIT (   x)    (((x) & 0x3) << 1)

Definition at line 154 of file imx-ssi.h.

#define SSI_SOR_WAIT_MASK   (0x3 << 1)

Definition at line 155 of file imx-ssi.h.

#define SSI_SRCCR   0x28

Definition at line 103 of file imx-ssi.h.

#define SSI_SRCCR_DC (   x)    (((x) & 0x1f) << 8)

Definition at line 107 of file imx-ssi.h.

#define SSI_SRCCR_DC_MASK   (0x1f << 8)

Definition at line 110 of file imx-ssi.h.

#define SSI_SRCCR_DIV2   (1 << 18)

Definition at line 104 of file imx-ssi.h.

#define SSI_SRCCR_PM (   x)    (((x) & 0xff) << 0)

Definition at line 108 of file imx-ssi.h.

#define SSI_SRCCR_PM_MASK   (0xff << 0)

Definition at line 111 of file imx-ssi.h.

#define SSI_SRCCR_PSR   (1 << 17)

Definition at line 105 of file imx-ssi.h.

#define SSI_SRCCR_WL (   x)    ((((x) - 2) >> 1) << 13)

Definition at line 106 of file imx-ssi.h.

#define SSI_SRCCR_WL_MASK   (0xf << 13)

Definition at line 109 of file imx-ssi.h.

#define SSI_SRCR   0x20

Definition at line 90 of file imx-ssi.h.

#define SSI_SRCR_REFS   (1 << 0)

Definition at line 101 of file imx-ssi.h.

#define SSI_SRCR_RFDIR   (1 << 6)

Definition at line 95 of file imx-ssi.h.

#define SSI_SRCR_RFEN0   (1 << 7)

Definition at line 93 of file imx-ssi.h.

#define SSI_SRCR_RFEN1   (1 << 8)

Definition at line 92 of file imx-ssi.h.

#define SSI_SRCR_RFSI   (1 << 2)

Definition at line 99 of file imx-ssi.h.

#define SSI_SRCR_RFSL   (1 << 1)

Definition at line 100 of file imx-ssi.h.

#define SSI_SRCR_RSCKP   (1 << 3)

Definition at line 98 of file imx-ssi.h.

#define SSI_SRCR_RSHFD   (1 << 4)

Definition at line 97 of file imx-ssi.h.

#define SSI_SRCR_RXBIT0   (1 << 9)

Definition at line 91 of file imx-ssi.h.

#define SSI_SRCR_RXDIR   (1 << 5)

Definition at line 96 of file imx-ssi.h.

#define SSI_SRMSK   0x4c

Definition at line 170 of file imx-ssi.h.

#define SSI_SRX0   0x08

Definition at line 12 of file imx-ssi.h.

#define SSI_SRX1   0x0c

Definition at line 13 of file imx-ssi.h.

#define SSI_STCCR   0x24

Definition at line 113 of file imx-ssi.h.

#define SSI_STCCR_DC (   x)    (((x) & 0x1f) << 8)

Definition at line 117 of file imx-ssi.h.

#define SSI_STCCR_DC_MASK   (0x1f << 8)

Definition at line 120 of file imx-ssi.h.

#define SSI_STCCR_DIV2   (1 << 18)

Definition at line 114 of file imx-ssi.h.

#define SSI_STCCR_PM (   x)    (((x) & 0xff) << 0)

Definition at line 118 of file imx-ssi.h.

#define SSI_STCCR_PM_MASK   (0xff << 0)

Definition at line 121 of file imx-ssi.h.

#define SSI_STCCR_PSR   (1 << 17)

Definition at line 115 of file imx-ssi.h.

#define SSI_STCCR_WL (   x)    ((((x) - 2) >> 1) << 13)

Definition at line 116 of file imx-ssi.h.

#define SSI_STCCR_WL_MASK   (0xf << 13)

Definition at line 119 of file imx-ssi.h.

#define SSI_STCR   0x1c

Definition at line 77 of file imx-ssi.h.

#define SSI_STCR_TEFS   (1 << 0)

Definition at line 88 of file imx-ssi.h.

#define SSI_STCR_TFDIR   (1 << 6)

Definition at line 82 of file imx-ssi.h.

#define SSI_STCR_TFEN0   (1 << 7)

Definition at line 80 of file imx-ssi.h.

#define SSI_STCR_TFEN1   (1 << 8)

Definition at line 79 of file imx-ssi.h.

#define SSI_STCR_TFSI   (1 << 2)

Definition at line 86 of file imx-ssi.h.

#define SSI_STCR_TFSL   (1 << 1)

Definition at line 87 of file imx-ssi.h.

#define SSI_STCR_TSCKP   (1 << 3)

Definition at line 85 of file imx-ssi.h.

#define SSI_STCR_TSHFD   (1 << 4)

Definition at line 84 of file imx-ssi.h.

#define SSI_STCR_TXBIT0   (1 << 9)

Definition at line 78 of file imx-ssi.h.

#define SSI_STCR_TXDIR   (1 << 5)

Definition at line 83 of file imx-ssi.h.

#define SSI_STMSK   0x48

Definition at line 169 of file imx-ssi.h.

#define SSI_STR   0x30

Definition at line 139 of file imx-ssi.h.

#define SSI_STR_RCK2TCK   (1 << 14)

Definition at line 141 of file imx-ssi.h.

#define SSI_STR_RFS2TFS   (1 << 13)

Definition at line 142 of file imx-ssi.h.

#define SSI_STR_RXSTATE (   x)    (((x) & 0xf) << 8)

Definition at line 143 of file imx-ssi.h.

#define SSI_STR_TCK2RCK   (1 << 6)

Definition at line 145 of file imx-ssi.h.

#define SSI_STR_TEST   (1 << 15)

Definition at line 140 of file imx-ssi.h.

#define SSI_STR_TFS2RFS   (1 << 5)

Definition at line 146 of file imx-ssi.h.

#define SSI_STR_TXD2RXD   (1 << 7)

Definition at line 144 of file imx-ssi.h.

#define SSI_STR_TXSTATE (   x)    (((x) & 0xf) << 0)

Definition at line 147 of file imx-ssi.h.

#define SSI_STX0   0x00

Definition at line 10 of file imx-ssi.h.

#define SSI_STX1   0x04

Definition at line 11 of file imx-ssi.h.

#define SSI_TX_FIFO_0_COUNT_SHIFT   8

Definition at line 133 of file imx-ssi.h.

#define SSI_TX_FIFO_1_COUNT_SHIFT   24

Definition at line 127 of file imx-ssi.h.