Searched refs:codec_drv (Results 1 – 2 of 2) sorted by relevance
20 const struct snd_soc_codec_driver *codec_drv = codec->driver; in snd_soc_cache_init() local23 reg_size = codec_drv->reg_cache_size * codec_drv->reg_word_size; in snd_soc_cache_init()31 if (codec_drv->reg_cache_default) in snd_soc_cache_init()32 codec->reg_cache = kmemdup(codec_drv->reg_cache_default, in snd_soc_cache_init()
3052 const struct snd_soc_codec_driver *codec_drv, in snd_soc_register_codec() argument3070 &codec_drv->component_driver, dev); in snd_soc_register_codec()3074 if (codec_drv->controls) { in snd_soc_register_codec()3075 codec->component.controls = codec_drv->controls; in snd_soc_register_codec()3076 codec->component.num_controls = codec_drv->num_controls; in snd_soc_register_codec()3078 if (codec_drv->dapm_widgets) { in snd_soc_register_codec()3079 codec->component.dapm_widgets = codec_drv->dapm_widgets; in snd_soc_register_codec()3080 codec->component.num_dapm_widgets = codec_drv->num_dapm_widgets; in snd_soc_register_codec()3082 if (codec_drv->dapm_routes) { in snd_soc_register_codec()3083 codec->component.dapm_routes = codec_drv->dapm_routes; in snd_soc_register_codec()[all …]