wl1273            162 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component);
wl1273            164 sound/soc/codecs/wl1273.c 	ucontrol->value.enumerated.item[0] = wl1273->mode;
wl1273            180 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component);
wl1273            182 sound/soc/codecs/wl1273.c 	if (wl1273->mode == ucontrol->value.enumerated.item[0])
wl1273            192 sound/soc/codecs/wl1273.c 	wl1273->mode = ucontrol->value.enumerated.item[0];
wl1273            203 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component);
wl1273            207 sound/soc/codecs/wl1273.c 	ucontrol->value.enumerated.item[0] = wl1273->core->audio_mode;
wl1273            216 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component);
wl1273            222 sound/soc/codecs/wl1273.c 	if (wl1273->core->audio_mode == val)
wl1273            225 sound/soc/codecs/wl1273.c 	r = wl1273->core->set_audio(wl1273->core, val);
wl1273            240 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component);
wl1273            244 sound/soc/codecs/wl1273.c 	ucontrol->value.integer.value[0] = wl1273->core->volume;
wl1273            253 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component);
wl1273            258 sound/soc/codecs/wl1273.c 	r = wl1273->core->set_volume(wl1273->core,
wl1273            291 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component);
wl1273            293 sound/soc/codecs/wl1273.c 	switch (wl1273->mode) {
wl1273            324 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(dai->component);
wl1273            325 sound/soc/codecs/wl1273.c 	struct wl1273_core *core = wl1273->core;
wl1273            337 sound/soc/codecs/wl1273.c 	if (wl1273->mode == WL1273_MODE_BT) {
wl1273            351 sound/soc/codecs/wl1273.c 	if (wl1273->mode == WL1273_MODE_FM_TX &&
wl1273            357 sound/soc/codecs/wl1273.c 	if (wl1273->mode == WL1273_MODE_FM_RX  &&
wl1273            363 sound/soc/codecs/wl1273.c 	if (wl1273->mode != WL1273_MODE_FM_RX  &&
wl1273            364 sound/soc/codecs/wl1273.c 	    wl1273->mode != WL1273_MODE_FM_TX) {
wl1273            365 sound/soc/codecs/wl1273.c 		pr_err("Unexpected mode: %d.\n", wl1273->mode);
wl1273            373 sound/soc/codecs/wl1273.c 	wl1273->channels = params_channels(params);
wl1273            374 sound/soc/codecs/wl1273.c 	r = snd_wl1273_fm_set_channel_number(core, wl1273->channels);
wl1273            406 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273;
wl1273            411 sound/soc/codecs/wl1273.c 	wl1273 = snd_soc_component_get_drvdata(component);
wl1273            413 sound/soc/codecs/wl1273.c 	switch (wl1273->mode) {
wl1273            438 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273;
wl1273            447 sound/soc/codecs/wl1273.c 	wl1273 = kzalloc(sizeof(struct wl1273_priv), GFP_KERNEL);
wl1273            448 sound/soc/codecs/wl1273.c 	if (!wl1273)
wl1273            451 sound/soc/codecs/wl1273.c 	wl1273->mode = WL1273_MODE_BT;
wl1273            452 sound/soc/codecs/wl1273.c 	wl1273->core = *core;
wl1273            454 sound/soc/codecs/wl1273.c 	snd_soc_component_set_drvdata(component, wl1273);
wl1273            461 sound/soc/codecs/wl1273.c 	struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(component);
wl1273            464 sound/soc/codecs/wl1273.c 	kfree(wl1273);