Home
last modified time | relevance | path

Searched refs:gbcodec (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/staging/greybus/
H A Daudio_codec.c19 static struct gbaudio_codec_info *gbcodec; variable
812 if (!gbcodec) { in gbaudio_register_module()
817 comp = gbcodec->component; in gbaudio_register_module()
819 mutex_lock(&gbcodec->register_mutex); in gbaudio_register_module()
822 dev_err(gbcodec->dev, in gbaudio_register_module()
860 mutex_lock(&gbcodec->lock); in gbaudio_register_module()
862 mutex_unlock(&gbcodec->lock); in gbaudio_register_module()
941 mutex_lock(&gbcodec->register_mutex); in gbaudio_unregister_module()
942 mutex_lock(&gbcodec->lock); in gbaudio_unregister_module()
946 mutex_unlock(&gbcodec->lock); in gbaudio_unregister_module()
[all …]
H A Daudio_topology.c173 struct gbaudio_codec_info *gbcodec = snd_soc_component_get_drvdata(comp); in gbcodec_mixer_ctl_info() local
200 module = find_gb_module(gbcodec, kcontrol->id.name); in gbcodec_mixer_ctl_info()
937 struct gbaudio_codec_info *gbcodec = dev_get_drvdata(codec_dev); in gbaudio_widget_event() local
944 module = find_gb_module(gbcodec, w->name); in gbaudio_widget_event()
965 ret = gbaudio_module_update(gbcodec, w, module, 1); in gbaudio_widget_event()
970 ret = gbaudio_module_update(gbcodec, w, module, 0); in gbaudio_widget_event()