Searched refs:volleft (Results 1 – 2 of 2) sorted by relevance
267 int av7110_set_volume(struct av7110 *av7110, unsigned int volleft, in av7110_set_volume() argument275 av7110->mixer.volume_left = volleft; in av7110_set_volume()280 volleft = (volleft * 256) / 1036; in av7110_set_volume()282 if (volleft > 0x3f) in av7110_set_volume()283 volleft = 0x3f; in av7110_set_volume()286 if ((err = SendDAC(av7110, 3, 0x80 + volleft))) in av7110_set_volume()291 volleft = 127 - volleft / 2; in av7110_set_volume()293 i2c_writereg(av7110, 0x20, 0x03, volleft); in av7110_set_volume()298 vol = (volleft > volright) ? volleft : volright; in av7110_set_volume()301 balance = ((volright - volleft) * 127) / vol; in av7110_set_volume()[all …]
14 extern int av7110_set_volume(struct av7110 *av7110, unsigned int volleft,