Lines Matching full:enumerated

1637 	ucontrol->value.enumerated.item[0] = 0;  in snd_asihpi_aesebu_format_get()
1642 ucontrol->value.enumerated.item[0] = 1; in snd_asihpi_aesebu_format_get()
1644 ucontrol->value.enumerated.item[0] = 2; in snd_asihpi_aesebu_format_get()
1658 if (ucontrol->value.enumerated.item[0] == 1) in snd_asihpi_aesebu_format_put()
1660 if (ucontrol->value.enumerated.item[0] == 2) in snd_asihpi_aesebu_format_put()
1870 ucontrol->value.enumerated.item[0] = -1; in snd_asihpi_tuner_band_get()
1873 ucontrol->value.enumerated.item[0] = idx; in snd_asihpi_tuner_band_get()
1895 idx = ucontrol->value.enumerated.item[0]; in snd_asihpi_tuner_band_put()
2125 uinfo->value.enumerated.items = in snd_asihpi_mux_info()
2128 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_mux_info()
2129 uinfo->value.enumerated.item = in snd_asihpi_mux_info()
2130 uinfo->value.enumerated.items - 1; in snd_asihpi_mux_info()
2133 uinfo->value.enumerated.item, in snd_asihpi_mux_info()
2136 sprintf(uinfo->value.enumerated.name, "%s %d", in snd_asihpi_mux_info()
2160 ucontrol->value.enumerated.item[0] = s; in snd_asihpi_mux_get()
2166 ucontrol->value.enumerated.item[0] = 0; in snd_asihpi_mux_get()
2181 ucontrol->value.enumerated.item[0], in snd_asihpi_mux_put()
2251 ucontrol->value.enumerated.item[0] = mode - 1; in snd_asihpi_cmode_get()
2265 ucontrol->value.enumerated.item[0] + 1)); in snd_asihpi_cmode_put()
2295 /* Number of strings must match expected enumerated values */
2308 uinfo->value.enumerated.items = clkcache->count; in snd_asihpi_clksrc_info()
2310 if (uinfo->value.enumerated.item >= uinfo->value.enumerated.items) in snd_asihpi_clksrc_info()
2311 uinfo->value.enumerated.item = in snd_asihpi_clksrc_info()
2312 uinfo->value.enumerated.items - 1; in snd_asihpi_clksrc_info()
2314 strcpy(uinfo->value.enumerated.name, in snd_asihpi_clksrc_info()
2315 clkcache->s[uinfo->value.enumerated.item].name); in snd_asihpi_clksrc_info()
2329 ucontrol->value.enumerated.item[0] = 0; in snd_asihpi_clksrc_get()
2342 ucontrol->value.enumerated.item[0] = i; in snd_asihpi_clksrc_get()
2358 item = ucontrol->value.enumerated.item[0]; in snd_asihpi_clksrc_put()
2374 /* Need to change this to enumerated control with list of rates */