Lines Matching defs:hi_max
1086 static void check_volume_resolution(struct snd_ac97 *ac97, int reg, unsigned char *lo_max, unsigned char *hi_max)
1098 *hi_max = (tbl->bits >> 8) & 0xff;
1104 *lo_max = *hi_max = 0;
1116 if (! *hi_max && ((val >> 8) & 0x7f) == cbit[i])
1117 *hi_max = max[i];
1118 if (*lo_max && *hi_max)
1246 unsigned int hi_max, struct snd_ac97 *ac97)
1253 if (hi_max) {
1273 lo_max | (hi_max << 8));
1286 unsigned char lo_max, hi_max;
1298 check_volume_resolution(ac97, reg, &lo_max, &hi_max);
1301 if ((err = snd_ac97_cvol_new(card, name, reg, lo_max, hi_max, ac97)) < 0)