id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
snd_hda_check_amp_list_power(9) | NAME snd_hda_check_amp_list_power - Check the amp list and update the power
SYNOPSIS int snd_hda_check_amp_list_power (struct hda_codec *codec , struct hda_loopback_check *check , hda_nid_t nid );
ARGUMENTS codec HD-audio codec
check the object containing an AMP list and the status
nid ... |
snd_hda_codec_amp_init(9) | NAME snd_hda_codec_amp_init - initialize the AMP value
SYNOPSIS int snd_hda_codec_amp_init (struct hda_codec *codec , hda_nid_t nid , int ch , int dir , int idx , int mask , int val );
ARGUMENTS codec the HDA codec
nid NID to read the AMP value
ch channel (left=0 or right=1)
... |
snd_hda_codec_amp_init_stereo(9) | NAME snd_hda_codec_amp_init_stereo - initialize the stereo AMP value
SYNOPSIS int snd_hda_codec_amp_init_stereo (struct hda_codec *codec , hda_nid_t nid , int dir , int idx , int mask , int val );
ARGUMENTS codec the HDA codec
nid NID to read the AMP value
dir #HDA_INPUT or #HDA_... |
snd_hda_codec_amp_stereo(9) | NAME snd_hda_codec_amp_stereo - update the AMP stereo values
SYNOPSIS int snd_hda_codec_amp_stereo (struct hda_codec *codec , hda_nid_t nid , int direction , int idx , int mask , int val );
ARGUMENTS codec HD-audio codec
nid NID to read the AMP value
direction #HDA_INPUT or #HDA_OUTPUT... |
snd_hda_codec_amp_update(9) | NAME snd_hda_codec_amp_update - update the AMP mono value
SYNOPSIS int snd_hda_codec_amp_update (struct hda_codec *codec , hda_nid_t nid , int ch , int dir , int idx , int mask , int val );
ARGUMENTS codec HD-audio codec
nid NID to read the AMP value
ch channel to update (0 or 1... |
snd_hda_codec_cleanup(9) | NAME snd_hda_codec_cleanup - Clean up stream resources
SYNOPSIS void snd_hda_codec_cleanup (struct hda_codec *codec , struct hda_pcm_stream *hinfo , struct snd_pcm_substream *substream );
ARGUMENTS codec the HDA codec
hinfo PCM information
substream PCM substream
DESCRIPTION Calls the c... |
snd_hda_codec_cleanup_for_unbind(9) | NAME snd_hda_codec_cleanup_for_unbind - Prepare codec for removal
SYNOPSIS void snd_hda_codec_cleanup_for_unbind (struct hda_codec *codec );
ARGUMENTS codec codec device to cleanup
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(9), snd_hda_get_conn_list(9), snd_hda_get_connections(9), s... |
snd_hda_codec_configure(9) | NAME snd_hda_codec_configure - (Re-)configure the HD-audio codec
SYNOPSIS int snd_hda_codec_configure (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION Start parsing of the given codec tree and (re-)initialize the whole codec driver binding. Returns 0 if successful or a negative error code... |
snd_hda_codec_device_init(9) | NAME snd_hda_codec_device_init - allocate HDA codec device
SYNOPSIS struct hda_codec * snd_hda_codec_device_init (struct hda_bus *bus , unsigned int codec_addr , const char *fmt , ... );
ARGUMENTS bus codec's parent bus
codec_addr the codec address on the parent bus
fmt format string ... |
snd_hda_codec_eapd_power_filter(9) | NAME snd_hda_codec_eapd_power_filter - A power filter callback for EAPD
SYNOPSIS unsigned int snd_hda_codec_eapd_power_filter (struct hda_codec *codec , hda_nid_t nid , unsigned int power_state );
ARGUMENTS codec the HDA codec
nid widget NID
power_state power state to evalue
DESCRIPTION... |
snd_hda_codec_get_pin_target(9) | NAME snd_hda_codec_get_pin_target - return the current pinctl target value
SYNOPSIS int snd_hda_codec_get_pin_target (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HDA codec
nid pin NID
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(9), snd_hda_get_conn_... |
snd_hda_codec_get_pincfg(9) | NAME snd_hda_codec_get_pincfg - Obtain a pin-default configuration
SYNOPSIS unsigned int snd_hda_codec_get_pincfg (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HDA codec
nid NID to get the pin config
DESCRIPTION Get the current pin config value of the given pin NID. If the pi... |
snd_hda_codec_new(9) | NAME snd_hda_codec_new - create a HDA codec
SYNOPSIS int snd_hda_codec_new (struct hda_bus *bus , struct snd_card *card , unsigned int codec_addr , struct hda_codec **codecp );
ARGUMENTS bus the bus to assign
card card for this codec
codec_addr the codec address
codecp the... |
snd_hda_codec_prepare(9) | NAME snd_hda_codec_prepare - Prepare a stream
SYNOPSIS int snd_hda_codec_prepare (struct hda_codec *codec , struct hda_pcm_stream *hinfo , unsigned int stream , unsigned int format , struct snd_pcm_substream *substream );
ARGUMENTS codec the HDA codec
hinfo PCM information
stream stre... |
snd_hda_codec_register(9) | NAME snd_hda_codec_register - Finalize codec initialization
SYNOPSIS void snd_hda_codec_register (struct hda_codec *codec );
ARGUMENTS codec codec device to register
DESCRIPTION Also called from hda_bind.c
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(9), snd_hda_get_conn_list(9), snd... |
snd_hda_codec_reset(9) | NAME snd_hda_codec_reset - Clear all objects assigned to the codec
SYNOPSIS int snd_hda_codec_reset (struct hda_codec *codec );
ARGUMENTS codec HD-audio codec
DESCRIPTION This frees the all PCM and control elements assigned to the codec, and clears the caches and restores the pin default configurations. When ... |
snd_hda_codec_set_name(9) | NAME snd_hda_codec_set_name - set the codec name
SYNOPSIS int snd_hda_codec_set_name (struct hda_codec *codec , const char *name );
ARGUMENTS codec the HDA codec
name name string to set
SEE ALSO Kernel file ./sound/hda/common/bind.c snd_hda_codec_configure(9)
April 2026 ... |
snd_hda_codec_set_pin_target(9) | NAME snd_hda_codec_set_pin_target - remember the current pinctl target value
SYNOPSIS int snd_hda_codec_set_pin_target (struct hda_codec *codec , hda_nid_t nid , unsigned int val );
ARGUMENTS codec the HDA codec
nid pin NID
val assigned pinctl value
DESCRIPTION This function sto... |
snd_hda_codec_set_pincfg(9) | NAME snd_hda_codec_set_pincfg - Override a pin default configuration
SYNOPSIS int snd_hda_codec_set_pincfg (struct hda_codec *codec , hda_nid_t nid , unsigned int cfg );
ARGUMENTS codec the HDA codec
nid NID to set the pin config
cfg the pin default config value
DESCRIPTION Over... |
snd_hda_codec_set_power_save(9) | NAME snd_hda_codec_set_power_save - Configure codec's runtime PM
SYNOPSIS void snd_hda_codec_set_power_save (struct hda_codec *codec , int delay );
ARGUMENTS codec codec device to configure
delay autosuspend delay
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(9), snd_hda_... |
snd_hda_codec_set_power_to_all(9) | NAME snd_hda_codec_set_power_to_all - Set the power state to all widgets
SYNOPSIS void snd_hda_codec_set_power_to_all (struct hda_codec *codec , hda_nid_t fg , unsigned int power_state );
ARGUMENTS codec the HDA codec
fg function group (not used now)
power_state the power state to set (... |
snd_hda_codec_setup_stream(9) | NAME snd_hda_codec_setup_stream - set up the codec for streaming
SYNOPSIS void snd_hda_codec_setup_stream (struct hda_codec *codec , hda_nid_t nid , u32 stream_tag , int channel_id , int format );
ARGUMENTS codec the CODEC to set up
nid the NID to set up
stream_tag stream tag to pass, i... |
snd_hda_codec_unregister(9) | NAME snd_hda_codec_unregister - Unregister specified codec device
SYNOPSIS void snd_hda_codec_unregister (struct hda_codec *codec );
ARGUMENTS codec codec device to unregister
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(9), snd_hda_get_conn_list(9), snd_hda_get_connections(9), snd_hd... |
snd_hda_codec_update_widgets(9) | NAME snd_hda_codec_update_widgets - Refresh widget caps and pin defaults
SYNOPSIS int snd_hda_codec_update_widgets (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION Forcibly refresh the all widget caps and the init pin configurations of the given codec.
SEE ALSO Kernel file ./sound/hda/com... |
snd_hda_correct_pin_ctl(9) | NAME snd_hda_correct_pin_ctl - correct the pin ctl value for matching with the pin cap
SYNOPSIS unsigned int snd_hda_correct_pin_ctl (struct hda_codec *codec , hda_nid_t pin , unsigned int val );
ARGUMENTS codec the HDA codec
pin referred pin NID
val pin ctl value to audit
SEE A... |
snd_hda_create_dig_out_ctls(9) | NAME snd_hda_create_dig_out_ctls - create Output SPDIF-related controls
SYNOPSIS int snd_hda_create_dig_out_ctls (struct hda_codec *codec , hda_nid_t associated_nid , hda_nid_t cvt_nid , int type );
ARGUMENTS codec the HDA codec
associated_nid
NID that new ctls associated with
... |
snd_hda_create_spdif_in_ctls(9) | NAME snd_hda_create_spdif_in_ctls - create Input SPDIF-related controls
SYNOPSIS int snd_hda_create_spdif_in_ctls (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HDA codec
nid audio in widget NID
DESCRIPTION Creates controls related with the SPDIF input. Called from each codec ... |
snd_hda_create_spdif_share_sw(9) | NAME snd_hda_create_spdif_share_sw - create Default PCM switch
SYNOPSIS int snd_hda_create_spdif_share_sw (struct hda_codec *codec , struct hda_multi_out *mout );
ARGUMENTS codec the HDA codec
mout multi-out instance
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(9), snd_... |
snd_hda_ctl_add(9) | NAME snd_hda_ctl_add - Add a control element and assign to the codec
SYNOPSIS int snd_hda_ctl_add (struct hda_codec *codec , hda_nid_t nid , struct snd_kcontrol *kctl );
ARGUMENTS codec HD-audio codec
nid corresponding NID (optional)
kctl the control element to assign
DESCRIPTION... |
snd_hda_ctls_clear(9) | NAME snd_hda_ctls_clear - Clear all controls assigned to the given codec
SYNOPSIS void snd_hda_ctls_clear (struct hda_codec *codec );
ARGUMENTS codec HD-audio codec
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(9), snd_hda_get_conn_list(9), snd_hda_get_connections(9), snd_hda_ove... |
snd_hda_detach_beep_device(9) | NAME snd_hda_detach_beep_device - Detach the beep device
SYNOPSIS void snd_hda_detach_beep_device (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
SEE ALSO Kernel file ./sound/hda/common/beep.c snd_hda_enable_beep_device(9), snd_hda_attach_beep_device(9), snd_hda_mixer_amp_switch_get_beep(9), snd_hda_... |
snd_hda_enable_beep_device(9) | NAME snd_hda_enable_beep_device - Turn on/off beep sound
SYNOPSIS int snd_hda_enable_beep_device (struct hda_codec *codec , int enable );
ARGUMENTS codec the HDA codec
enable flag to turn on/off
SEE ALSO Kernel file ./sound/hda/common/beep.c snd_hda_attach_beep_device(9), snd_hda_detach_beep_devic... |
snd_hda_enum_helper_info(9) | NAME snd_hda_enum_helper_info - Helper for simple enum ctls
SYNOPSIS int snd_hda_enum_helper_info (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_info *uinfo , int num_items , const char * const *texts );
ARGUMENTS kcontrol ctl element
uinfo pointer to get/store the data
num_items numb... |
snd_hda_ext_driver_register(9) | NAME snd_hda_ext_driver_register - register a driver for ext hda devices
SYNOPSIS int snd_hda_ext_driver_register (struct hdac_driver *drv );
ARGUMENTS drv ext hda driver structure
SEE ALSO Kernel file ./sound/hda/core/ext/bus.c snd_hdac_ext_bus_init(9), snd_hdac_ext_bus_exit(9), snd_hdac_ext_bus_device_remo... |
snd_hda_ext_driver_unregister(9) | NAME snd_hda_ext_driver_unregister - unregister a driver for ext hda devices
SYNOPSIS void snd_hda_ext_driver_unregister (struct hdac_driver *drv );
ARGUMENTS drv ext hda driver structure
SEE ALSO Kernel file ./sound/hda/core/ext/bus.c snd_hdac_ext_bus_init(9), snd_hdac_ext_bus_exit(9), snd_hdac_ext_bus_devi... |
snd_hda_find_mixer_ctl(9) | NAME snd_hda_find_mixer_ctl - Find a mixer control element with the given name
SYNOPSIS struct snd_kcontrol * snd_hda_find_mixer_ctl (struct hda_codec *codec , const char *name );
ARGUMENTS codec HD-audio codec
name ctl id name string
DESCRIPTION Get the control element with the given id string ... |
snd_hda_gen_add_kctl(9) | NAME snd_hda_gen_add_kctl - Add a new kctl_new struct from the template
SYNOPSIS struct snd_kcontrol_new * snd_hda_gen_add_kctl (struct hda_gen_spec *spec , const char *name , const struct snd_kcontrol_new *temp );
ARGUMENTS spec hda_gen_spec object
name name string to override the template, NUL... |
snd_hda_gen_add_micmute_led_cdev(9) | NAME snd_hda_gen_add_micmute_led_cdev - Create a LED classdev and enable as mic-mute LED
SYNOPSIS int snd_hda_gen_add_micmute_led_cdev (struct hda_codec *codec , int (*callback)(struct led_classdev *, enum led_brightness) );
ARGUMENTS codec the HDA codec
callback the callback for LED classdev brightn... |
snd_hda_gen_add_mute_led_cdev(9) | NAME snd_hda_gen_add_mute_led_cdev - Create a LED classdev and enable as vmaster mute LED
SYNOPSIS int snd_hda_gen_add_mute_led_cdev (struct hda_codec *codec , int (*callback)(struct led_classdev *, enum led_brightness) );
ARGUMENTS codec the HDA codec
callback the callback for LED classdev brightnes... |
snd_hda_gen_build_controls(9) | NAME snd_hda_gen_build_controls - Build controls from the parsed results
SYNOPSIS int snd_hda_gen_build_controls (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION Pass this to build_controls hda_codec_ops.
SEE ALSO Kernel file ./sound/hda/codecs/generic.c snd_hda_gen_spec_init(9),... |
snd_hda_gen_build_pcms(9) | NAME snd_hda_gen_build_pcms - build PCM streams based on the parsed results
SYNOPSIS int snd_hda_gen_build_pcms (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION Pass this to build_pcms hda_codec_ops.
SEE ALSO Kernel file ./sound/hda/codecs/generic.c snd_hda_gen_spec_init(9), s... |
snd_hda_gen_check_power_status(9) | NAME snd_hda_gen_check_power_status - check the loopback power save state
SYNOPSIS int snd_hda_gen_check_power_status (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HDA codec
nid NID to inspect
DESCRIPTION This can be put as hda_codec_ops check_power_status function.
SEE ALSO ... |
snd_hda_gen_fix_pin_power(9) | NAME snd_hda_gen_fix_pin_power - Fix the power of the given pin widget to D0
SYNOPSIS int snd_hda_gen_fix_pin_power (struct hda_codec *codec , hda_nid_t pin );
ARGUMENTS codec the HDA codec
pin NID of pin to fix
SEE ALSO Kernel file ./sound/hda/codecs/generic.c snd_hda_gen_spec_init(9)... |
snd_hda_gen_hp_automute(9) | NAME snd_hda_gen_hp_automute - standard HP-automute helper
SYNOPSIS void snd_hda_gen_hp_automute (struct hda_codec *codec , struct hda_jack_callback *jack );
ARGUMENTS codec the HDA codec
jack jack object, NULL for the whole
SEE ALSO Kernel file ./sound/hda/codecs/generic.c snd_hda_gen_... |
snd_hda_gen_init(9) | NAME snd_hda_gen_init - initialize the generic spec
SYNOPSIS int snd_hda_gen_init (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION This can be put as hda_codec_ops init function.
SEE ALSO Kernel file ./sound/hda/codecs/generic.c snd_hda_gen_spec_init(9), snd_hda_gen_add_kctl(9... |
snd_hda_gen_line_automute(9) | NAME snd_hda_gen_line_automute - standard line-out-automute helper
SYNOPSIS void snd_hda_gen_line_automute (struct hda_codec *codec , struct hda_jack_callback *jack );
ARGUMENTS codec the HDA codec
jack jack object, NULL for the whole
SEE ALSO Kernel file ./sound/hda/codecs/generic.c snd_hda_... |
snd_hda_gen_mic_autoswitch(9) | NAME snd_hda_gen_mic_autoswitch - standard mic auto-switch helper
SYNOPSIS void snd_hda_gen_mic_autoswitch (struct hda_codec *codec , struct hda_jack_callback *jack );
ARGUMENTS codec the HDA codec
jack jack object, NULL for the whole
SEE ALSO Kernel file ./sound/hda/codecs/generic.c sn... |
snd_hda_gen_parse_auto_config(9) | NAME snd_hda_gen_parse_auto_config - Parse the given BIOS configuration and set up the hda_gen_spec
SYNOPSIS int snd_hda_gen_parse_auto_config (struct hda_codec *codec , struct auto_pin_cfg *cfg );
ARGUMENTS codec the HDA codec
cfg Parsed pin configuration
DESCRIPTION return 1 if successful, 0 ... |
snd_hda_gen_path_power_filter(9) | NAME snd_hda_gen_path_power_filter - power_filter hook to make inactive widgets into power down
SYNOPSIS unsigned int snd_hda_gen_path_power_filter (struct hda_codec *codec , hda_nid_t nid , unsigned int power_state );
ARGUMENTS codec the HDA codec
nid NID to evaluate
power_state target ... |
snd_hda_gen_remove(9) | NAME snd_hda_gen_remove - free the generic spec
SYNOPSIS void snd_hda_gen_remove (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION This can be put as hda_codec_ops remove function.
SEE ALSO Kernel file ./sound/hda/codecs/generic.c snd_hda_gen_spec_init(9), snd_hda_gen_add_kctl(9), snd... |
snd_hda_gen_shutup_speakers(9) | NAME snd_hda_gen_shutup_speakers - Forcibly mute the speaker outputs
SYNOPSIS bool snd_hda_gen_shutup_speakers (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION Forcibly mute the speaker outputs, to be called at suspend or shutdown. The mute state done by this function isn't cached, h... |
snd_hda_gen_spec_init(9) | NAME snd_hda_gen_spec_init - initialize hda_gen_spec struct
SYNOPSIS int snd_hda_gen_spec_init (struct hda_gen_spec *spec );
ARGUMENTS spec hda_gen_spec object to initialize
DESCRIPTION Initialize the given hda_gen_spec object.
SEE ALSO Kernel file ./sound/hda/codecs/generic.c snd_hda_gen_add_kctl(9), ... |
snd_hda_gen_stream_pm(9) | NAME snd_hda_gen_stream_pm - Stream power management callback
SYNOPSIS void snd_hda_gen_stream_pm (struct hda_codec *codec , hda_nid_t nid , bool on );
ARGUMENTS codec the HDA codec
nid audio widget
on power on/off flag
DESCRIPTION Set this in hda_codec_ops.stream_pm. Only val... |
snd_hda_gen_update_outputs(9) | NAME snd_hda_gen_update_outputs - Toggle outputs muting
SYNOPSIS void snd_hda_gen_update_outputs (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION Update the mute status of all outputs based on the current jack states.
SEE ALSO Kernel file ./sound/hda/codecs/generic.c snd_hda_gen_... |
snd_hda_get_bool_hint(9) | NAME snd_hda_get_bool_hint - Get a boolean hint value
SYNOPSIS int snd_hda_get_bool_hint (struct hda_codec *codec , const char *key );
ARGUMENTS codec the HDA codec
key the hint key string
DESCRIPTION Look for a hint key/value pair matching with the given key string and returns a boolean value ... |
snd_hda_get_conn_index(9) | NAME snd_hda_get_conn_index - get the connection index of the given NID
SYNOPSIS int snd_hda_get_conn_index (struct hda_codec *codec , hda_nid_t mux , hda_nid_t nid , int recursive );
ARGUMENTS codec the HDA codec
mux NID containing the list
nid NID to select
recursive ... |
snd_hda_get_conn_list(9) | NAME snd_hda_get_conn_list - get connection list
SYNOPSIS int snd_hda_get_conn_list (struct hda_codec *codec , hda_nid_t nid , const hda_nid_t **listp );
ARGUMENTS codec the HDA codec
nid NID to parse
listp the pointer to store NID list
DESCRIPTION Parses the connection list o... |
snd_hda_get_connections(9) | NAME snd_hda_get_connections - copy connection list
SYNOPSIS int snd_hda_get_connections (struct hda_codec *codec , hda_nid_t nid , hda_nid_t *conn_list , int max_conns );
ARGUMENTS codec the HDA codec
nid NID to parse
conn_list connection list array; when NULL, checks only the size
... |
snd_hda_get_default_vref(9) | NAME snd_hda_get_default_vref - Get the default (mic) VREF pin bits
SYNOPSIS unsigned int snd_hda_get_default_vref (struct hda_codec *codec , hda_nid_t pin );
ARGUMENTS codec the HDA codec
pin referred pin NID
DESCRIPTION Guess the suitable VREF pin bits to be set as the pin-control value.
NOT... |
snd_hda_get_dev_select(9) | NAME snd_hda_get_dev_select - get device entry select on the pin
SYNOPSIS int snd_hda_get_dev_select (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HDA codec
nid NID of the pin to get device entry select
DESCRIPTION Get the devcie entry select on the pin. Return the device entr... |
snd_hda_get_devices(9) | NAME snd_hda_get_devices - copy device list without cache
SYNOPSIS unsigned int snd_hda_get_devices (struct hda_codec *codec , hda_nid_t nid , u8 *dev_list , unsigned int max_devices );
ARGUMENTS codec the HDA codec
nid NID of the pin to parse
dev_list device list array
max_de... |
snd_hda_get_hint(9) | NAME snd_hda_get_hint - Look for hint string
SYNOPSIS const char * snd_hda_get_hint (struct hda_codec *codec , const char *key );
ARGUMENTS codec the HDA codec
key the hint key string
DESCRIPTION Look for a hint key/value pair matching with the given key string and returns the value string. If... |
snd_hda_get_input_pin_attr(9) | NAME snd_hda_get_input_pin_attr - Get the input pin attribute from pin config
SYNOPSIS int snd_hda_get_input_pin_attr (unsigned int def_conf );
ARGUMENTS def_conf pin configuration value
DESCRIPTION Guess the input pin attribute (INPUT_PIN_ATTR_XXX) from the given default pin configuration value.
SEE ALSO Kernel... |
snd_hda_get_int_hint(9) | NAME snd_hda_get_int_hint - Get an integer hint value
SYNOPSIS int snd_hda_get_int_hint (struct hda_codec *codec , const char *key , int *valp );
ARGUMENTS codec the HDA codec
key the hint key string
valp pointer to store a value
DESCRIPTION Look for a hint key/value pair matchin... |
snd_hda_get_num_devices(9) | NAME snd_hda_get_num_devices - get DEVLIST_LEN parameter of the given widget
SYNOPSIS unsigned int snd_hda_get_num_devices (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HDA codec
nid NID of the pin to parse
DESCRIPTION Get the device entry number on the given widget. This is a... |
snd_hda_get_path_from_idx(9) | NAME snd_hda_get_path_from_idx - get the path instance corresponding to the given index number
SYNOPSIS struct nid_path * snd_hda_get_path_from_idx (struct hda_codec *codec , int idx );
ARGUMENTS codec the HDA codec
idx the path index
SEE ALSO Kernel file ./sound/hda/codecs/generic.c s... |
snd_hda_get_path_idx(9) | NAME snd_hda_get_path_idx - get the index number corresponding to the path instance
SYNOPSIS int snd_hda_get_path_idx (struct hda_codec *codec , struct nid_path *path );
ARGUMENTS codec the HDA codec
path nid_path object
DESCRIPTION The returned index starts from 1, i.e. the actual array index w... |
snd_hda_get_pin_label(9) | NAME snd_hda_get_pin_label - Get a label for the given I/O pin
SYNOPSIS int snd_hda_get_pin_label (struct hda_codec *codec , hda_nid_t nid , const struct auto_pin_cfg *cfg , char *label , int maxlen , int *indexp );
ARGUMENTS codec the HDA codec
nid pin NID
cfg the parsed pin con... |
snd_hda_input_mux_info(9) | NAME snd_hda_input_mux_info - Info callback helper for the input-mux enum
SYNOPSIS int snd_hda_input_mux_info (const struct hda_input_mux *imux , struct snd_ctl_elem_info *uinfo );
ARGUMENTS imux imux helper object
uinfo pointer to get/store the data
SEE ALSO Kernel file ./sound/hda/common/codec... |
snd_hda_input_mux_put(9) | NAME snd_hda_input_mux_put - Put callback helper for the input-mux enum
SYNOPSIS int snd_hda_input_mux_put (struct hda_codec *codec , const struct hda_input_mux *imux , struct snd_ctl_elem_value *ucontrol , hda_nid_t nid , unsigned int *cur_val );
ARGUMENTS codec the HDA codec
imux imux helper ob... |
snd_hda_jack_add_kctl(9) | NAME snd_hda_jack_add_kctl - Add a kctl for the given pin
SYNOPSIS int snd_hda_jack_add_kctl (struct hda_codec *codec , hda_nid_t nid , const char *name , bool phantom_jack , int type , const struct hda_jack_keymap *keymap );
ARGUMENTS codec the HDA codec
nid pin NID to assign
name ... |
snd_hda_jack_add_kctl_mst(9) | NAME snd_hda_jack_add_kctl_mst - Add a kctl for the given pin
SYNOPSIS int snd_hda_jack_add_kctl_mst (struct hda_codec *codec , hda_nid_t nid , int dev_id , const char *name , bool phantom_jack , int type , const struct hda_jack_keymap *keymap );
ARGUMENTS codec the HDA codec
nid pin NID to assi... |
snd_hda_jack_add_kctls(9) | NAME snd_hda_jack_add_kctls - Add kctls for all pins included in the given pincfg
SYNOPSIS int snd_hda_jack_add_kctls (struct hda_codec *codec , const struct auto_pin_cfg *cfg );
ARGUMENTS codec the HDA codec
cfg pin config table to parse
SEE ALSO Kernel file ./sound/hda/common/jack.c is_... |
snd_hda_jack_bind_keymap(9) | NAME snd_hda_jack_bind_keymap - bind keys generated from one NID to another jack.
SYNOPSIS int snd_hda_jack_bind_keymap (struct hda_codec *codec , hda_nid_t key_nid , const struct hda_jack_keymap *keymap , hda_nid_t jack_nid );
ARGUMENTS codec the HDA codec
key_nid key event is generated by this pin... |
snd_hda_jack_detect(9) | NAME snd_hda_jack_detect - Detect the jack
SYNOPSIS bool snd_hda_jack_detect (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HDA codec
nid pin NID to check jack detection
SEE ALSO Kernel file ./sound/hda/common/hda_jack.h snd_hda_jack_tbl_get(9), snd_hda_jack_detect_enable_callb... |
snd_hda_jack_detect_enable(9) | NAME snd_hda_jack_detect_enable - Enable the jack detection on the given pin
SYNOPSIS int snd_hda_jack_detect_enable (struct hda_codec *codec , hda_nid_t nid , int dev_id );
ARGUMENTS codec the HDA codec
nid pin NID to enable jack detection
dev_id pin device entry id
DESCRIPTION En... |
snd_hda_jack_detect_enable_callback(9) | NAME snd_hda_jack_detect_enable_callback - enable the jack-detection
SYNOPSIS struct hda_jack_callback * snd_hda_jack_detect_enable_callback (struct hda_codec *codec , hda_nid_t nid , hda_jack_callback_fn cb );
ARGUMENTS codec the HDA codec
nid pin NID to enable
cb callback func... |
snd_hda_jack_detect_enable_callback_mst(9) | NAME snd_hda_jack_detect_enable_callback_mst - enable the jack-detection
SYNOPSIS struct hda_jack_callback * snd_hda_jack_detect_enable_callback_mst (struct hda_codec *codec , hda_nid_t nid , int dev_id , hda_jack_callback_fn func );
ARGUMENTS codec the HDA codec
nid pin NID to enable
de... |
snd_hda_jack_detect_mst(9) | NAME snd_hda_jack_detect_mst - Detect the jack
SYNOPSIS bool snd_hda_jack_detect_mst (struct hda_codec *codec , hda_nid_t nid , int dev_id );
ARGUMENTS codec the HDA codec
nid pin NID to check jack detection
dev_id pin device entry id
SEE ALSO Kernel file ./sound/hda/common/hda_jac... |
snd_hda_jack_detect_state(9) | NAME snd_hda_jack_detect_state - query pin Presence Detect status
SYNOPSIS int snd_hda_jack_detect_state (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the CODEC to sense
nid the pin NID to sense
DESCRIPTION Query and return the pin's Presence Detect status, as either HDA_JACK_NOT_... |
snd_hda_jack_detect_state_mst(9) | NAME snd_hda_jack_detect_state_mst - query pin Presence Detect status
SYNOPSIS int snd_hda_jack_detect_state_mst (struct hda_codec *codec , hda_nid_t nid , int dev_id );
ARGUMENTS codec the CODEC to sense
nid the pin NID to sense
dev_id pin device entry id
DESCRIPTION Query and ret... |
snd_hda_jack_pin_sense(9) | NAME snd_hda_jack_pin_sense - execute pin sense measurement
SYNOPSIS u32 snd_hda_jack_pin_sense (struct hda_codec *codec , hda_nid_t nid , int dev_id );
ARGUMENTS codec the CODEC to sense
nid the pin NID to sense
dev_id pin device entry id
DESCRIPTION Execute necessary pin sense me... |
snd_hda_jack_poll_all(9) | NAME snd_hda_jack_poll_all - Poll all jacks
SYNOPSIS void snd_hda_jack_poll_all (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION Poll all detectable jacks with dirty flag, update the status, call callbacks and call snd_hda_jack_report_sync if any changes are found.
SEE ALSO Kernel file ... |
snd_hda_jack_report_sync(9) | NAME snd_hda_jack_report_sync - sync the states of all jacks and report if changed
SYNOPSIS void snd_hda_jack_report_sync (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
SEE ALSO Kernel file ./sound/hda/common/jack.c is_jack_detectable(9), snd_hda_jack_tbl_get_mst(9), snd_hda_jack_tbl_get_fr... |
snd_hda_jack_set_button_state(9) | NAME snd_hda_jack_set_button_state - report button event to the hda_jack_tbl button_state.
SYNOPSIS void snd_hda_jack_set_button_state (struct hda_codec *codec , hda_nid_t jack_nid , int button_state );
ARGUMENTS codec the HDA codec
jack_nid the button event reports to the jack_tbl of this NID
... |
snd_hda_jack_set_dirty_all(9) | NAME snd_hda_jack_set_dirty_all - Mark all the cached as dirty
SYNOPSIS void snd_hda_jack_set_dirty_all (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION This function sets the dirty flag to all entries of jack table. It's called from the resume path in hda_codec.c.
SEE ALSO Kernel file... |
snd_hda_jack_set_gating_jack(9) | NAME snd_hda_jack_set_gating_jack - Set gating jack.
SYNOPSIS int snd_hda_jack_set_gating_jack (struct hda_codec *codec , hda_nid_t gated_nid , hda_nid_t gating_nid );
ARGUMENTS codec the HDA codec
gated_nid gated pin NID
gating_nid gating pin NID
DESCRIPTION Indicates the gated jack is only... |
snd_hda_jack_tbl_get(9) | NAME snd_hda_jack_tbl_get - query the jack-table entry for the given NID
SYNOPSIS struct hda_jack_tbl * snd_hda_jack_tbl_get (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HDA codec
nid pin NID to refer to
SEE ALSO Kernel file ./sound/hda/common/hda_jack.h snd_hda_jack_detect_e... |
snd_hda_jack_tbl_get_from_tag(9) | NAME snd_hda_jack_tbl_get_from_tag - query the jack-table entry for the given tag
SYNOPSIS struct hda_jack_tbl * snd_hda_jack_tbl_get_from_tag (struct hda_codec *codec , unsigned char tag , int dev_id );
ARGUMENTS codec the HDA codec
tag tag value to refer to
dev_id pin device entry... |
snd_hda_jack_tbl_get_mst(9) | NAME snd_hda_jack_tbl_get_mst - query the jack-table entry for the given NID
SYNOPSIS struct hda_jack_tbl * snd_hda_jack_tbl_get_mst (struct hda_codec *codec , hda_nid_t nid , int dev_id );
ARGUMENTS codec the HDA codec
nid pin NID to refer to
dev_id pin device entry id
SEE ALSO Ke... |
snd_hda_jack_tbl_new(9) | NAME snd_hda_jack_tbl_new - create a jack-table entry for the given NID
SYNOPSIS struct hda_jack_tbl * snd_hda_jack_tbl_new (struct hda_codec *codec , hda_nid_t nid , int dev_id );
ARGUMENTS codec the HDA codec
nid pin NID to assign
dev_id pin device entry id
SEE ALSO Kernel file ... |
snd_hda_jack_unsol_event(9) | NAME snd_hda_jack_unsol_event - Handle an unsolicited event
SYNOPSIS void snd_hda_jack_unsol_event (struct hda_codec *codec , unsigned int res );
ARGUMENTS codec the HDA codec
res the unsolicited event data
SEE ALSO Kernel file ./sound/hda/common/jack.c is_jack_detectable(9), snd_hda_ja... |
snd_hda_load_patch(9) | NAME snd_hda_load_patch - load a "patch" firmware file and parse it
SYNOPSIS int snd_hda_load_patch (struct hda_bus *bus , size_t fw_size , const void *fw_buf );
ARGUMENTS bus HD-audio bus
fw_size the firmware byte size
fw_buf the firmware data
SEE ALSO Kernel file ./sound/hda/common... |
snd_hda_lock_devices(9) | NAME snd_hda_lock_devices - pseudo device locking
SYNOPSIS int snd_hda_lock_devices (struct hda_bus *bus );
ARGUMENTS bus the BUS
DESCRIPTION toggle card->shutdown to allow/disallow the device access (as a hack)
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(9), snd_hda_get_conn_list... |
snd_hda_mixer_amp_switch_get(9) | NAME snd_hda_mixer_amp_switch_get - Get callback for a standard AMP mixer switch
SYNOPSIS int snd_hda_mixer_amp_switch_get (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol );
ARGUMENTS kcontrol ctl element
ucontrol pointer to get/store the data
DESCRIPTION The control element is sup... |
snd_hda_mixer_amp_switch_get_beep(9) | NAME snd_hda_mixer_amp_switch_get_beep - Get callback for beep controls
SYNOPSIS int snd_hda_mixer_amp_switch_get_beep (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol );
ARGUMENTS kcontrol ctl element
ucontrol pointer to get/store the data
SEE ALSO Kernel file ./sound/hda/common/be... |
snd_hda_mixer_amp_switch_info(9) | NAME snd_hda_mixer_amp_switch_info - Info callback for a standard AMP mixer switch
SYNOPSIS int snd_hda_mixer_amp_switch_info (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_info *uinfo );
ARGUMENTS kcontrol referred ctl element
uinfo pointer to get/store the data
DESCRIPTION The control elemen... |
snd_hda_mixer_amp_switch_put(9) | NAME snd_hda_mixer_amp_switch_put - Put callback for a standard AMP mixer switch
SYNOPSIS int snd_hda_mixer_amp_switch_put (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol );
ARGUMENTS kcontrol ctl element
ucontrol pointer to get/store the data
DESCRIPTION The control element is sup... |
snd_hda_mixer_amp_switch_put_beep(9) | NAME snd_hda_mixer_amp_switch_put_beep - Put callback for beep controls
SYNOPSIS int snd_hda_mixer_amp_switch_put_beep (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol );
ARGUMENTS kcontrol ctl element
ucontrol pointer to get/store the data
SEE ALSO Kernel file ./sound/hda/common/be... |
snd_hda_mixer_amp_tlv(9) | NAME snd_hda_mixer_amp_tlv - TLV callback for a standard AMP mixer volume
SYNOPSIS int snd_hda_mixer_amp_tlv (struct snd_kcontrol *kcontrol , int op_flag , unsigned int size , unsigned int __user *_tlv );
ARGUMENTS kcontrol ctl element
op_flag operation flag
size byte size of input TLV
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.