cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

s3c24xx-i2s.h (725B)


      1/* SPDX-License-Identifier: GPL-2.0+ */
      2/*
      3 * s3c24xx-i2s.c  --  ALSA Soc Audio Layer
      4 *
      5 * Copyright 2005 Wolfson Microelectronics PLC.
      6 * Author: Graeme Gregory
      7 *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
      8 *
      9 *  Revision history
     10 *    10th Nov 2006   Initial version.
     11 */
     12
     13#ifndef S3C24XXI2S_H_
     14#define S3C24XXI2S_H_
     15
     16/* clock sources */
     17#define S3C24XX_CLKSRC_PCLK 0
     18#define S3C24XX_CLKSRC_MPLL 1
     19
     20/* Clock dividers */
     21#define S3C24XX_DIV_MCLK	0
     22#define S3C24XX_DIV_BCLK	1
     23#define S3C24XX_DIV_PRESCALER	2
     24
     25/* prescaler */
     26#define S3C24XX_PRESCALE(a,b) \
     27	(((a - 1) << S3C2410_IISPSR_INTSHIFT) | ((b - 1) << S3C2410_IISPSR_EXTSHFIT))
     28
     29u32 s3c24xx_i2s_get_clockrate(void);
     30
     31#endif /*S3C24XXI2S_H_*/