Lines Matching refs:min
153 cval->dBmin = p->dB->min; in check_mapped_dB()
264 if (val < cval->min) in get_relative_value()
267 return (cval->max - cval->min + cval->res - 1) / cval->res; in get_relative_value()
269 return (val - cval->min) / cval->res; in get_relative_value()
275 return cval->min; in get_abs_value()
279 val += cval->min; in get_abs_value()
841 cval->min = 0x0000; in volume_control_quirks()
848 cval->min = 0x00; in volume_control_quirks()
853 cval->min = 0xb706; in volume_control_quirks()
860 cval->min = 0xb5fb; /* -73 dB = 0xb6ff */ in volume_control_quirks()
871 cval->min = 0x0000; in volume_control_quirks()
880 cval->min = 0x00; in volume_control_quirks()
896 cval->min == -15616) { in volume_control_quirks()
907 cval->min = 6080; in volume_control_quirks()
944 cval->min = default_min; in get_min_max_with_quirks()
945 cval->max = cval->min + 1; in get_min_max_with_quirks()
963 get_ctl_value(cval, UAC_GET_MIN, (cval->control << 8) | minchn, &cval->min) < 0) { in get_min_max_with_quirks()
997 if (cval->min + cval->res < cval->max) { in get_min_max_with_quirks()
1007 if (test < cval->min || test > cval->max || in get_min_max_with_quirks()
1029 cval->dBmin = (convert_signed_value(cval, cval->min) * 100) / 256; in get_min_max_with_quirks()
1062 uinfo->value.integer.min = 0; in mixer_ctl_feature_info()
1076 uinfo->value.integer.min = 0; in mixer_ctl_feature_info()
1078 (cval->max - cval->min + cval->res - 1) / cval->res; in mixer_ctl_feature_info()
1090 ucontrol->value.integer.value[0] = cval->min; in mixer_ctl_feature_get()
1342 range = (cval->max - cval->min) / cval->res; in build_feature_ctl()
1355 cval->min, cval->max, cval->res); in build_feature_ctl()
1360 cval->min, cval->max, cval->res); in build_feature_ctl()
1580 cval->id, kctl->id.name, cval->channels, cval->min, cval->max); in build_mixer_unit_ctl()
1652 ucontrol->value.integer.value[0] = cval->min; in mixer_ctl_procunit_get()
1846 cval->min = 1; in build_audio_procunit()
1856 cval->min = 0; in build_audio_procunit()
1891 cval->min, cval->max); in build_audio_procunit()
2051 cval->min = 1; in parse_audio_selector_unit()
2299 cval->min, cval->max, cval->dBmin, cval->dBmax); in snd_usb_mixer_dump_cval()