Searched refs:work_l (Results 1 – 2 of 2) sorted by relevance
88 unsigned int work_l, work_r; in wm8739_s_ctrl() local102 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()
772 unsigned int work_l, work_r; in set_audio_regs() local780 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()
Completed in 6 milliseconds