| * linux/include/linux/l3/uda1341.h |
| * Philips UDA1341 mixer device driver for ALSA |
| * Copyright (c) 2002 Tomas Kasparek <tomas.kasparek@seznam.cz> |
| * This program is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU General Public License. |
| * 2002-03-13 Tomas Kasparek Initial release - based on uda1341.h from OSS |
| * 2002-03-30 Tomas Kasparek Proc filesystem support, complete mixer and DSP |
| #define UDA1341_ALSA_NAME "snd-uda1341" |
| * Default rate set after inicialization |
| #define AUDIO_RATE_DEFAULT 44100 |
| * UDA1341 L3 address and command types |
| #define UDA1341_DATA0 (UDA1341_L3ADDR << 2 | 0) |
| #define UDA1341_DATA1 (UDA1341_L3ADDR << 2 | 1) |
| #define UDA1341_STATUS (UDA1341_L3ADDR << 2 | 2) |
| //used in update_bits (write_cfg) to avoid l3_write - just update local copy of regs. |
| //update local regs and write value to uda1341 - do l3_write |
| int __init snd_chip_uda1341_mixer_new(struct snd_card *card, struct l3_client **clnt); |