/*1* s3c24xx-i2s.c -- ALSA Soc Audio Layer2*3* Copyright 2005 Wolfson Microelectronics PLC.4* Author: Graeme Gregory5* [email protected] or [email protected]6*7* This program is free software; you can redistribute it and/or modify it8* under the terms of the GNU General Public License as published by the9* Free Software Foundation; either version 2 of the License, or (at your10* option) any later version.11*12* Revision history13* 10th Nov 2006 Initial version.14*/1516#ifndef S3C24XXI2S_H_17#define S3C24XXI2S_H_1819/* clock sources */20#define S3C24XX_CLKSRC_PCLK 021#define S3C24XX_CLKSRC_MPLL 12223/* Clock dividers */24#define S3C24XX_DIV_MCLK 025#define S3C24XX_DIV_BCLK 126#define S3C24XX_DIV_PRESCALER 22728/* prescaler */29#define S3C24XX_PRESCALE(a,b) \30(((a - 1) << S3C2410_IISPSR_INTSHIFT) | ((b - 1) << S3C2410_IISPSR_EXTSHFIT))3132u32 s3c24xx_i2s_get_clockrate(void);3334#endif /*S3C24XXI2S_H_*/353637