Lines Matching refs:value
250 ucontrol->value.enumerated.item[0] = asrc->lane[id].ratio_source; in tegra186_asrc_get_ratio_source()
265 asrc->lane[id].ratio_source = ucontrol->value.enumerated.item[0]; in tegra186_asrc_put_ratio_source()
288 ucontrol->value.integer.value[0] = asrc->lane[id].int_part; in tegra186_asrc_get_ratio_int()
310 asrc->lane[id].int_part = ucontrol->value.integer.value[0]; in tegra186_asrc_put_ratio_int()
336 ucontrol->value.integer.value[0] = asrc->lane[id].frac_part; in tegra186_asrc_get_ratio_frac()
358 asrc->lane[id].frac_part = ucontrol->value.integer.value[0]; in tegra186_asrc_put_ratio_frac()
380 ucontrol->value.integer.value[0] = asrc->lane[id].hwcomp_disable; in tegra186_asrc_get_hwcomp_disable()
393 int value = ucontrol->value.integer.value[0]; in tegra186_asrc_put_hwcomp_disable() local
395 if (value == asrc->lane[id].hwcomp_disable) in tegra186_asrc_put_hwcomp_disable()
398 asrc->lane[id].hwcomp_disable = value; in tegra186_asrc_put_hwcomp_disable()
412 ucontrol->value.integer.value[0] = (asrc->lane[id].input_thresh & 0x3); in tegra186_asrc_get_input_threshold()
425 int value = (asrc->lane[id].input_thresh & ~(0x3)) | in tegra186_asrc_put_input_threshold() local
426 ucontrol->value.integer.value[0]; in tegra186_asrc_put_input_threshold()
428 if (value == asrc->lane[id].input_thresh) in tegra186_asrc_put_input_threshold()
431 asrc->lane[id].input_thresh = value; in tegra186_asrc_put_input_threshold()
445 ucontrol->value.integer.value[0] = (asrc->lane[id].output_thresh & 0x3); in tegra186_asrc_get_output_threshold()
458 int value = (asrc->lane[id].output_thresh & ~(0x3)) | in tegra186_asrc_put_output_threshold() local
459 ucontrol->value.integer.value[0]; in tegra186_asrc_put_output_threshold()
461 if (value == asrc->lane[id].output_thresh) in tegra186_asrc_put_output_threshold()
464 asrc->lane[id].output_thresh = value; in tegra186_asrc_put_output_threshold()