Home
last modified time | relevance | path

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

/drivers/media/i2c/
Dwm8739.c90 u8 vol_r; /* +12dB to -34.5dB 1.5dB step (5bit) def:0dB */ in wm8739_s_ctrl() local
106 vol_r = (long)work_r * 31 / 65535; in wm8739_s_ctrl()
115 wm8739_write(sd, R1, (vol_r & 0x1f) | mute); in wm8739_s_ctrl()
Dwm8775.c84 u8 vol_l, vol_r; in wm8775_set_audio() local
91 vol_r = (min(balance, (u16)32768) * volume) >> 23; in wm8775_set_audio()
98 wm8775_write(sd, R15, vol_r | 0x100); /* 0x100= Right channel ADC zero cross enable */ in wm8775_set_audio()