Home
last modified time | relevance | path

Searched refs:lo_max (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/sound/pci/ac97/
H A Dac97_codec.c1075 static void check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned char *hi_max) in check_volume_resolution() argument
1086 *lo_max = tbl->bits & 0xff; in check_volume_resolution()
1093 *lo_max = *hi_max = 0; in check_volume_resolution()
1106 if (! *lo_max && (val & 0x7f) == cbit[i]) in check_volume_resolution()
1107 *lo_max = max[i]; in check_volume_resolution()
1110 if (*lo_max && *hi_max) in check_volume_resolution()
1237 static int snd_ac97_cvol_new(struct snd_card *card, char *name, int reg, unsigned int lo_max, in snd_ac97_cvol_new() argument
1247 struct snd_kcontrol_new tmp = AC97_DOUBLE(name, reg, 8, 0, lo_max, 1); in snd_ac97_cvol_new()
1252 struct snd_kcontrol_new tmp = AC97_SINGLE(name, reg, 0, lo_max, 1); in snd_ac97_cvol_new()
1261 set_tlv_db_scale(kctl, find_db_scale(lo_max)); in snd_ac97_cvol_new()
1282 unsigned char lo_max, hi_max; snd_ac97_cmix_new_stereo() local
[all...]
/kernel/linux/linux-6.6/sound/pci/ac97/
H A Dac97_codec.c1074 static void check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned char *hi_max) in check_volume_resolution() argument
1085 *lo_max = tbl->bits & 0xff; in check_volume_resolution()
1092 *lo_max = *hi_max = 0; in check_volume_resolution()
1105 if (! *lo_max && (val & 0x7f) == cbit[i]) in check_volume_resolution()
1106 *lo_max = max[i]; in check_volume_resolution()
1109 if (*lo_max && *hi_max) in check_volume_resolution()
1236 static int snd_ac97_cvol_new(struct snd_card *card, char *name, int reg, unsigned int lo_max, in snd_ac97_cvol_new() argument
1246 struct snd_kcontrol_new tmp = AC97_DOUBLE(name, reg, 8, 0, lo_max, 1); in snd_ac97_cvol_new()
1251 struct snd_kcontrol_new tmp = AC97_SINGLE(name, reg, 0, lo_max, 1); in snd_ac97_cvol_new()
1260 set_tlv_db_scale(kctl, find_db_scale(lo_max)); in snd_ac97_cvol_new()
1281 unsigned char lo_max, hi_max; snd_ac97_cmix_new_stereo() local
[all...]

Completed in 6 milliseconds