|
Linux Kernel
3.7.1
|
#include <linux/init.h>#include <linux/slab.h>#include <linux/module.h>#include <sound/core.h>#include <sound/control.h>#include <sound/tea6330t.h>Go to the source code of this file.
Data Structures | |
| struct | tea6330t |
Macros | |
| #define | TEA6330T_ADDR (0x80>>1) /* fixed address */ |
| #define | TEA6330T_SADDR_VOLUME_LEFT 0x00 /* volume left */ |
| #define | TEA6330T_SADDR_VOLUME_RIGHT 0x01 /* volume right */ |
| #define | TEA6330T_SADDR_BASS 0x02 /* bass control */ |
| #define | TEA6330T_SADDR_TREBLE 0x03 /* treble control */ |
| #define | TEA6330T_SADDR_FADER 0x04 /* fader control */ |
| #define | TEA6330T_MFN 0x20 /* mute control for selected channels */ |
| #define | TEA6330T_FCH 0x10 /* select fader channels - front or rear */ |
| #define | TEA6330T_SADDR_AUDIO_SWITCH 0x05 /* audio switch */ |
| #define | TEA6330T_GMU 0x80 /* mute control, general mute */ |
| #define | TEA6330T_EQN 0x40 /* equalizer switchover (0=equalizer-on) */ |
| #define | TEA6330T_MASTER_VOLUME(xname, xindex) |
| #define | TEA6330T_MASTER_SWITCH(xname, xindex) |
| #define | snd_tea6330t_info_master_switch snd_ctl_boolean_stereo_info |
| #define | TEA6330T_BASS(xname, xindex) |
| #define | TEA6330T_TREBLE(xname, xindex) |
Functions | |
| MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>") | |
| MODULE_DESCRIPTION ("Routines for control of the TEA6330T circuit via i2c bus") | |
| MODULE_LICENSE ("GPL") | |
| int | snd_tea6330t_detect (struct snd_i2c_bus *bus, int equalizer) |
| int | snd_tea6330t_update_mixer (struct snd_card *card, struct snd_i2c_bus *bus, int equalizer, int fader) |
| EXPORT_SYMBOL (snd_tea6330t_detect) | |
| EXPORT_SYMBOL (snd_tea6330t_update_mixer) | |
| #define snd_tea6330t_info_master_switch snd_ctl_boolean_stereo_info |
Definition at line 145 of file tea6330t.c.
| #define TEA6330T_ADDR (0x80>>1) /* fixed address */ |
Definition at line 34 of file tea6330t.c.
| #define TEA6330T_BASS | ( | xname, | |
| xindex | |||
| ) |
Definition at line 184 of file tea6330t.c.
| #define TEA6330T_EQN 0x40 /* equalizer switchover (0=equalizer-on) */ |
Definition at line 45 of file tea6330t.c.
| #define TEA6330T_FCH 0x10 /* select fader channels - front or rear */ |
Definition at line 42 of file tea6330t.c.
| #define TEA6330T_GMU 0x80 /* mute control, general mute */ |
Definition at line 44 of file tea6330t.c.
| #define TEA6330T_MASTER_SWITCH | ( | xname, | |
| xindex | |||
| ) |
Definition at line 140 of file tea6330t.c.
| #define TEA6330T_MASTER_VOLUME | ( | xname, | |
| xindex | |||
| ) |
Definition at line 81 of file tea6330t.c.
| #define TEA6330T_MFN 0x20 /* mute control for selected channels */ |
Definition at line 41 of file tea6330t.c.
| #define TEA6330T_SADDR_AUDIO_SWITCH 0x05 /* audio switch */ |
Definition at line 43 of file tea6330t.c.
| #define TEA6330T_SADDR_BASS 0x02 /* bass control */ |
Definition at line 38 of file tea6330t.c.
| #define TEA6330T_SADDR_FADER 0x04 /* fader control */ |
Definition at line 40 of file tea6330t.c.
| #define TEA6330T_SADDR_TREBLE 0x03 /* treble control */ |
Definition at line 39 of file tea6330t.c.
| #define TEA6330T_SADDR_VOLUME_LEFT 0x00 /* volume left */ |
Definition at line 36 of file tea6330t.c.
| #define TEA6330T_SADDR_VOLUME_RIGHT 0x01 /* volume right */ |
Definition at line 37 of file tea6330t.c.
| #define TEA6330T_TREBLE | ( | xname, | |
| xindex | |||
| ) |
Definition at line 231 of file tea6330t.c.
| EXPORT_SYMBOL | ( | snd_tea6330t_detect | ) |
| EXPORT_SYMBOL | ( | snd_tea6330t_update_mixer | ) |
| MODULE_AUTHOR | ( | "Jaroslav Kysela <[email protected]>" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| int snd_tea6330t_detect | ( | struct snd_i2c_bus * | bus, |
| int | equalizer | ||
| ) |
Definition at line 60 of file tea6330t.c.
| int snd_tea6330t_update_mixer | ( | struct snd_card * | card, |
| struct snd_i2c_bus * | bus, | ||
| int | equalizer, | ||
| int | fader | ||
| ) |
Definition at line 290 of file tea6330t.c.
1.8.2