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

Go to the source code of this file.

Macros

#define S3C24XX_CLKSRC_PCLK   0
 
#define S3C24XX_CLKSRC_MPLL   1
 
#define S3C24XX_DIV_MCLK   0
 
#define S3C24XX_DIV_BCLK   1
 
#define S3C24XX_DIV_PRESCALER   2
 
#define S3C24XX_PRESCALE(a, b)   (((a - 1) << S3C2410_IISPSR_INTSHIFT) | ((b - 1) << S3C2410_IISPSR_EXTSHFIT))
 

Functions

u32 s3c24xx_i2s_get_clockrate (void)
 

Macro Definition Documentation

#define S3C24XX_CLKSRC_MPLL   1

Definition at line 22 of file s3c24xx-i2s.h.

#define S3C24XX_CLKSRC_PCLK   0

Definition at line 21 of file s3c24xx-i2s.h.

#define S3C24XX_DIV_BCLK   1

Definition at line 26 of file s3c24xx-i2s.h.

#define S3C24XX_DIV_MCLK   0

Definition at line 25 of file s3c24xx-i2s.h.

#define S3C24XX_DIV_PRESCALER   2

Definition at line 27 of file s3c24xx-i2s.h.

#define S3C24XX_PRESCALE (   a,
  b 
)    (((a - 1) << S3C2410_IISPSR_INTSHIFT) | ((b - 1) << S3C2410_IISPSR_EXTSHFIT))

Definition at line 30 of file s3c24xx-i2s.h.

Function Documentation

u32 s3c24xx_i2s_get_clockrate ( void  )

Definition at line 371 of file s3c24xx-i2s.c.