Lines Matching defs:treble
67 int bass, treble;
145 /* Bits 0,1,2 control absolute treble gain from 0dB to 14dB
148 * Bit 3 controls treble attenuation/gain (sign)
161 * 1 1 0 1 0 1 0 1 is +4dB bass, -4dB treble
235 t->input, t->volume, t->bass, t->treble, t->lf, t->lr,
241 buf[4] = t->treble;
268 t->treble = TDA7432_TREBLE_0DB; /* 0dB Treble */
306 /* Bass/treble 4 bits each */
315 int treble=t->treble;
316 if(treble >= 0x8)
317 treble = ~(treble - 0x8) & 0xf;
318 ctrl->value = (treble << 12)+(treble << 8)+(treble << 4)+(treble);
370 tda7432_write(sd, TDA7432_TN, 0x10 | (t->bass << 4) | t->treble);
373 t->treble= ctrl->value >> 12;
374 if(t->treble>= 0x8)
375 t->treble = (~t->treble & 0xf) + 0x8 ;
377 tda7432_write(sd, TDA7432_TN, 0x10 | (t->bass << 4) | t->treble);