• Home
  • Raw
  • Download

Lines Matching refs:value

73 	ucontrol->value.enumerated.item[0] = item;  in snd_soc_get_enum_double()
77 ucontrol->value.enumerated.item[1] = item; in snd_soc_get_enum_double()
98 unsigned int *item = ucontrol->value.enumerated.item; in snd_soc_put_enum_double()
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]; in snd_soc_put_volsw()
338 val2 = ucontrol->value.integer.value[1]; in snd_soc_put_volsw()
404 ucontrol->value.integer.value[0] = ((val >> shift) - min) & mask; in snd_soc_get_volsw_sx()
412 ucontrol->value.integer.value[1] = val; in snd_soc_get_volsw_sx()
445 val = ucontrol->value.integer.value[0]; in snd_soc_put_volsw_sx()
461 val2 = ucontrol->value.integer.value[1]; in snd_soc_put_volsw_sx()
503 uinfo->value.integer.min = 0; in snd_soc_info_volsw_range()
504 uinfo->value.integer.max = platform_max - min; in snd_soc_info_volsw_range()
535 tmp = ucontrol->value.integer.value[0]; in snd_soc_put_volsw_range()
544 val = (max - ucontrol->value.integer.value[0]) & mask; in snd_soc_put_volsw_range()
546 val = ((ucontrol->value.integer.value[0] + min) & mask); in snd_soc_put_volsw_range()
556 tmp = ucontrol->value.integer.value[1]; in snd_soc_put_volsw_range()
565 val = (max - ucontrol->value.integer.value[1]) & mask; in snd_soc_put_volsw_range()
567 val = ((ucontrol->value.integer.value[1] + min) & mask); in snd_soc_put_volsw_range()
612 ucontrol->value.integer.value[0] = (val >> shift) & mask; in snd_soc_get_volsw_range()
614 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
615 max - ucontrol->value.integer.value[0]; in snd_soc_get_volsw_range()
617 ucontrol->value.integer.value[0] = in snd_soc_get_volsw_range()
618 ucontrol->value.integer.value[0] - min; in snd_soc_get_volsw_range()
625 ucontrol->value.integer.value[1] = (val >> shift) & mask; in snd_soc_get_volsw_range()
627 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
628 max - ucontrol->value.integer.value[1]; in snd_soc_get_volsw_range()
630 ucontrol->value.integer.value[1] = in snd_soc_get_volsw_range()
631 ucontrol->value.integer.value[1] - min; in snd_soc_get_volsw_range()
699 ucontrol->value.bytes.data, in snd_soc_bytes_get()
708 ucontrol->value.bytes.data[0] &= ~params->mask; in snd_soc_bytes_get()
711 ((u16 *)(&ucontrol->value.bytes.data))[0] in snd_soc_bytes_get()
715 ((u32 *)(&ucontrol->value.bytes.data))[0] in snd_soc_bytes_get()
741 data = kmemdup(ucontrol->value.bytes.data, len, GFP_KERNEL | GFP_DMA); in snd_soc_bytes_put()
861 uinfo->value.integer.min = mc->min; in snd_soc_info_xr_sx()
862 uinfo->value.integer.max = mc->max; in snd_soc_info_xr_sx()
911 ucontrol->value.integer.value[0] = val; in snd_soc_get_xr_sx()
943 long val = ucontrol->value.integer.value[0]; in snd_soc_put_xr_sx()
995 ucontrol->value.enumerated.item[0] = val ^ invert; in snd_soc_get_strobe()
1021 unsigned int strobe = ucontrol->value.enumerated.item[0] != 0; in snd_soc_put_strobe()