Searched refs:volleft (Results 1 – 2 of 2) sorted by relevance
268 int av7110_set_volume(struct av7110 *av7110, unsigned int volleft, in av7110_set_volume() argument276 av7110->mixer.volume_left = volleft; in av7110_set_volume()281 volleft = (volleft * 256) / 1036; in av7110_set_volume()283 if (volleft > 0x3f) in av7110_set_volume()284 volleft = 0x3f; in av7110_set_volume()287 err = SendDAC(av7110, 3, 0x80 + volleft); in av7110_set_volume()293 volleft = 127 - volleft / 2; in av7110_set_volume()295 i2c_writereg(av7110, 0x20, 0x03, volleft); 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 …]
14 int av7110_set_volume(struct av7110 *av7110, unsigned int volleft,