Searched refs:gbcodec (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/staging/greybus/ ! |
D | audio_codec.c | 19 static struct gbaudio_codec_info *gbcodec; variable 813 if (!gbcodec) { in gbaudio_register_module() 818 comp = gbcodec->component; in gbaudio_register_module() 824 dev_err(gbcodec->dev, in gbaudio_register_module() 862 mutex_lock(&gbcodec->lock); in gbaudio_register_module() 863 list_add(&module->list, &gbcodec->module_list); in gbaudio_register_module() 864 mutex_unlock(&gbcodec->lock); in gbaudio_register_module() 880 if (list_is_singular(&gbcodec->module_list)) { in gbaudio_codec_clean_data_tx() 901 if (list_is_singular(&gbcodec->module_list)) { in gbaudio_codec_clean_data_rx() 922 dev_dbg(gbcodec->dev, "%s: removed, cleanup APBridge\n", module->name); in gbaudio_codec_cleanup() [all …]
|
D | audio_topology.c | 174 struct gbaudio_codec_info *gbcodec = snd_soc_component_get_drvdata(comp); in gbcodec_mixer_ctl_info() local 201 module = find_gb_module(gbcodec, kcontrol->id.name); in gbcodec_mixer_ctl_info() 938 struct gbaudio_codec_info *gbcodec = dev_get_drvdata(codec_dev); in gbaudio_widget_event() local 945 module = find_gb_module(gbcodec, w->name); in gbaudio_widget_event() 966 ret = gbaudio_module_update(gbcodec, w, module, 1); in gbaudio_widget_event() 971 ret = gbaudio_module_update(gbcodec, w, module, 0); in gbaudio_widget_event()
|