Home
last modified time | relevance | path

Searched refs:treble (Results 1 – 12 of 12) sorted by relevance

/drivers/media/video/
Dtda7432.c88 int bass, treble; member
256 t->input, t->volume, t->bass, t->treble, t->lf, t->lr, in tda7432_set()
262 buf[4] = t->treble; in tda7432_set()
289 t->treble = TDA7432_TREBLE_0DB; /* 0dB Treble */ in do_tda7432_init()
336 int treble=t->treble; in tda7432_g_ctrl() local
337 if(treble >= 0x8) in tda7432_g_ctrl()
338 treble = ~(treble - 0x8) & 0xf; in tda7432_g_ctrl()
339 ctrl->value = (treble << 12)+(treble << 8)+(treble << 4)+(treble); in tda7432_g_ctrl()
391 tda7432_write(sd, TDA7432_TN, 0x10 | (t->bass << 4) | t->treble); in tda7432_s_ctrl()
394 t->treble= ctrl->value >> 12; in tda7432_s_ctrl()
[all …]
Dtda9875.c50 int bass, treble; member
151 tda->lvol, tda->rvol, tda->bass, tda->treble); in tda9875_set()
159 a =tda->treble & 0xff; in tda9875_set()
203 t->treble = 0; /* 0dB */ in do_tda9875_init()
236 ctrl->value = (t->treble+12)*2730;/* min -12 max +12 */ in tda9875_g_ctrl()
280 t->treble = ((ctrl->value/2700)-12) & 0xff; in tda9875_s_ctrl()
281 if (t->treble > 12) in tda9875_s_ctrl()
282 t->treble = 12; in tda9875_s_ctrl()
283 if (t->treble < -12) in tda9875_s_ctrl()
284 t->treble = -12 & 0xff; in tda9875_s_ctrl()
Dmsp3400-driver.c293 int bal = 0, bass, treble, loudness; in msp_set_audio() local
317 treble = ((state->treble - 32768) * 0x60 / 65535) << 8; in msp_set_audio()
321 state->balance, state->bass, state->treble, state->loudness); in msp_set_audio()
325 msp_write_dsp(client, 0x0003, treble); in msp_set_audio()
331 msp_write_dsp(client, 0x0032, treble); in msp_set_audio()
421 ctrl->value = state->treble; in msp_g_ctrl()
463 state->treble = ctrl->value; in msp_s_ctrl()
509 va->treble = state->treble; in msp_ioctl()
527 state->treble = va->treble; in msp_ioctl()
760 state->treble, in msp_log_status()
[all …]
Dtvaudio.c122 __u16 left,right,treble,bass,muted,mode; member
1541 ctrl->value = chip->treble; in tvaudio_g_ctrl()
1610 chip->treble = ctrl->value; in tvaudio_s_ctrl()
1611 chip_write(chip,desc->treblereg,desc->treblefunc(chip->treble)); in tvaudio_s_ctrl()
1892 chip->treble = desc->trebleinit ? in tvaudio_probe()
1899 desc->treblefunc(chip->treble)); in tvaudio_probe()
Dmsp3400-driver.h91 int bass, treble; member
Dv4l1-compat.c882 aud->treble = i; in v4l1_compat_get_audio()
945 aud->treble, drv); in v4l1_compat_set_audio()
/drivers/media/video/cx18/
Dcx18-av-audio.c393 int treble = cx18_av_read(cx, 0x8db) & 0x3f; in get_treble() local
394 treble = (((48 - treble) * 0xffff) + 47) / 48; in get_treble()
395 return treble; in get_treble()
398 static void set_treble(struct cx18 *cx, int treble) in set_treble() argument
401 cx18_av_and_or(cx, 0x8db, ~0x3f, 48 - (treble * 48 / 0xffff)); in set_treble()
/drivers/media/video/cx25840/
Dcx25840-audio.c300 int treble = cx25840_read(client, 0x8db) & 0x3f; in get_treble() local
301 treble = (((48 - treble) * 0xffff) + 47) / 48; in get_treble()
302 return treble; in get_treble()
305 static void set_treble(struct i2c_client *client, int treble) in set_treble() argument
308 cx25840_and_or(client, 0x8db, ~0x3f, 48 - (treble * 48 / 0xffff)); in set_treble()
/drivers/media/radio/
Dradio-trust.c155 static void tr_settreble(__u16 treble) in tr_settreble() argument
157 curtreble = treble / 4370; in tr_settreble()
/drivers/media/video/pvrusb2/
Dpvrusb2-hdw-internal.h373 VCREATE_DATA(treble);
Dpvrusb2-hdw.c966 VCREATE_FUNCS(treble)
1033 DEFREF(treble),
/drivers/media/video/pwc/
Dpwc-v4l.c656 v->treble = 0; in pwc_video_do_ioctl()