2 * linux/include/linux/l3/uda1341.h
4 * Philips UDA1341 mixer device driver for ALSA
6 * Copyright (c) 2002 Tomas Kasparek <tomas.kasparek@seznam.cz>
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License.
13 * 2002-03-13 Tomas Kasparek Initial release - based on uda1341.h from OSS
14 * 2002-03-30 Tomas Kasparek Proc filesystem support, complete mixer and DSP
18 /* $Id: uda1341.h,v 1.8 2005/11/17 14:17:21 tiwai Exp $ */
20 #define UDA1341_ALSA_NAME "snd-uda1341"
23 * Default rate set after inicialization
25 #define AUDIO_RATE_DEFAULT 44100
28 * UDA1341 L3 address and command types
30 #define UDA1341_L3ADDR 5
31 #define UDA1341_DATA0 (UDA1341_L3ADDR << 2 | 0)
32 #define UDA1341_DATA1 (UDA1341_L3ADDR << 2 | 1)
33 #define UDA1341_STATUS (UDA1341_L3ADDR << 2 | 2)
116 //used in update_bits (write_cfg) to avoid l3_write - just update local copy of regs.
118 //update local regs and write value to uda1341 - do l3_write
122 int __init
snd_chip_uda1341_mixer_new(struct snd_card
*card
, struct l3_client
**clnt
);
126 * indent-tabs-mode: t