Lines Matching refs:ec
432 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_pget_mono_to_stereo() local
435 admaif->mono_to_stereo[ADMAIF_TX_PATH][ec->reg]; in tegra210_admaif_pget_mono_to_stereo()
445 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_pput_mono_to_stereo() local
448 if (value == admaif->mono_to_stereo[ADMAIF_TX_PATH][ec->reg]) in tegra210_admaif_pput_mono_to_stereo()
451 admaif->mono_to_stereo[ADMAIF_TX_PATH][ec->reg] = value; in tegra210_admaif_pput_mono_to_stereo()
461 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_cget_mono_to_stereo() local
464 admaif->mono_to_stereo[ADMAIF_RX_PATH][ec->reg]; in tegra210_admaif_cget_mono_to_stereo()
474 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_cput_mono_to_stereo() local
477 if (value == admaif->mono_to_stereo[ADMAIF_RX_PATH][ec->reg]) in tegra210_admaif_cput_mono_to_stereo()
480 admaif->mono_to_stereo[ADMAIF_RX_PATH][ec->reg] = value; in tegra210_admaif_cput_mono_to_stereo()
490 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_pget_stereo_to_mono() local
493 admaif->stereo_to_mono[ADMAIF_TX_PATH][ec->reg]; in tegra210_admaif_pget_stereo_to_mono()
503 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_pput_stereo_to_mono() local
506 if (value == admaif->stereo_to_mono[ADMAIF_TX_PATH][ec->reg]) in tegra210_admaif_pput_stereo_to_mono()
509 admaif->stereo_to_mono[ADMAIF_TX_PATH][ec->reg] = value; in tegra210_admaif_pput_stereo_to_mono()
519 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_cget_stereo_to_mono() local
522 admaif->stereo_to_mono[ADMAIF_RX_PATH][ec->reg]; in tegra210_admaif_cget_stereo_to_mono()
532 struct soc_enum *ec = (struct soc_enum *)kcontrol->private_value; in tegra210_admaif_cput_stereo_to_mono() local
535 if (value == admaif->stereo_to_mono[ADMAIF_RX_PATH][ec->reg]) in tegra210_admaif_cput_stereo_to_mono()
538 admaif->stereo_to_mono[ADMAIF_RX_PATH][ec->reg] = value; in tegra210_admaif_cput_stereo_to_mono()