Lines Matching refs:integer

203 	uinfo->value.integer.min = 0;  in snd_soc_info_volsw()
204 uinfo->value.integer.max = platform_max - mc->min; in snd_soc_info_volsw()
231 uinfo->value.integer.max += mc->min; in snd_soc_info_volsw_sx()
272 ucontrol->value.integer.value[0] = val - min; in snd_soc_get_volsw()
274 ucontrol->value.integer.value[0] = in snd_soc_get_volsw()
275 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw()
287 ucontrol->value.integer.value[1] = val - min; in snd_soc_get_volsw()
289 ucontrol->value.integer.value[1] = in snd_soc_get_volsw()
290 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw()
330 val = ((ucontrol->value.integer.value[0] + min) & mask); in snd_soc_put_volsw()
336 val2 = ((ucontrol->value.integer.value[1] + min) & mask); in snd_soc_put_volsw()
389 ucontrol->value.integer.value[0] = ((val >> shift) - min) & mask; in snd_soc_get_volsw_sx()
397 ucontrol->value.integer.value[1] = val; in snd_soc_get_volsw_sx()
431 val = (ucontrol->value.integer.value[0] + min) & mask; in snd_soc_put_volsw_sx()
440 val2 = (ucontrol->value.integer.value[1] + min) & mask; in snd_soc_put_volsw_sx()
474 uinfo->value.integer.min = 0; in snd_soc_info_volsw_range()
475 uinfo->value.integer.max = platform_max - min; in snd_soc_info_volsw_range()
507 val = (max - ucontrol->value.integer.value[0]) & mask; in snd_soc_put_volsw_range()
509 val = ((ucontrol->value.integer.value[0] + min) & mask); in snd_soc_put_volsw_range()
519 val = (max - ucontrol->value.integer.value[1]) & mask; in snd_soc_put_volsw_range()
521 val = ((ucontrol->value.integer.value[1] + min) & mask); in snd_soc_put_volsw_range()
562 ucontrol->value.integer.value[0] = (val >> shift) & mask; in snd_soc_get_volsw_range()
564 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
565 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw_range()
567 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
568 ucontrol->value.integer.value[0] - min; in snd_soc_get_volsw_range()
575 ucontrol->value.integer.value[1] = (val >> shift) & mask; in snd_soc_get_volsw_range()
577 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
578 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw_range()
580 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
581 ucontrol->value.integer.value[1] - min; in snd_soc_get_volsw_range()
811 uinfo->value.integer.min = mc->min; in snd_soc_info_xr_sx()
812 uinfo->value.integer.max = mc->max; in snd_soc_info_xr_sx()
861 ucontrol->value.integer.value[0] = val; in snd_soc_get_xr_sx()
893 long val = ucontrol->value.integer.value[0]; in snd_soc_put_xr_sx()