Searched refs:codec_drv (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/sound/soc/
H A Dsoc-cache.c20 const struct snd_soc_codec_driver *codec_drv = codec->driver; snd_soc_cache_init() local
23 reg_size = codec_drv->reg_cache_size * codec_drv->reg_word_size; snd_soc_cache_init()
31 if (codec_drv->reg_cache_default) snd_soc_cache_init()
32 codec->reg_cache = kmemdup(codec_drv->reg_cache_default, snd_soc_cache_init()
H A Dsoc-core.c3047 const struct snd_soc_codec_driver *codec_drv, snd_soc_register_codec()
3065 &codec_drv->component_driver, dev); snd_soc_register_codec()
3069 if (codec_drv->controls) { snd_soc_register_codec()
3070 codec->component.controls = codec_drv->controls; snd_soc_register_codec()
3071 codec->component.num_controls = codec_drv->num_controls; snd_soc_register_codec()
3073 if (codec_drv->dapm_widgets) { snd_soc_register_codec()
3074 codec->component.dapm_widgets = codec_drv->dapm_widgets; snd_soc_register_codec()
3075 codec->component.num_dapm_widgets = codec_drv->num_dapm_widgets; snd_soc_register_codec()
3077 if (codec_drv->dapm_routes) { snd_soc_register_codec()
3078 codec->component.dapm_routes = codec_drv->dapm_routes; snd_soc_register_codec()
3079 codec->component.num_dapm_routes = codec_drv->num_dapm_routes; snd_soc_register_codec()
3082 if (codec_drv->probe) snd_soc_register_codec()
3084 if (codec_drv->remove) snd_soc_register_codec()
3086 if (codec_drv->write) snd_soc_register_codec()
3088 if (codec_drv->read) snd_soc_register_codec()
3090 codec->component.ignore_pmdown_time = codec_drv->ignore_pmdown_time; snd_soc_register_codec()
3091 codec->dapm.idle_bias_off = codec_drv->idle_bias_off; snd_soc_register_codec()
3092 codec->dapm.suspend_bias_off = codec_drv->suspend_bias_off; snd_soc_register_codec()
3093 if (codec_drv->seq_notifier) snd_soc_register_codec()
3094 codec->dapm.seq_notifier = codec_drv->seq_notifier; snd_soc_register_codec()
3095 if (codec_drv->set_bias_level) snd_soc_register_codec()
3098 codec->driver = codec_drv; snd_soc_register_codec()
3099 codec->component.val_bytes = codec_drv->reg_word_size; snd_soc_register_codec()
3106 if (codec_drv->get_regmap) snd_soc_register_codec()
3107 codec->component.regmap = codec_drv->get_regmap(dev); snd_soc_register_codec()
3046 snd_soc_register_codec(struct device *dev, const struct snd_soc_codec_driver *codec_drv, struct snd_soc_dai_driver *dai_drv, int num_dai) snd_soc_register_codec() argument
/linux-4.1.27/include/sound/
H A Dsoc.h415 const struct snd_soc_codec_driver *codec_drv,

Completed in 143 milliseconds