Searched refs:tasdevice_clamp (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/sound/soc/codecs/ |
H A D | tas2781-comlib.c | 427 static int tasdevice_clamp(int val, int max, unsigned int invert) in tasdevice_clamp() function 449 val = tasdevice_clamp(ucontrol->value.integer.value[0], max, invert); in tasdevice_amp_putvol() 483 val = tasdevice_clamp(val, max, invert); in tasdevice_amp_getvol() 501 val = tasdevice_clamp(ucontrol->value.integer.value[0], max, invert); in tasdevice_digital_putvol() 534 val = tasdevice_clamp(val, max, invert); in tasdevice_digital_getvol()
|