Home
last modified time | relevance | path

Searched refs:work_l (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/i2c/
H A Dwm8739.c88 unsigned int work_l, work_r; in wm8739_s_ctrl() local
102 work_l = (min(65536 - state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()
105 vol_l = (long)work_l * 31 / 65535; in wm8739_s_ctrl()
H A Dsaa717x.c772 unsigned int work_l, work_r; in set_audio_regs() local
780 work_l = (min(65536 - decoder->audio_main_balance, 32768) * decoder->audio_main_volume) / 32768; in set_audio_regs()
782 decoder->audio_main_vol_l = (long)work_l * (24 - (-40)) / 65535 - 40; in set_audio_regs()