Searched refs:work_r (Results 1 – 2 of 2) sorted by relevance
88 unsigned int work_l, work_r; in wm8739_s_ctrl() local103 work_r = (min(state->balance->val, 32768) * state->volume->val) / 32768; in wm8739_s_ctrl()106 vol_r = (long)work_r * 31 / 65535; in wm8739_s_ctrl()
772 unsigned int work_l, work_r; in set_audio_regs() local781 work_r = (min(decoder->audio_main_balance, (u16)32768) * decoder->audio_main_volume) / 32768; in set_audio_regs()783 decoder->audio_main_vol_r = (long)work_r * (24 - (-40)) / 65535 - 40; in set_audio_regs()
Completed in 6 milliseconds