Searched refs:volright (Results 1 – 2 of 2) sorted by relevance
269 unsigned int volright) in av7110_set_volume() argument277 av7110->mixer.volume_right = volright; in av7110_set_volume()282 volright = (volright * 256) / 1036; in av7110_set_volume()285 if (volright > 0x3f) in av7110_set_volume()286 volright = 0x3f; in av7110_set_volume()290 return SendDAC(av7110, 4, volright); in av7110_set_volume()294 volright = 127 - volright / 2; in av7110_set_volume()296 i2c_writereg(av7110, 0x20, 0x04, volright); in av7110_set_volume()300 vol = (volleft > volright) ? volleft : volright; in av7110_set_volume()303 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume()[all …]
15 unsigned int volright);