Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
sh_fsi.h File Reference
#include <linux/clk.h>
#include <sound/soc.h>

Go to the source code of this file.

Data Structures

struct  sh_fsi_port_info
 
struct  sh_fsi_platform_info
 

Macros

#define FSI_PORT_A   0
 
#define FSI_PORT_B   1
 
#define SH_FSI_INVERSION_MASK   0x0000000F
 
#define SH_FSI_LRM_INV   (1 << 0)
 
#define SH_FSI_BRM_INV   (1 << 1)
 
#define SH_FSI_LRS_INV   (1 << 2)
 
#define SH_FSI_BRS_INV   (1 << 3)
 
#define SH_FSI_FMT_MASK   0x000000F0
 
#define SH_FSI_FMT_DAI   (0 << 4)
 
#define SH_FSI_FMT_SPDIF   (1 << 4)
 
#define SH_FSI_OPTION_MASK   0x00000F00
 
#define SH_FSI_ENABLE_STREAM_MODE   (1 << 8) /* for 16bit data */
 
#define SH_FSI_ACKMD_MASK   (0xF << 0)
 
#define SH_FSI_ACKMD_512   (1 << 0)
 
#define SH_FSI_ACKMD_256   (2 << 0)
 
#define SH_FSI_ACKMD_128   (3 << 0)
 
#define SH_FSI_ACKMD_64   (4 << 0)
 
#define SH_FSI_ACKMD_32   (5 << 0)
 
#define SH_FSI_BPFMD_MASK   (0xF << 4)
 
#define SH_FSI_BPFMD_512   (1 << 4)
 
#define SH_FSI_BPFMD_256   (2 << 4)
 
#define SH_FSI_BPFMD_128   (3 << 4)
 
#define SH_FSI_BPFMD_64   (4 << 4)
 
#define SH_FSI_BPFMD_32   (5 << 4)
 
#define SH_FSI_BPFMD_16   (6 << 4)
 

Macro Definition Documentation

#define FSI_PORT_A   0

Definition at line 15 of file sh_fsi.h.

#define FSI_PORT_B   1

Definition at line 16 of file sh_fsi.h.

#define SH_FSI_ACKMD_128   (3 << 0)

Definition at line 67 of file sh_fsi.h.

#define SH_FSI_ACKMD_256   (2 << 0)

Definition at line 66 of file sh_fsi.h.

#define SH_FSI_ACKMD_32   (5 << 0)

Definition at line 69 of file sh_fsi.h.

#define SH_FSI_ACKMD_512   (1 << 0)

Definition at line 65 of file sh_fsi.h.

#define SH_FSI_ACKMD_64   (4 << 0)

Definition at line 68 of file sh_fsi.h.

#define SH_FSI_ACKMD_MASK   (0xF << 0)

Definition at line 64 of file sh_fsi.h.

#define SH_FSI_BPFMD_128   (3 << 4)

Definition at line 74 of file sh_fsi.h.

#define SH_FSI_BPFMD_16   (6 << 4)

Definition at line 77 of file sh_fsi.h.

#define SH_FSI_BPFMD_256   (2 << 4)

Definition at line 73 of file sh_fsi.h.

#define SH_FSI_BPFMD_32   (5 << 4)

Definition at line 76 of file sh_fsi.h.

#define SH_FSI_BPFMD_512   (1 << 4)

Definition at line 72 of file sh_fsi.h.

#define SH_FSI_BPFMD_64   (4 << 4)

Definition at line 75 of file sh_fsi.h.

#define SH_FSI_BPFMD_MASK   (0xF << 4)

Definition at line 71 of file sh_fsi.h.

#define SH_FSI_BRM_INV   (1 << 1)

Definition at line 34 of file sh_fsi.h.

#define SH_FSI_BRS_INV   (1 << 3)

Definition at line 36 of file sh_fsi.h.

#define SH_FSI_ENABLE_STREAM_MODE   (1 << 8) /* for 16bit data */

Definition at line 45 of file sh_fsi.h.

#define SH_FSI_FMT_DAI   (0 << 4)

Definition at line 40 of file sh_fsi.h.

#define SH_FSI_FMT_MASK   0x000000F0

Definition at line 39 of file sh_fsi.h.

#define SH_FSI_FMT_SPDIF   (1 << 4)

Definition at line 41 of file sh_fsi.h.

#define SH_FSI_INVERSION_MASK   0x0000000F

Definition at line 32 of file sh_fsi.h.

#define SH_FSI_LRM_INV   (1 << 0)

Definition at line 33 of file sh_fsi.h.

#define SH_FSI_LRS_INV   (1 << 2)

Definition at line 35 of file sh_fsi.h.

#define SH_FSI_OPTION_MASK   0x00000F00

Definition at line 44 of file sh_fsi.h.