Lines Matching refs:value

311 	ucontrol->value.integer.value[0] = i2s->loopback;
321 int value = ucontrol->value.integer.value[0];
323 if (value == i2s->loopback)
326 i2s->loopback = value;
340 ucontrol->value.integer.value[0] = i2s->fsync_width;
350 int value = ucontrol->value.integer.value[0];
352 if (value == i2s->fsync_width)
355 i2s->fsync_width = value;
359 * applicable for LRCK modes. Reset value for this field is "0",
362 * cases mixer control is used to update custom values. A value
378 ucontrol->value.enumerated.item[0] = i2s->stereo_to_mono[I2S_TX_PATH];
388 unsigned int value = ucontrol->value.enumerated.item[0];
390 if (value == i2s->stereo_to_mono[I2S_TX_PATH])
393 i2s->stereo_to_mono[I2S_TX_PATH] = value;
404 ucontrol->value.enumerated.item[0] = i2s->mono_to_stereo[I2S_TX_PATH];
414 unsigned int value = ucontrol->value.enumerated.item[0];
416 if (value == i2s->mono_to_stereo[I2S_TX_PATH])
419 i2s->mono_to_stereo[I2S_TX_PATH] = value;
430 ucontrol->value.enumerated.item[0] = i2s->stereo_to_mono[I2S_RX_PATH];
440 unsigned int value = ucontrol->value.enumerated.item[0];
442 if (value == i2s->stereo_to_mono[I2S_RX_PATH])
445 i2s->stereo_to_mono[I2S_RX_PATH] = value;
456 ucontrol->value.enumerated.item[0] = i2s->mono_to_stereo[I2S_RX_PATH];
466 unsigned int value = ucontrol->value.enumerated.item[0];
468 if (value == i2s->mono_to_stereo[I2S_RX_PATH])
471 i2s->mono_to_stereo[I2S_RX_PATH] = value;
482 ucontrol->value.integer.value[0] = i2s->rx_fifo_th;
492 int value = ucontrol->value.integer.value[0];
494 if (value == i2s->rx_fifo_th)
497 i2s->rx_fifo_th = value;
508 ucontrol->value.integer.value[0] = i2s->bclk_ratio;
518 int value = ucontrol->value.integer.value[0];
520 if (value == i2s->bclk_ratio)
523 i2s->bclk_ratio = value;