Lines Matching refs:integer

192 	uinfo->value.integer.min = 0;  in snd_soc_info_volsw()
193 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw()
220 uinfo->value.integer.max += mc->min; in snd_soc_info_volsw_sx()
261 ucontrol->value.integer.value[0] = val - min; in snd_soc_get_volsw()
263 ucontrol->value.integer.value[0] = in snd_soc_get_volsw()
264 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw()
276 ucontrol->value.integer.value[1] = val - min; in snd_soc_get_volsw()
278 ucontrol->value.integer.value[1] = in snd_soc_get_volsw()
279 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw()
319 val = ((ucontrol->value.integer.value[0] + min) & mask); in snd_soc_put_volsw()
325 val2 = ((ucontrol->value.integer.value[1] + min) & mask); in snd_soc_put_volsw()
374 ucontrol->value.integer.value[0] = ((val >> shift) - min) & mask; in snd_soc_get_volsw_sx()
379 ucontrol->value.integer.value[1] = val; in snd_soc_get_volsw_sx()
413 val = (ucontrol->value.integer.value[0] + min) & mask; in snd_soc_put_volsw_sx()
422 val2 = (ucontrol->value.integer.value[1] + min) & mask; in snd_soc_put_volsw_sx()
456 uinfo->value.integer.min = 0; in snd_soc_info_volsw_range()
457 uinfo->value.integer.max = platform_max - min; in snd_soc_info_volsw_range()
489 val = (max - ucontrol->value.integer.value[0]) & mask; in snd_soc_put_volsw_range()
491 val = ((ucontrol->value.integer.value[0] + min) & mask); in snd_soc_put_volsw_range()
501 val = (max - ucontrol->value.integer.value[1]) & mask; in snd_soc_put_volsw_range()
503 val = ((ucontrol->value.integer.value[1] + min) & mask); in snd_soc_put_volsw_range()
540 ucontrol->value.integer.value[0] = (val >> shift) & mask; in snd_soc_get_volsw_range()
542 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
543 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw_range()
545 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
546 ucontrol->value.integer.value[0] - min; in snd_soc_get_volsw_range()
550 ucontrol->value.integer.value[1] = (val >> shift) & mask; in snd_soc_get_volsw_range()
552 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
553 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw_range()
555 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
556 ucontrol->value.integer.value[1] - min; in snd_soc_get_volsw_range()
779 uinfo->value.integer.min = mc->min; in snd_soc_info_xr_sx()
780 uinfo->value.integer.max = mc->max; in snd_soc_info_xr_sx()
826 ucontrol->value.integer.value[0] = val; in snd_soc_get_xr_sx()
858 long val = ucontrol->value.integer.value[0]; in snd_soc_put_xr_sx()