8 #define TAS3004_TREBLE_MIN 0
9 #define TAS3004_TREBLE_MAX 72
10 #define TAS3004_BASS_MIN 0
11 #define TAS3004_BASS_MAX 72
12 #define TAS3004_TREBLE_ZERO 36
13 #define TAS3004_BASS_ZERO 36
15 static u8 tas3004_treble_table[] = {
91 static inline u8 tas3004_treble(
int idx)
93 return tas3004_treble_table[
idx];
101 static s8 tas3004_bass_diff_to_treble[] = {
127 static inline u8 tas3004_bass(
int idx)
132 result += tas3004_bass_diff_to_treble[idx-50];