Lines Matching refs:value
70 ucontrol->value.enumerated.item[0] = item; in snd_soc_get_enum_double()
74 ucontrol->value.enumerated.item[1] = item; in snd_soc_get_enum_double()
95 unsigned int *item = ucontrol->value.enumerated.item; in snd_soc_put_enum_double()
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]; in snd_soc_put_volsw()
332 val2 = ucontrol->value.integer.value[1]; in snd_soc_put_volsw()
394 ucontrol->value.integer.value[0] = ((val >> shift) - min) & mask; in snd_soc_get_volsw_sx()
399 ucontrol->value.integer.value[1] = val; in snd_soc_get_volsw_sx()
432 val = ucontrol->value.integer.value[0]; in snd_soc_put_volsw_sx()
448 val2 = ucontrol->value.integer.value[1]; in snd_soc_put_volsw_sx()
490 uinfo->value.integer.min = 0; in snd_soc_info_volsw_range()
491 uinfo->value.integer.max = platform_max - min; in snd_soc_info_volsw_range()
522 tmp = ucontrol->value.integer.value[0]; in snd_soc_put_volsw_range()
531 val = (max - ucontrol->value.integer.value[0]) & mask; in snd_soc_put_volsw_range()
533 val = ((ucontrol->value.integer.value[0] + min) & mask); in snd_soc_put_volsw_range()
543 tmp = ucontrol->value.integer.value[1]; in snd_soc_put_volsw_range()
552 val = (max - ucontrol->value.integer.value[1]) & mask; in snd_soc_put_volsw_range()
554 val = ((ucontrol->value.integer.value[1] + min) & mask); in snd_soc_put_volsw_range()
595 ucontrol->value.integer.value[0] = (val >> shift) & mask; in snd_soc_get_volsw_range()
597 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
598 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw_range()
600 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
601 ucontrol->value.integer.value[0] - min; in snd_soc_get_volsw_range()
605 ucontrol->value.integer.value[1] = (val >> shift) & mask; in snd_soc_get_volsw_range()
607 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
608 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw_range()
610 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
611 ucontrol->value.integer.value[1] - min; in snd_soc_get_volsw_range()
672 ucontrol->value.bytes.data, in snd_soc_bytes_get()
681 ucontrol->value.bytes.data[0] &= ~params->mask; in snd_soc_bytes_get()
684 ((u16 *)(&ucontrol->value.bytes.data))[0] in snd_soc_bytes_get()
688 ((u32 *)(&ucontrol->value.bytes.data))[0] in snd_soc_bytes_get()
714 data = kmemdup(ucontrol->value.bytes.data, len, GFP_KERNEL | GFP_DMA); in snd_soc_bytes_put()
834 uinfo->value.integer.min = mc->min; in snd_soc_info_xr_sx()
835 uinfo->value.integer.max = mc->max; in snd_soc_info_xr_sx()
881 ucontrol->value.integer.value[0] = val; in snd_soc_get_xr_sx()
913 long val = ucontrol->value.integer.value[0]; in snd_soc_put_xr_sx()
961 ucontrol->value.enumerated.item[0] = val ^ invert; in snd_soc_get_strobe()
987 unsigned int strobe = ucontrol->value.enumerated.item[0] != 0; in snd_soc_put_strobe()