id
stringlengths
4
63
text
stringlengths
153
8.81M
snd_power_sync_ref(9)
NAME snd_power_sync_ref - wait until the card power_ref is freed SYNOPSIS void snd_power_sync_ref (struct snd_card *card ); ARGUMENTS card sound card object DESCRIPTION This function is used to synchronize with the pending power_ref being released. SEE ALSO Kernel file ./include/sound/core.h snd_power_ref(9)...
snd_power_unref(9)
NAME snd_power_unref - Release the reference count for power control SYNOPSIS void snd_power_unref (struct snd_card *card ); ARGUMENTS card sound card object SEE ALSO Kernel file ./include/sound/core.h snd_power_ref(9), snd_power_sync_ref(9), snd_card_unref(9), snd_BUG(9), snd_BUG_ON(9) April 2026 ...
snd_power_wait(9)
NAME snd_power_wait - wait until the card gets powered up (old form) SYNOPSIS int snd_power_wait (struct snd_card *card ); ARGUMENTS card soundcard structure DESCRIPTION Wait until the card gets powered up to SNDRV_CTL_POWER_D0 state. RETURN Zero if successful, or a negative error code. SEE ALSO Kernel fil...
snd_print_pcm_bits(9)
NAME snd_print_pcm_bits - Print the supported PCM fmt bits to the string buffer SYNOPSIS void snd_print_pcm_bits (int pcm , char *buf , int buflen ); ARGUMENTS pcm PCM caps bits buf the string buffer to write buflen the max buffer length DESCRIPTION used by hda_proc.c and hda_eld...
snd_rawmidi_new(9)
NAME snd_rawmidi_new - create a rawmidi instance SYNOPSIS int snd_rawmidi_new (struct snd_card *card , char *id , int device , int output_count , int input_count , struct snd_rawmidi **rrawmidi ); ARGUMENTS card the card instance id the id string device the device index ou...
snd_rawmidi_proceed(9)
NAME snd_rawmidi_proceed - Discard the all pending bytes and proceed SYNOPSIS int snd_rawmidi_proceed (struct snd_rawmidi_substream *substream ); ARGUMENTS substream rawmidi substream RETURN the number of discarded bytes SEE ALSO Kernel file ./sound/core/rawmidi.c snd_rawmidi_receive(9), snd_rawmidi_transmit_empt...
snd_rawmidi_receive(9)
NAME snd_rawmidi_receive - receive the input data from the device SYNOPSIS int snd_rawmidi_receive (struct snd_rawmidi_substream *substream , const unsigned char *buffer , int count ); ARGUMENTS substream the rawmidi substream buffer the buffer pointer count the data size to read DESCRIP...
snd_rawmidi_set_ops(9)
NAME snd_rawmidi_set_ops - set the rawmidi operators SYNOPSIS void snd_rawmidi_set_ops (struct snd_rawmidi *rmidi , int stream , const struct snd_rawmidi_ops *ops ); ARGUMENTS rmidi the rawmidi instance stream the stream direction, SNDRV_RAWMIDI_STREAM_XXX ops the operator table DE...
snd_rawmidi_transmit(9)
NAME snd_rawmidi_transmit - copy from the buffer to the device SYNOPSIS int snd_rawmidi_transmit (struct snd_rawmidi_substream *substream , unsigned char *buffer , int count ); ARGUMENTS substream the rawmidi substream buffer the buffer pointer count the data size to transfer DESCRIPTION...
snd_rawmidi_transmit_ack(9)
NAME snd_rawmidi_transmit_ack - acknowledge the transmission SYNOPSIS int snd_rawmidi_transmit_ack (struct snd_rawmidi_substream *substream , int count ); ARGUMENTS substream the rawmidi substream count the transferred count DESCRIPTION Advances the hardware pointer for the internal output buffer wit...
snd_rawmidi_transmit_empty(9)
NAME snd_rawmidi_transmit_empty - check whether the output buffer is empty SYNOPSIS int snd_rawmidi_transmit_empty (struct snd_rawmidi_substream *substream ); ARGUMENTS substream the rawmidi substream RETURN 1 if the internal output buffer is empty, 0 if not. SEE ALSO Kernel file ./sound/core/rawmidi.c snd_rawmid...
snd_rawmidi_transmit_peek(9)
NAME snd_rawmidi_transmit_peek - copy data from the internal buffer SYNOPSIS int snd_rawmidi_transmit_peek (struct snd_rawmidi_substream *substream , unsigned char *buffer , int count ); ARGUMENTS substream the rawmidi substream buffer the buffer pointer count data size to transfer DESCR...
snd_register_device(9)
NAME snd_register_device - Register the ALSA device file for the card SYNOPSIS int snd_register_device (int type , struct snd_card *card , int dev , const struct file_operations *f_ops , void *private_data , struct device *device ); ARGUMENTS type the device type, SNDRV_DEVICE_TYPE_XXX card the ...
snd_request_card(9)
NAME snd_request_card - try to load the card module SYNOPSIS void snd_request_card (int card ); ARGUMENTS card the card number DESCRIPTION Tries to load the module "snd-card-X" for the given card number via request_module. Returns immediately if already loaded. SEE ALSO Kernel file ./sound/core/sound.c snd_...
snd_sdw_params_to_config(9)
NAME snd_sdw_params_to_config - Conversion from hw_params to SoundWire config SYNOPSIS void snd_sdw_params_to_config (struct snd_pcm_substream *substream , struct snd_pcm_hw_params *params , struct sdw_stream_config *stream_config , struct sdw_port_config *port_config ); ARGUMENTS substream Pointer to the PCM subst...
snd_seq_kernel_client_ctl(9)
NAME snd_seq_kernel_client_ctl - operate a command for a client with data in kernel space. SYNOPSIS int snd_seq_kernel_client_ctl (int clientid , unsigned int cmd , void *arg ); ARGUMENTS clientid A numerical ID for a client. cmd An ioctl(2) command for ALSA sequencer operation. arg ...
snd_sgbuf_get_addr(9)
NAME snd_sgbuf_get_addr - return the physical address at the corresponding offset SYNOPSIS dma_addr_t snd_sgbuf_get_addr (struct snd_dma_buffer *dmab , size_t offset ); ARGUMENTS dmab buffer allocation information offset offset in the ring buffer RETURN the physical address SEE ALSO Kernel file...
snd_sgbuf_get_chunk_size(9)
NAME snd_sgbuf_get_chunk_size - compute the max chunk size with continuous pages on sg-buffer SYNOPSIS unsigned int snd_sgbuf_get_chunk_size (struct snd_dma_buffer *dmab , unsigned int ofs , unsigned int size ); ARGUMENTS dmab buffer allocation information ofs offset in the ring buffer ...
snd_sgbuf_get_page(9)
NAME snd_sgbuf_get_page - return the physical page at the corresponding offset SYNOPSIS struct page * snd_sgbuf_get_page (struct snd_dma_buffer *dmab , size_t offset ); ARGUMENTS dmab buffer allocation information offset offset in the ring buffer RETURN the page pointer SEE ALSO Kernel file ./...
snd_soc_add_card_controls(9)
NAME snd_soc_add_card_controls - add an array of controls to a SoC card. Convenience function to add a list of controls. SYNOPSIS int snd_soc_add_card_controls (struct snd_soc_card *soc_card , const struct snd_kcontrol_new *controls , int num_controls ); ARGUMENTS soc_card SoC card to add controls to contr...
snd_soc_add_component_controls(9)
NAME snd_soc_add_component_controls - Add an array of controls to a component. SYNOPSIS int snd_soc_add_component_controls (struct snd_soc_component *component , const struct snd_kcontrol_new *controls , unsigned int num_controls ); ARGUMENTS component Component to add controls to controls Array of contr...
snd_soc_add_dai_controls(9)
NAME snd_soc_add_dai_controls - add an array of controls to a DAI. Convenience function to add a list of controls. SYNOPSIS int snd_soc_add_dai_controls (struct snd_soc_dai *dai , const struct snd_kcontrol_new *controls , int num_controls ); ARGUMENTS dai DAI to add controls to controls array of co...
snd_soc_add_pcm_runtime(9)
NAME snd_soc_add_pcm_runtime - Add a pcm_runtime dynamically via dai_link SYNOPSIS int snd_soc_add_pcm_runtime (struct snd_soc_card *card , struct snd_soc_dai_link *dai_link ); ARGUMENTS card The ASoC card to which the pcm_runtime is added dai_link The DAI link to find pcm_runtime DESCRIPTION This ...
snd_soc_alloc_ac97_component(9)
NAME snd_soc_alloc_ac97_component - Allocate new a AC'97 device SYNOPSIS struct snd_ac97 * snd_soc_alloc_ac97_component (struct snd_soc_component *component ); ARGUMENTS component The COMPONENT for which to create the AC'97 device DESCRIPTION Allocated a new snd_ac97 device and intializes it, but does not yet regi...
snd_soc_card_jack_new(9)
NAME snd_soc_card_jack_new - Create a new jack without pins SYNOPSIS int snd_soc_card_jack_new (struct snd_soc_card *card , const char *id , int type , struct snd_soc_jack *jack ); ARGUMENTS card ASoC card id an identifying string for this jack type a bitmask of enum snd_jack_ty...
snd_soc_card_jack_new_pins(9)
NAME snd_soc_card_jack_new_pins - Create a new jack with pins SYNOPSIS int snd_soc_card_jack_new_pins (struct snd_soc_card *card , const char *id , int type , struct snd_soc_jack *jack , struct snd_soc_jack_pin *pins , unsigned int num_pins ); ARGUMENTS card ASoC card id an identifying string ...
snd_soc_cnew(9)
NAME snd_soc_cnew - create new control SYNOPSIS struct snd_kcontrol * snd_soc_cnew (const struct snd_kcontrol_new *_template , void *data , const char *long_name , const char *prefix ); ARGUMENTS _template control template data control private data long_name control long name prefix...
snd_soc_component_async_complete(9)
NAME snd_soc_component_async_complete - Ensure asynchronous I/O has completed SYNOPSIS void snd_soc_component_async_complete (struct snd_soc_component *component ); ARGUMENTS component Component for which to wait DESCRIPTION This function blocks until all asynchronous I/O which has previously been scheduled using ...
snd_soc_component_cache_sync(9)
NAME snd_soc_component_cache_sync - Sync the register cache with the hardware SYNOPSIS int snd_soc_component_cache_sync (struct snd_soc_component *component ); ARGUMENTS component COMPONENT to sync NOTE This function will call regcache_sync SEE ALSO Kernel file ./include/sound/soc-component.h snd_soc_component_to...
snd_soc_component_exit_regmap(9)
NAME snd_soc_component_exit_regmap - De-initialize regmap instance for the component SYNOPSIS void snd_soc_component_exit_regmap (struct snd_soc_component *component ); ARGUMENTS component The component for which to de-initialize the regmap instance DESCRIPTION Calls regmap_exit on the regmap instance associ...
snd_soc_component_get_jack_type(9)
NAME snd_soc_component_get_jack_type - SYNOPSIS int snd_soc_component_get_jack_type (struct snd_soc_component *component ); ARGUMENTS component COMPONENTs DESCRIPTION Returns the jack type of the component This can either be the supported type or one read from devicetree with the property: jack-type. SEE ALSO Ker...
snd_soc_component_init_regmap(9)
NAME snd_soc_component_init_regmap - Initialize regmap instance for the component SYNOPSIS void snd_soc_component_init_regmap (struct snd_soc_component *component , struct regmap *regmap ); ARGUMENTS component The component for which to initialize the regmap instance regmap The regmap instance that sho...
snd_soc_component_read(9)
NAME snd_soc_component_read - Read register value SYNOPSIS unsigned int snd_soc_component_read (struct snd_soc_component *component , unsigned int reg ); ARGUMENTS component Component to read from reg Register to read RETURN read value SEE ALSO Kernel file ./sound/soc/soc-component.c snd_soc_comp...
snd_soc_component_read_field(9)
NAME snd_soc_component_read_field - Read register field value SYNOPSIS unsigned int snd_soc_component_read_field (struct snd_soc_component *component , unsigned int reg , unsigned int mask ); ARGUMENTS component Component to read from reg Register to read mask mask of the register fie...
snd_soc_component_set_jack(9)
NAME snd_soc_component_set_jack - configure component jack. SYNOPSIS int snd_soc_component_set_jack (struct snd_soc_component *component , struct snd_soc_jack *jack , void *data ); ARGUMENTS component COMPONENTs jack structure to use for the jack data can be used if codec driver need e...
snd_soc_component_set_sysclk(9)
NAME snd_soc_component_set_sysclk - configure COMPONENT system or master clock. SYNOPSIS int snd_soc_component_set_sysclk (struct snd_soc_component *component , int clk_id , int source , unsigned int freq , int dir ); ARGUMENTS component COMPONENT clk_id DAI specific clock ID source Source...
snd_soc_component_test_bits(9)
NAME snd_soc_component_test_bits - Test register for change SYNOPSIS int snd_soc_component_test_bits (struct snd_soc_component *component , unsigned int reg , unsigned int mask , unsigned int value ); ARGUMENTS component component reg Register to test mask Mask that specifies which bi...
snd_soc_component_to_dapm(9)
NAME snd_soc_component_to_dapm - Returns the DAPM context associated with a component SYNOPSIS struct snd_soc_dapm_context * snd_soc_component_to_dapm (struct snd_soc_component *component ); ARGUMENTS component The component for which to get the DAPM context SEE ALSO Kernel file ./include/sound/soc-component.h snd...
snd_soc_component_update_bits(9)
NAME snd_soc_component_update_bits - Perform read/modify/write cycle SYNOPSIS int snd_soc_component_update_bits (struct snd_soc_component *component , unsigned int reg , unsigned int mask , unsigned int val ); ARGUMENTS component Component to update reg Register to update mask Mask th...
snd_soc_component_update_bits_async(9)
NAME snd_soc_component_update_bits_async - Perform asynchronous read/modify/write cycle SYNOPSIS int snd_soc_component_update_bits_async (struct snd_soc_component *component , unsigned int reg , unsigned int mask , unsigned int val ); ARGUMENTS component Component to update reg Register to update ...
snd_soc_component_write(9)
NAME snd_soc_component_write - Write register value SYNOPSIS int snd_soc_component_write (struct snd_soc_component *component , unsigned int reg , unsigned int val ); ARGUMENTS component Component to write to reg Register to write val Value to write to the register RETURN 0 on succe...
snd_soc_component_write_field(9)
NAME snd_soc_component_write_field - write to register field SYNOPSIS int snd_soc_component_write_field (struct snd_soc_component *component , unsigned int reg , unsigned int mask , unsigned int val ); ARGUMENTS component Component to write to reg Register to write mask mask of the re...
snd_soc_dai_digital_mute(9)
NAME snd_soc_dai_digital_mute - configure DAI system or master clock. SYNOPSIS int snd_soc_dai_digital_mute (struct snd_soc_dai *dai , int mute , int direction ); ARGUMENTS dai DAI mute mute enable direction stream to mute DESCRIPTION Mutes the DAI DAC. SEE ALSO Kernel file ...
snd_soc_dai_get_channel_map(9)
NAME snd_soc_dai_get_channel_map - Get DAI audio channel map SYNOPSIS int snd_soc_dai_get_channel_map (const struct snd_soc_dai *dai , unsigned int *tx_num , unsigned int *tx_slot , unsigned int *rx_num , unsigned int *rx_slot ); ARGUMENTS dai DAI tx_num how many TX channels tx_slot p...
snd_soc_dai_get_fmt(9)
NAME snd_soc_dai_get_fmt - get supported audio format. SYNOPSIS u64 snd_soc_dai_get_fmt (const struct snd_soc_dai *dai , int priority ); ARGUMENTS dai DAI priority priority level of supported audio format. DESCRIPTION This should return only formats implemented with high quality by the DAI so t...
snd_soc_dai_get_stream(9)
NAME snd_soc_dai_get_stream - Retrieves stream from DAI SYNOPSIS void * snd_soc_dai_get_stream (struct snd_soc_dai *dai , int direction ); ARGUMENTS dai DAI direction Stream direction(Playback/Capture) DESCRIPTION This routine only retrieves that was previously configured with snd_soc_dai_get_strea...
snd_soc_dai_set_bclk_ratio(9)
NAME snd_soc_dai_set_bclk_ratio - configure BCLK to sample rate ratio. SYNOPSIS int snd_soc_dai_set_bclk_ratio (struct snd_soc_dai *dai , unsigned int ratio ); ARGUMENTS dai DAI ratio Ratio of BCLK to Sample rate. DESCRIPTION Configures the DAI for a preset BCLK to sample rate ratio. SEE ALSO ...
snd_soc_dai_set_channel_map(9)
NAME snd_soc_dai_set_channel_map - configure DAI audio channel map SYNOPSIS int snd_soc_dai_set_channel_map (struct snd_soc_dai *dai , unsigned int tx_num , const unsigned int *tx_slot , unsigned int rx_num , const unsigned int *rx_slot ); ARGUMENTS dai DAI tx_num how many TX channels tx_...
snd_soc_dai_set_clkdiv(9)
NAME snd_soc_dai_set_clkdiv - configure DAI clock dividers. SYNOPSIS int snd_soc_dai_set_clkdiv (struct snd_soc_dai *dai , int div_id , int div ); ARGUMENTS dai DAI div_id DAI specific clock divider ID div new clock divisor. DESCRIPTION Configures the clock dividers. This is used...
snd_soc_dai_set_fmt(9)
NAME snd_soc_dai_set_fmt - configure DAI hardware audio format. SYNOPSIS int snd_soc_dai_set_fmt (struct snd_soc_dai *dai , unsigned int fmt ); ARGUMENTS dai DAI fmt SND_SOC_DAIFMT_* format value. DESCRIPTION Configures the DAI hardware format and clocking. SEE ALSO Kernel file ./sound...
snd_soc_dai_set_pll(9)
NAME snd_soc_dai_set_pll - configure DAI PLL. SYNOPSIS int snd_soc_dai_set_pll (struct snd_soc_dai *dai , int pll_id , int source , unsigned int freq_in , unsigned int freq_out ); ARGUMENTS dai DAI pll_id DAI specific PLL ID source DAI specific source for the PLL freq_in ...
snd_soc_dai_set_stream(9)
NAME snd_soc_dai_set_stream - Configures a DAI for stream operation SYNOPSIS int snd_soc_dai_set_stream (struct snd_soc_dai *dai , void *stream , int direction ); ARGUMENTS dai DAI stream STREAM (opaque structure depending on DAI type) direction Stream direction(Playback/Capture) Some s...
snd_soc_dai_set_sysclk(9)
NAME snd_soc_dai_set_sysclk - configure DAI system or master clock. SYNOPSIS int snd_soc_dai_set_sysclk (struct snd_soc_dai *dai , int clk_id , unsigned int freq , int dir ); ARGUMENTS dai DAI clk_id DAI specific clock ID freq new clock frequency in Hz dir new clock...
snd_soc_dai_set_tdm_slot(9)
NAME snd_soc_dai_set_tdm_slot - Configures a DAI for TDM operation SYNOPSIS int snd_soc_dai_set_tdm_slot (struct snd_soc_dai *dai , unsigned int tx_mask , unsigned int rx_mask , int slots , int slot_width ); ARGUMENTS dai The DAI to configure tx_mask bitmask representing active TX slots. r...
snd_soc_dai_set_tristate(9)
NAME snd_soc_dai_set_tristate - configure DAI system or master clock. SYNOPSIS int snd_soc_dai_set_tristate (struct snd_soc_dai *dai , int tristate ); ARGUMENTS dai DAI tristate tristate enable DESCRIPTION Tristates the DAI so that others can use it. SEE ALSO Kernel file ./sound/soc/soc-d...
snd_soc_dapm_add_routes(9)
NAME snd_soc_dapm_add_routes - Add routes between DAPM widgets SYNOPSIS int snd_soc_dapm_add_routes (struct snd_soc_dapm_context *dapm , const struct snd_soc_dapm_route *route , int num ); ARGUMENTS dapm DAPM context route audio routes num number of routes DESCRIPTION Connects 2...
snd_soc_dapm_dai_get_connected_widgets(9)
NAME snd_soc_dapm_dai_get_connected_widgets - query audio path and it's widgets. SYNOPSIS int snd_soc_dapm_dai_get_connected_widgets (struct snd_soc_dai *dai , int stream , struct snd_soc_dapm_widget_list **list , bool (*custom_stop_condition)(struct snd_soc_dapm_widget *, enum snd_soc_dapm_direction) ); ARGUMENTS da...
snd_soc_dapm_del_routes(9)
NAME snd_soc_dapm_del_routes - Remove routes between DAPM widgets SYNOPSIS int snd_soc_dapm_del_routes (struct snd_soc_dapm_context *dapm , const struct snd_soc_dapm_route *route , int num ); ARGUMENTS dapm DAPM context route audio routes num number of routes DESCRIPTION Removes ...
snd_soc_dapm_disable_pin(9)
NAME snd_soc_dapm_disable_pin - disable pin. SYNOPSIS int snd_soc_dapm_disable_pin (struct snd_soc_dapm_context *dapm , const char *pin ); ARGUMENTS dapm DAPM context pin pin name DESCRIPTION Disables input/output pin and its parents or children widgets. NOTE snd_soc_dapm_sync needs to be cal...
snd_soc_dapm_disable_pin_unlocked(9)
NAME snd_soc_dapm_disable_pin_unlocked - disable pin. SYNOPSIS int snd_soc_dapm_disable_pin_unlocked (struct snd_soc_dapm_context *dapm , const char *pin ); ARGUMENTS dapm DAPM context pin pin name DESCRIPTION Disables input/output pin and its parents or children widgets. Requires external lo...
snd_soc_dapm_enable_pin(9)
NAME snd_soc_dapm_enable_pin - enable pin. SYNOPSIS int snd_soc_dapm_enable_pin (struct snd_soc_dapm_context *dapm , const char *pin ); ARGUMENTS dapm DAPM context pin pin name DESCRIPTION Enables input/output pin and its parents or children widgets iff there is a valid audio route and active ...
snd_soc_dapm_enable_pin_unlocked(9)
NAME snd_soc_dapm_enable_pin_unlocked - enable pin. SYNOPSIS int snd_soc_dapm_enable_pin_unlocked (struct snd_soc_dapm_context *dapm , const char *pin ); ARGUMENTS dapm DAPM context pin pin name DESCRIPTION Enables input/output pin and its parents or children widgets iff there is a valid audio...
snd_soc_dapm_force_bias_level(9)
NAME snd_soc_dapm_force_bias_level - Sets the DAPM bias level SYNOPSIS int snd_soc_dapm_force_bias_level (struct snd_soc_dapm_context *dapm , enum snd_soc_bias_level level ); ARGUMENTS dapm The DAPM context for which to set the level level The level to set DESCRIPTION Forces the DAPM bias level...
snd_soc_dapm_force_enable_pin(9)
NAME snd_soc_dapm_force_enable_pin - force a pin to be enabled SYNOPSIS int snd_soc_dapm_force_enable_pin (struct snd_soc_dapm_context *dapm , const char *pin ); ARGUMENTS dapm DAPM context pin pin name DESCRIPTION Enables input/output pin regardless of any other state. This is intended for u...
snd_soc_dapm_force_enable_pin_unlocked(9)
NAME snd_soc_dapm_force_enable_pin_unlocked - force a pin to be enabled SYNOPSIS int snd_soc_dapm_force_enable_pin_unlocked (struct snd_soc_dapm_context *dapm , const char *pin ); ARGUMENTS dapm DAPM context pin pin name DESCRIPTION Enables input/output pin regardless of any other state. This...
snd_soc_dapm_free(9)
NAME snd_soc_dapm_free - free dapm resources SYNOPSIS void snd_soc_dapm_free (struct snd_soc_dapm_context *dapm ); ARGUMENTS dapm DAPM context DESCRIPTION Free all dapm widgets and resources. SEE ALSO Kernel file ./sound/soc/soc-dapm.c snd_soc_dapm_kcontrol_to_widget(9), snd_soc_dapm_kcontrol_to_dapm...
snd_soc_dapm_free_widget(9)
NAME snd_soc_dapm_free_widget - Free specified widget SYNOPSIS void snd_soc_dapm_free_widget (struct snd_soc_dapm_widget *w ); ARGUMENTS w widget to free DESCRIPTION Removes widget from all paths and frees memory occupied by it. SEE ALSO Kernel file ./sound/soc/soc-dapm.c snd_soc_dapm_kcontrol_to_wi...
snd_soc_dapm_get_bias_level(9)
NAME snd_soc_dapm_get_bias_level - Get current DAPM bias level SYNOPSIS enum snd_soc_bias_level snd_soc_dapm_get_bias_level (struct snd_soc_dapm_context *dapm ); ARGUMENTS dapm The context for which to get the bias level RETURN The current bias level of the passed DAPM context. SEE ALSO Kernel file ./sou...
snd_soc_dapm_get_component_pin_switch(9)
NAME snd_soc_dapm_get_component_pin_switch - Get information for a pin switch SYNOPSIS int snd_soc_dapm_get_component_pin_switch (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol Value DESCRIPTION Callback to provide information for a pin ...
snd_soc_dapm_get_enum_double(9)
NAME snd_soc_dapm_get_enum_double - dapm enumerated double mixer get callback SYNOPSIS int snd_soc_dapm_get_enum_double (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol control element information DESCRIPTION Callback to get the value of ...
snd_soc_dapm_get_pin_status(9)
NAME snd_soc_dapm_get_pin_status - get audio pin status SYNOPSIS int snd_soc_dapm_get_pin_status (struct snd_soc_dapm_context *dapm , const char *pin ); ARGUMENTS dapm DAPM context pin audio signal pin endpoint (or start point) DESCRIPTION Get audio pin status - connected or disconnected. Ret...
snd_soc_dapm_get_pin_switch(9)
NAME snd_soc_dapm_get_pin_switch - Get information for a pin switch SYNOPSIS int snd_soc_dapm_get_pin_switch (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol Value DESCRIPTION Callback to provide information for a pin switch added at the ...
snd_soc_dapm_get_volsw(9)
NAME snd_soc_dapm_get_volsw - dapm mixer get callback SYNOPSIS int snd_soc_dapm_get_volsw (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol control element information DESCRIPTION Callback to get the value of a dapm mixer control. Returns...
snd_soc_dapm_ignore_suspend(9)
NAME snd_soc_dapm_ignore_suspend - ignore suspend status for DAPM endpoint SYNOPSIS int snd_soc_dapm_ignore_suspend (struct snd_soc_dapm_context *dapm , const char *pin ); ARGUMENTS dapm DAPM context pin audio signal pin endpoint (or start point) DESCRIPTION Mark the given endpoint or pin as i...
snd_soc_dapm_info_pin_switch(9)
NAME snd_soc_dapm_info_pin_switch - Info for a pin switch SYNOPSIS int snd_soc_dapm_info_pin_switch (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_info *uinfo ); ARGUMENTS kcontrol mixer control uinfo control element information DESCRIPTION Callback to provide information about a pin switch co...
snd_soc_dapm_init_bias_level(9)
NAME snd_soc_dapm_init_bias_level - Initialize DAPM bias level SYNOPSIS void snd_soc_dapm_init_bias_level (struct snd_soc_dapm_context *dapm , enum snd_soc_bias_level level ); ARGUMENTS dapm The DAPM context to initialize level The DAPM level to initialize to DESCRIPTION This function only set...
snd_soc_dapm_kcontrol_to_component(9)
NAME snd_soc_dapm_kcontrol_to_component - Returns the component associated to a kcontrol SYNOPSIS struct snd_soc_component * snd_soc_dapm_kcontrol_to_component (struct snd_kcontrol *kcontrol ); ARGUMENTS kcontrol The kcontrol DESCRIPTION This function must only be used on DAPM contexts that are known to be part o...
snd_soc_dapm_kcontrol_to_dapm(9)
NAME snd_soc_dapm_kcontrol_to_dapm - Returns the dapm context associated to a kcontrol SYNOPSIS struct snd_soc_dapm_context * snd_soc_dapm_kcontrol_to_dapm (struct snd_kcontrol *kcontrol ); ARGUMENTS kcontrol The kcontrol NOTE This function must only be used on kcontrols that are known to have been registered for...
snd_soc_dapm_kcontrol_to_widget(9)
NAME snd_soc_dapm_kcontrol_to_widget - Returns the widget associated to a kcontrol SYNOPSIS struct snd_soc_dapm_widget * snd_soc_dapm_kcontrol_to_widget (struct snd_kcontrol *kcontrol ); ARGUMENTS kcontrol The kcontrol SEE ALSO Kernel file ./sound/soc/soc-dapm.c snd_soc_dapm_kcontrol_to_dapm(9), snd_soc_...
snd_soc_dapm_new_control(9)
NAME snd_soc_dapm_new_control - create new dapm control SYNOPSIS struct snd_soc_dapm_widget * snd_soc_dapm_new_control (struct snd_soc_dapm_context *dapm , const struct snd_soc_dapm_widget *widget ); ARGUMENTS dapm DAPM context widget widget template DESCRIPTION Creates new DAPM control based upo...
snd_soc_dapm_new_controls(9)
NAME snd_soc_dapm_new_controls - create new dapm controls SYNOPSIS int snd_soc_dapm_new_controls (struct snd_soc_dapm_context *dapm , const struct snd_soc_dapm_widget *widget , unsigned int num ); ARGUMENTS dapm DAPM context widget widget array num number of widgets DESCRIPTION Cr...
snd_soc_dapm_new_dai_widgets(9)
NAME snd_soc_dapm_new_dai_widgets - Create new DAPM widgets SYNOPSIS int snd_soc_dapm_new_dai_widgets (struct snd_soc_dapm_context *dapm , struct snd_soc_dai *dai ); ARGUMENTS dapm DAPM context dai parent DAI DESCRIPTION Returns 0 on success, error code otherwise. SEE ALSO Kernel file ./s...
snd_soc_dapm_new_widgets(9)
NAME snd_soc_dapm_new_widgets - add new dapm widgets SYNOPSIS int snd_soc_dapm_new_widgets (struct snd_soc_card *card ); ARGUMENTS card card to be checked for new dapm widgets DESCRIPTION Checks the codec for any new dapm widgets and creates them if found. Returns 0 for success. SEE ALSO Kernel file ./s...
snd_soc_dapm_put_component_pin_switch(9)
NAME snd_soc_dapm_put_component_pin_switch - Set information for a pin switch SYNOPSIS int snd_soc_dapm_put_component_pin_switch (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol Value DESCRIPTION Callback to provide information for a pin ...
snd_soc_dapm_put_enum_double(9)
NAME snd_soc_dapm_put_enum_double - dapm enumerated double mixer set callback SYNOPSIS int snd_soc_dapm_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 ...
snd_soc_dapm_put_pin_switch(9)
NAME snd_soc_dapm_put_pin_switch - Set information for a pin switch SYNOPSIS int snd_soc_dapm_put_pin_switch (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol Value DESCRIPTION Callback to provide information for a pin switch added at the ...
snd_soc_dapm_put_volsw(9)
NAME snd_soc_dapm_put_volsw - dapm mixer set callback SYNOPSIS int snd_soc_dapm_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 dapm mixer control. Returns...
snd_soc_dapm_set_bias_level(9)
NAME snd_soc_dapm_set_bias_level - set the bias level for the system SYNOPSIS int snd_soc_dapm_set_bias_level (struct snd_soc_dapm_context *dapm , enum snd_soc_bias_level level ); ARGUMENTS dapm DAPM context level level to configure DESCRIPTION Configure the bias (power) levels for the SoC audio...
snd_soc_dapm_stream_event(9)
NAME snd_soc_dapm_stream_event - send a stream event to the dapm core SYNOPSIS void snd_soc_dapm_stream_event (struct snd_soc_pcm_runtime *rtd , int stream , int event ); ARGUMENTS rtd PCM runtime data stream stream name event stream event DESCRIPTION Sends a stream event to the da...
snd_soc_dapm_sync(9)
NAME snd_soc_dapm_sync - scan and power dapm paths SYNOPSIS int snd_soc_dapm_sync (struct snd_soc_dapm_context *dapm ); ARGUMENTS dapm DAPM context DESCRIPTION Walks all dapm audio paths and powers widgets according to their stream or path usage. Returns 0 for success. SEE ALSO Kernel file ./sound/soc/s...
snd_soc_dapm_sync_unlocked(9)
NAME snd_soc_dapm_sync_unlocked - scan and power dapm paths SYNOPSIS int snd_soc_dapm_sync_unlocked (struct snd_soc_dapm_context *dapm ); ARGUMENTS dapm DAPM context DESCRIPTION Walks all dapm audio paths and powers widgets according to their stream or path usage. Requires external locking. Returns 0 for su...
snd_soc_dapm_widget_for_each_path(9)
NAME snd_soc_dapm_widget_for_each_path - Iterates over all paths in the specified direction of a widget SYNOPSIS snd_soc_dapm_widget_for_each_path (w , dir , p ); ARGUMENTS w The widget dir Whether to iterate over the paths where the specified widget is the incoming or outgoing widgets ...
snd_soc_dapm_widget_for_each_path_safe(9)
NAME snd_soc_dapm_widget_for_each_path_safe - Iterates over all paths in the specified direction of a widget SYNOPSIS snd_soc_dapm_widget_for_each_path_safe (w , dir , p , next_p ); ARGUMENTS w The widget dir Whether to iterate over the paths where the specified widget is the incoming or out...
snd_soc_dapm_widget_for_each_sink_path(9)
NAME snd_soc_dapm_widget_for_each_sink_path - Iterates over all paths leaving a widget SYNOPSIS snd_soc_dapm_widget_for_each_sink_path (w , p ); ARGUMENTS w The widget p The path iterator variable SEE ALSO Kernel file ./include/sound/soc-dapm.h snd_soc_dapm_widget_for_each_path(9), snd_so...
snd_soc_dapm_widget_for_each_source_path(9)
NAME snd_soc_dapm_widget_for_each_source_path - Iterates over all paths leading to a widget SYNOPSIS snd_soc_dapm_widget_for_each_source_path (w , p ); ARGUMENTS w The widget p The path iterator variable SEE ALSO Kernel file ./include/sound/soc-dapm.h snd_soc_dapm_widget_for_each_path(9),...
snd_soc_find_dai(9)
NAME snd_soc_find_dai - Find a registered DAI SYNOPSIS struct snd_soc_dai * snd_soc_find_dai (const struct snd_soc_dai_link_component *dlc ); ARGUMENTS dlc name of the DAI or the DAI driver and optional component info to match DESCRIPTION This function will search all registered components and their DAIs to ...
snd_soc_find_dai_link(9)
NAME snd_soc_find_dai_link - Find a DAI link SYNOPSIS struct snd_soc_dai_link * snd_soc_find_dai_link (struct snd_soc_card *card , int id , const char *name , const char *stream_name ); ARGUMENTS card soc card id DAI link ID to match name DAI link name to match, optional ...
snd_soc_free_ac97_component(9)
NAME snd_soc_free_ac97_component - free AC97 component device SYNOPSIS void snd_soc_free_ac97_component (struct snd_ac97 *ac97 ); ARGUMENTS ac97 snd_ac97 device to be freed DESCRIPTION Frees AC97 component device resources. SEE ALSO Kernel file ./sound/soc/soc-ac97.c snd_soc_alloc_ac97_component(9), snd_soc_...
snd_soc_get_enum_double(9)
NAME snd_soc_get_enum_double - enumerated double mixer get callback SYNOPSIS int snd_soc_get_enum_double (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol control element information DESCRIPTION Callback to get the value of a double enumer...
snd_soc_get_strobe(9)
NAME snd_soc_get_strobe - strobe get callback SYNOPSIS int snd_soc_get_strobe (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol control element information DESCRIPTION Callback get the value of a strobe mixer control. Returns 0 for succes...