snd_soc_remove_platform (9) Linux Manual Page
snd_soc_remove_platform – Remove a platform from the ASoC core Synopsis void snd_soc_remove_platform(struct snd_soc_platform *platform); Arguments platform the platform to remove Copyright
snd_soc_remove_platform – Remove a platform from the ASoC core Synopsis void snd_soc_remove_platform(struct snd_soc_platform *platform); Arguments platform the platform to remove Copyright
snd_soc_remove_dai_link – Remove a DAI link from the list Synopsis void snd_soc_remove_dai_link(struct snd_soc_card *card, struct snd_soc_dai_link *dai_link); Arguments card The ASoC card that owns the link dai_link The DAI link to remove Description This function removes a DAI link from the ASoC card’s link list. For DAI links previously added by topology, topology should remove…
snd_soc_register_platform – Register a platform with the ASoC core Synopsis int snd_soc_register_platform(struct device *dev, const struct snd_soc_platform_driver *platform_drv); Arguments dev The device for the platform platform_drv The driver for the platform Copyright
snd_soc_register_dai – Register a DAI dynamically & create its widgets Synopsis int snd_soc_register_dai(struct snd_soc_component *component, struct snd_soc_dai_driver *dai_drv); Arguments component The component the DAIs are registered for dai_drv DAI driver to use for the DAI Description Topology can use this API to register DAIs when probing a component. These DAIs’s widgets will be freed in…
snd_soc_register_codec – Register a codec with the ASoC core Synopsis int 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); Arguments dev The parent device for this codec codec_drv Codec driver dai_drv The associated DAI driver num_dai Number of DAIs Copyright
snd_soc_register_card – Register a card with the ASoC core Synopsis int snd_soc_register_card(struct snd_soc_card *card); Arguments card Card to register Copyright
snd_soc_put_xr_sx – signed multi register get callback Synopsis int snd_soc_put_xr_sx(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); Arguments kcontrol mreg control ucontrol control element information Description Callback to set the value of a control that can span multiple codec registers which together forms a single signed value in a MSB/LSB manner. The control supports specifying total no…
snd_soc_put_volsw_sx – double mixer set callback Synopsis int snd_soc_put_volsw_sx(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); Arguments kcontrol mixer control ucontrol control element information Description Callback to set the value of a double mixer control that spans 2 registers. Returns 0 for success. Copyright
snd_soc_put_volsw_range – single mixer put value callback with range. Synopsis int snd_soc_put_volsw_range(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); Arguments kcontrol mixer control ucontrol control element information Description Callback to set the value, within a range, for a single mixer control. Returns 0 for success. Copyright
snd_soc_put_volsw – single mixer put callback Synopsis int snd_soc_put_volsw(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); Arguments kcontrol mixer control ucontrol control element information Description Callback to set the value of a single mixer control, or a double mixer control that spans 2 registers. Returns 0 for success. Copyright
snd_soc_put_strobe – strobe put callback Synopsis int snd_soc_put_strobe(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); Arguments kcontrol mixer control ucontrol control element information Description Callback strobe a register bit to high then low (or the inverse) in one pass of a single mixer enum control. Returns 1 for success. Copyright
snd_soc_put_enum_double – enumerated double mixer put callback Synopsis int snd_soc_put_enum_double(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); Arguments kcontrol mixer control ucontrol control element information Description Callback to set the value of a double enumerated mixer. Returns 0 for success. Copyright
snd_soc_new_compress – create a new compress. Synopsis int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num); Arguments rtd The runtime for which we will create compress num the device index number (zero based – shared with normal PCMs) Return 0 for success, else error. Copyright
snd_soc_limit_volume – Set new limit to an existing volume control. Synopsis int snd_soc_limit_volume(struct snd_soc_card *card, const char *name, int max); Arguments card where to look for the control name Name of the control max new maximum limit Description Return 0 for success, else error. Copyright
snd_soc_kcontrol_platform – Returns the platform that registered the control Synopsis struct snd_soc_platform *snd_soc_kcontrol_platform(struct snd_kcontrol *kcontrol); Arguments kcontrol The control for which to get the platform Note This function will only work correctly if the control has been registered with snd_soc_add_platform_controls or via table based setup of a snd_soc_platform_driver. Otherwise the behavior is undefined. Copyright
snd_soc_kcontrol_component – Returns the component that registered the control Synopsis struct snd_soc_component *snd_soc_kcontrol_component(struct snd_kcontrol *kcontrol); Arguments kcontrol The control for which to get the component Note This function will work correctly if the control has been registered for a component. Either with snd_soc_add_codec_controls or snd_soc_add_platform_controls or via table based setup for either a CODEC, a…
snd_soc_kcontrol_codec – Returns the CODEC that registered the control Synopsis struct snd_soc_codec *snd_soc_kcontrol_codec(struct snd_kcontrol *kcontrol); Arguments kcontrol The control for which to get the CODEC Note This function will only work correctly if the control has been registered with snd_soc_add_codec_controls or via table based setup of snd_soc_codec_driver. Otherwise the behavior is undefined. Copyright
snd_soc_jack_report – Report the current status for a jack Synopsis void snd_soc_jack_report(struct snd_soc_jack *jack, int status, int mask); Arguments jack the jack status a bitmask of enum snd_jack_type values that are currently detected. mask a bitmask of enum snd_jack_type values that being reported. Description If configured using snd_soc_jack_add_pins then the associated DAPM pins will be…
snd_soc_jack_notifier_unregister – Unregister a notifier for jack status Synopsis void snd_soc_jack_notifier_unregister(struct snd_soc_jack *jack, struct notifier_block *nb); Arguments jack ASoC jack nb Notifier block to unregister Description Stop notifying for status changes. Copyright
snd_soc_jack_notifier_register – Register a notifier for jack status Synopsis void snd_soc_jack_notifier_register(struct snd_soc_jack *jack, struct notifier_block *nb); Arguments jack ASoC jack nb Notifier block to register Description Register for notification of the current status of the jack. Note that it is not possible to report additional jack events in the callback from the notifier, this is…