Searched refs:work_r (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/media/i2c/
H A Dwm8739.c101 unsigned int work_l, work_r; wm8739_s_ctrl() local
116 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; wm8739_s_ctrl()
119 vol_r = (long)work_r * 31 / 65535; wm8739_s_ctrl()
H A Dsaa717x.c785 unsigned int work_l, work_r; set_audio_regs() local
794 work_r = (min(decoder->audio_main_balance, (u16)32768) * decoder->audio_main_volume) / 32768; set_audio_regs()
796 decoder->audio_main_vol_r = (long)work_r * (24 - (-40)) / 65535 - 40; set_audio_regs()

Completed in 116 milliseconds