Searched refs:lo_max (Results 1 – 1 of 1) sorted by relevance
/linux-2.6.39/sound/pci/ac97/ |
D | ac97_codec.c | 1093 static void check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned… in check_volume_resolution() argument 1104 *lo_max = tbl->bits & 0xff; in check_volume_resolution() 1111 *lo_max = *hi_max = 0; in check_volume_resolution() 1124 if (! *lo_max && (val & 0x7f) == cbit[i]) in check_volume_resolution() 1125 *lo_max = max[i]; in check_volume_resolution() 1128 if (*lo_max && *hi_max) in check_volume_resolution() 1255 static int snd_ac97_cvol_new(struct snd_card *card, char *name, int reg, unsigned int lo_max, in snd_ac97_cvol_new() argument 1265 struct snd_kcontrol_new tmp = AC97_DOUBLE(name, reg, 8, 0, lo_max, 1); in snd_ac97_cvol_new() 1270 struct snd_kcontrol_new tmp = AC97_SINGLE(name, reg, 0, lo_max, 1); in snd_ac97_cvol_new() 1277 set_tlv_db_scale(kctl, find_db_scale(lo_max)); in snd_ac97_cvol_new() [all …]
|