swh:1:snp:77163734605b0ec556b01d897b7bb4a7e30d46b6
Raw File
Tip revision: c56eb8fb6dccb83d9fe62fd4dc00c834de9bc470 authored by Linus Torvalds on 18 January 2011, 23:14:02 UTC
Linux 2.6.38-rc1
Tip revision: c56eb8f
lm4857.h
/*
 * lm4857.h  --  ALSA Soc Audio Layer
 *
 * Copyright 2007 Wolfson Microelectronics PLC.
 * Author: Graeme Gregory
 *         graeme.gregory@wolfsonmicro.com or linux@wolfsonmicro.com
 *
 *  This program is free software; you can redistribute  it and/or modify it
 *  under  the terms of  the GNU General  Public License as published by the
 *  Free Software Foundation;  either version 2 of the  License, or (at your
 *  option) any later version.
 *
 *  Revision history
 *    18th Jun 2007   Initial version.
 */

#ifndef LM4857_H_
#define LM4857_H_

/* The register offsets in the cache array */
#define LM4857_MVOL 0
#define LM4857_LVOL 1
#define LM4857_RVOL 2
#define LM4857_CTRL 3

/* the shifts required to set these bits */
#define LM4857_3D 5
#define LM4857_WAKEUP 5
#define LM4857_EPGAIN 4

#endif /*LM4857_H_*/

back to top