Lines Matching refs:value
346 uinfo->value.integer.min = 0; in siu_dai_info_volume()
347 uinfo->value.integer.max = SIU_MAX_VOLUME; in siu_dai_info_volume()
365 ucontrol->value.integer.value[0] = vol & 0xffff; in siu_dai_get_volume()
366 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff; in siu_dai_get_volume()
371 ucontrol->value.integer.value[0] = vol & 0xffff; in siu_dai_get_volume()
372 ucontrol->value.integer.value[1] = vol >> 16 & 0xffff; in siu_dai_get_volume()
395 if (ucontrol->value.integer.value[0] < 0 || in siu_dai_put_volume()
396 ucontrol->value.integer.value[0] > SIU_MAX_VOLUME || in siu_dai_put_volume()
397 ucontrol->value.integer.value[1] < 0 || in siu_dai_put_volume()
398 ucontrol->value.integer.value[1] > SIU_MAX_VOLUME) in siu_dai_put_volume()
401 new_vol = ucontrol->value.integer.value[0] | in siu_dai_put_volume()
402 ucontrol->value.integer.value[1] << 16; in siu_dai_put_volume()