Lines Matching refs:hi_max
1093 …eck_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned char *hi_max) in check_volume_resolution() argument
1105 *hi_max = (tbl->bits >> 8) & 0xff; in check_volume_resolution()
1111 *lo_max = *hi_max = 0; in check_volume_resolution()
1126 if (! *hi_max && ((val >> 8) & 0x7f) == cbit[i]) in check_volume_resolution()
1127 *hi_max = max[i]; in check_volume_resolution()
1128 if (*lo_max && *hi_max) in check_volume_resolution()
1256 unsigned int hi_max, struct snd_ac97 *ac97) in snd_ac97_cvol_new() argument
1263 if (hi_max) { in snd_ac97_cvol_new()
1284 | lo_max | (hi_max << 8) in snd_ac97_cvol_new()
1298 unsigned char lo_max, hi_max; in snd_ac97_cmix_new_stereo() local
1310 check_volume_resolution(ac97, reg, &lo_max, &hi_max); in snd_ac97_cmix_new_stereo()
1313 if ((err = snd_ac97_cvol_new(card, name, reg, lo_max, hi_max, ac97)) < 0) in snd_ac97_cmix_new_stereo()