Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/media/av7110/
H A Dav7110_av.c268 unsigned int volright) in av7110_set_volume() argument
276 av7110->mixer.volume_right = volright; in av7110_set_volume()
281 volright = (volright * 256) / 1036; in av7110_set_volume()
284 if (volright > 0x3f) in av7110_set_volume()
285 volright = 0x3f; in av7110_set_volume()
288 return SendDAC(av7110, 4, volright); in av7110_set_volume()
292 volright = 127 - volright / 2; in av7110_set_volume()
294 i2c_writereg(av7110, 0x20, 0x04, volright); in av7110_set_volume()
298 vol = (volleft > volright) ? volleft : volright; in av7110_set_volume()
308 vol = (volleft > volright) ? volleft : volright; in av7110_set_volume()
[all …]
H A Dav7110_av.h15 unsigned int volright);