Lines Matching refs:integer

198 	uinfo->value.integer.min = 0;  in snd_soc_info_volsw()
199 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw()
226 uinfo->value.integer.max += mc->min; in snd_soc_info_volsw_sx()
267 ucontrol->value.integer.value[0] = val - min; in snd_soc_get_volsw()
269 ucontrol->value.integer.value[0] = in snd_soc_get_volsw()
270 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw()
282 ucontrol->value.integer.value[1] = val - min; in snd_soc_get_volsw()
284 ucontrol->value.integer.value[1] = in snd_soc_get_volsw()
285 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw()
325 val = ((ucontrol->value.integer.value[0] + min) & mask); in snd_soc_put_volsw()
331 val2 = ((ucontrol->value.integer.value[1] + min) & mask); in snd_soc_put_volsw()
384 ucontrol->value.integer.value[0] = ((val >> shift) - min) & mask; in snd_soc_get_volsw_sx()
392 ucontrol->value.integer.value[1] = val; in snd_soc_get_volsw_sx()
426 val = (ucontrol->value.integer.value[0] + min) & mask; in snd_soc_put_volsw_sx()
435 val2 = (ucontrol->value.integer.value[1] + min) & mask; in snd_soc_put_volsw_sx()
469 uinfo->value.integer.min = 0; in snd_soc_info_volsw_range()
470 uinfo->value.integer.max = platform_max - min; in snd_soc_info_volsw_range()
502 val = (max - ucontrol->value.integer.value[0]) & mask; in snd_soc_put_volsw_range()
504 val = ((ucontrol->value.integer.value[0] + min) & mask); in snd_soc_put_volsw_range()
514 val = (max - ucontrol->value.integer.value[1]) & mask; in snd_soc_put_volsw_range()
516 val = ((ucontrol->value.integer.value[1] + min) & mask); in snd_soc_put_volsw_range()
557 ucontrol->value.integer.value[0] = (val >> shift) & mask; in snd_soc_get_volsw_range()
559 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
560 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw_range()
562 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
563 ucontrol->value.integer.value[0] - min; in snd_soc_get_volsw_range()
570 ucontrol->value.integer.value[1] = (val >> shift) & mask; in snd_soc_get_volsw_range()
572 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
573 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw_range()
575 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
576 ucontrol->value.integer.value[1] - min; in snd_soc_get_volsw_range()
806 uinfo->value.integer.min = mc->min; in snd_soc_info_xr_sx()
807 uinfo->value.integer.max = mc->max; in snd_soc_info_xr_sx()
856 ucontrol->value.integer.value[0] = val; in snd_soc_get_xr_sx()
888 long val = ucontrol->value.integer.value[0]; in snd_soc_put_xr_sx()