soc.h (00200107a296cad3a950049a5ad7134a0d962b8d) soc.h (0f2780ad4c2a398528c7bb1572158d6e894e5dd2)
1/*
2 * linux/sound/soc.h -- ALSA SoC Layer
3 *
4 * Author: Liam Girdwood
5 * Created: Aug 11th 2005
6 * Copyright: Wolfson Microelectronics. PLC.
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 493 unchanged lines hidden (view full) ---

502/*
503 *Controls
504 */
505struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,
506 void *data, const char *long_name,
507 const char *prefix);
508struct snd_kcontrol *snd_soc_card_get_kcontrol(struct snd_soc_card *soc_card,
509 const char *name);
1/*
2 * linux/sound/soc.h -- ALSA SoC Layer
3 *
4 * Author: Liam Girdwood
5 * Created: Aug 11th 2005
6 * Copyright: Wolfson Microelectronics. PLC.
7 *
8 * This program is free software; you can redistribute it and/or modify

--- 493 unchanged lines hidden (view full) ---

502/*
503 *Controls
504 */
505struct snd_kcontrol *snd_soc_cnew(const struct snd_kcontrol_new *_template,
506 void *data, const char *long_name,
507 const char *prefix);
508struct snd_kcontrol *snd_soc_card_get_kcontrol(struct snd_soc_card *soc_card,
509 const char *name);
510int snd_soc_add_component_controls(struct snd_soc_component *component,
511 const struct snd_kcontrol_new *controls, unsigned int num_controls);
510int snd_soc_add_codec_controls(struct snd_soc_codec *codec,
512int snd_soc_add_codec_controls(struct snd_soc_codec *codec,
511 const struct snd_kcontrol_new *controls, int num_controls);
513 const struct snd_kcontrol_new *controls, unsigned int num_controls);
512int snd_soc_add_platform_controls(struct snd_soc_platform *platform,
514int snd_soc_add_platform_controls(struct snd_soc_platform *platform,
513 const struct snd_kcontrol_new *controls, int num_controls);
515 const struct snd_kcontrol_new *controls, unsigned int num_controls);
514int snd_soc_add_card_controls(struct snd_soc_card *soc_card,
515 const struct snd_kcontrol_new *controls, int num_controls);
516int snd_soc_add_dai_controls(struct snd_soc_dai *dai,
517 const struct snd_kcontrol_new *controls, int num_controls);
518int snd_soc_info_enum_double(struct snd_kcontrol *kcontrol,
519 struct snd_ctl_elem_info *uinfo);
520int snd_soc_get_enum_double(struct snd_kcontrol *kcontrol,
521 struct snd_ctl_elem_value *ucontrol);

--- 912 unchanged lines hidden ---
516int snd_soc_add_card_controls(struct snd_soc_card *soc_card,
517 const struct snd_kcontrol_new *controls, int num_controls);
518int snd_soc_add_dai_controls(struct snd_soc_dai *dai,
519 const struct snd_kcontrol_new *controls, int num_controls);
520int snd_soc_info_enum_double(struct snd_kcontrol *kcontrol,
521 struct snd_ctl_elem_info *uinfo);
522int snd_soc_get_enum_double(struct snd_kcontrol *kcontrol,
523 struct snd_ctl_elem_value *ucontrol);

--- 912 unchanged lines hidden ---