id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
snd_hda_mixer_amp_volume_get(9) | NAME snd_hda_mixer_amp_volume_get - Get callback for a standard AMP mixer volume
SYNOPSIS int snd_hda_mixer_amp_volume_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_volume_info(9) | NAME snd_hda_mixer_amp_volume_info - Info callback for a standard AMP mixer
SYNOPSIS int snd_hda_mixer_amp_volume_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 element is su... |
snd_hda_mixer_amp_volume_put(9) | NAME snd_hda_mixer_amp_volume_put - Put callback for a standard AMP mixer volume
SYNOPSIS int snd_hda_mixer_amp_volume_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_multi_out_analog_cleanup(9) | NAME snd_hda_multi_out_analog_cleanup - clean up the setting for analog out
SYNOPSIS int snd_hda_multi_out_analog_cleanup (struct hda_codec *codec , struct hda_multi_out *mout );
ARGUMENTS codec the HDA codec
mout hda_multi_out object
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_seque... |
snd_hda_multi_out_analog_open(9) | NAME snd_hda_multi_out_analog_open - open analog outputs
SYNOPSIS int snd_hda_multi_out_analog_open (struct hda_codec *codec , struct hda_multi_out *mout , struct snd_pcm_substream *substream , struct hda_pcm_stream *hinfo );
ARGUMENTS codec the HDA codec
mout hda_multi_out object
substre... |
snd_hda_multi_out_analog_prepare(9) | NAME snd_hda_multi_out_analog_prepare - Preapre the analog outputs.
SYNOPSIS int snd_hda_multi_out_analog_prepare (struct hda_codec *codec , struct hda_multi_out *mout , unsigned int stream_tag , unsigned int format , struct snd_pcm_substream *substream );
ARGUMENTS codec the HDA codec
mout hda_m... |
snd_hda_multi_out_dig_cleanup(9) | NAME snd_hda_multi_out_dig_cleanup - clean-up the digital out stream
SYNOPSIS int snd_hda_multi_out_dig_cleanup (struct hda_codec *codec , struct hda_multi_out *mout );
ARGUMENTS codec the HDA codec
mout hda_multi_out object
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(... |
snd_hda_multi_out_dig_close(9) | NAME snd_hda_multi_out_dig_close - release the digital out stream
SYNOPSIS int snd_hda_multi_out_dig_close (struct hda_codec *codec , struct hda_multi_out *mout );
ARGUMENTS codec the HDA codec
mout hda_multi_out object
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_write(9), s... |
snd_hda_multi_out_dig_open(9) | NAME snd_hda_multi_out_dig_open - open the digital out in the exclusive mode
SYNOPSIS int snd_hda_multi_out_dig_open (struct hda_codec *codec , struct hda_multi_out *mout );
ARGUMENTS codec the HDA codec
mout hda_multi_out object
SEE ALSO Kernel file ./sound/hda/common/codec.c snd_hda_sequence_w... |
snd_hda_multi_out_dig_prepare(9) | NAME snd_hda_multi_out_dig_prepare - prepare the digital out stream
SYNOPSIS int snd_hda_multi_out_dig_prepare (struct hda_codec *codec , struct hda_multi_out *mout , unsigned int stream_tag , unsigned int format , struct snd_pcm_substream *substream );
ARGUMENTS codec the HDA codec
mout hda_mult... |
snd_hda_override_amp_caps(9) | NAME snd_hda_override_amp_caps - Override the AMP capabilities
SYNOPSIS int snd_hda_override_amp_caps (struct hda_codec *codec , hda_nid_t nid , int dir , unsigned int caps );
ARGUMENTS codec the CODEC to clean up
nid the NID to clean up
dir either #HDA_INPUT or #HDA_OUTPUT
... |
snd_hda_override_conn_list(9) | NAME snd_hda_override_conn_list - add/modify the connection-list to cache
SYNOPSIS int snd_hda_override_conn_list (struct hda_codec *codec , hda_nid_t nid , int len , const hda_nid_t *list );
ARGUMENTS codec the HDA codec
nid NID to parse
len number of connection list entries
... |
snd_hda_override_pin_caps(9) | NAME snd_hda_override_pin_caps - Override the pin capabilities
SYNOPSIS int snd_hda_override_pin_caps (struct hda_codec *codec , hda_nid_t nid , unsigned int caps );
ARGUMENTS codec the CODEC
nid the NID to override
caps the capability bits to set
DESCRIPTION Override the cached ... |
snd_hda_pick_fixup(9) | NAME snd_hda_pick_fixup - Pick up a fixup matching with PCI/codec SSID or model string
SYNOPSIS void snd_hda_pick_fixup (struct hda_codec *codec , const struct hda_model_fixup *models , const struct hda_quirk *quirk , const struct hda_fixup *fixlist );
ARGUMENTS codec the HDA codec
models NULL-term... |
snd_hda_pick_pin_fixup(9) | NAME snd_hda_pick_pin_fixup - Pick up a fixup matching with the pin quirk list
SYNOPSIS void snd_hda_pick_pin_fixup (struct hda_codec *codec , const struct snd_hda_pin_quirk *pin_quirk , const struct hda_fixup *fixlist , bool match_all_pins );
ARGUMENTS codec the HDA codec
pin_quirk zero-terminated pi... |
snd_hda_query_pin_caps(9) | NAME snd_hda_query_pin_caps - Query PIN capabilities
SYNOPSIS u32 snd_hda_query_pin_caps (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HD-auio codec
nid the NID to query
DESCRIPTION Query PIN capabilities for the given widget. Returns the obtained capability bits. When cap b... |
snd_hda_sequence_write(9) | NAME snd_hda_sequence_write - sequence writes
SYNOPSIS void snd_hda_sequence_write (struct hda_codec *codec , const struct hda_verb *seq );
ARGUMENTS codec the HDA codec
seq VERB array to send
DESCRIPTION Send the commands sequentially from the given array. The array must be terminated with NI... |
snd_hda_set_dev_select(9) | NAME snd_hda_set_dev_select - set device entry select on the pin
SYNOPSIS int snd_hda_set_dev_select (struct hda_codec *codec , hda_nid_t nid , int dev_id );
ARGUMENTS codec the HDA codec
nid NID of the pin to set device entry select
dev_id device entry id to be set
DESCRIPTION Set... |
snd_hda_set_pin_ctl(9) | NAME snd_hda_set_pin_ctl - Set a pin-control value safely
SYNOPSIS int snd_hda_set_pin_ctl (struct hda_codec *codec , hda_nid_t pin , unsigned int val );
ARGUMENTS codec the codec instance
pin the pin NID to set the control
val the pin-control value (AC_PINCTL_* bits)
DESCRIPTIO... |
snd_hda_set_pin_ctl_cache(9) | NAME snd_hda_set_pin_ctl_cache - Set a pin-control value safely
SYNOPSIS int snd_hda_set_pin_ctl_cache (struct hda_codec *codec , hda_nid_t pin , unsigned int val );
ARGUMENTS codec the codec instance
pin the pin NID to set the control
val the pin-control value (AC_PINCTL_* bits)... |
snd_hda_set_power_save(9) | NAME snd_hda_set_power_save - reprogram autosuspend for the given delay
SYNOPSIS void snd_hda_set_power_save (struct hda_bus *bus , int delay );
ARGUMENTS bus HD-audio bus
delay autosuspend delay in msec, 0 = off
DESCRIPTION Synchronize the runtime PM autosuspend state from the power_save optio... |
snd_hda_set_vmaster_tlv(9) | NAME snd_hda_set_vmaster_tlv - Set TLV for a virtual master control
SYNOPSIS void snd_hda_set_vmaster_tlv (struct hda_codec *codec , hda_nid_t nid , int dir , unsigned int *tlv );
ARGUMENTS codec HD-audio codec
nid NID of a reference widget
dir #HDA_INPUT or #HDA_OUTPUT
t... |
snd_hda_shutup_pins(9) | NAME snd_hda_shutup_pins - Shut up all pins
SYNOPSIS void snd_hda_shutup_pins (struct hda_codec *codec );
ARGUMENTS codec the HDA codec
DESCRIPTION Clear all pin controls to shup up before suspend for avoiding click noise. The controls aren't cached so that they can be resumed properly.
SEE ALSO Kernel file ... |
snd_hda_spdif_ctls_assign(9) | NAME snd_hda_spdif_ctls_assign - Assign the SPDIF controls to the given NID
SYNOPSIS void snd_hda_spdif_ctls_assign (struct hda_codec *codec , int idx , hda_nid_t nid );
ARGUMENTS codec the HDA codec
idx the SPDIF ctl idx
nid widget NID
DESCRIPTION Assign the widget to the SPDIF... |
snd_hda_spdif_ctls_unassign(9) | NAME snd_hda_spdif_ctls_unassign - Unassign the given SPDIF ctl
SYNOPSIS void snd_hda_spdif_ctls_unassign (struct hda_codec *codec , int idx );
ARGUMENTS codec the HDA codec
idx the SPDIF ctl index
DESCRIPTION Unassign the widget from the given SPDIF control.
SEE ALSO Kernel file ./sound/hda/c... |
snd_hda_spdif_out_of_nid(9) | NAME snd_hda_spdif_out_of_nid - get the hda_spdif_out entry from the given NID
SYNOPSIS struct hda_spdif_out * snd_hda_spdif_out_of_nid (struct hda_codec *codec , hda_nid_t nid );
ARGUMENTS codec the HDA codec
nid widget NID
DESCRIPTION call within spdif_mutex lock
SEE ALSO Kernel file ./sound... |
snd_hda_sync_vmaster_hook(9) | NAME snd_hda_sync_vmaster_hook - Sync vmaster hook
SYNOPSIS void snd_hda_sync_vmaster_hook (struct hda_vmaster_mute_hook *hook );
ARGUMENTS hook the vmaster hook
DESCRIPTION Call the hook with the current value for synchronization. Should be called in init callback.
SEE ALSO Kernel file ./sound/hda/common/c... |
snd_hda_unlock_devices(9) | NAME snd_hda_unlock_devices - pseudo device unlocking
SYNOPSIS void snd_hda_unlock_devices (struct hda_bus *bus );
ARGUMENTS bus the BUS
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_override_conn_list(9), snd_hda_get_... |
snd_hdac_acomp_exit(9) | NAME snd_hdac_acomp_exit - Finalize audio component
SYNOPSIS int snd_hdac_acomp_exit (struct hdac_bus *bus );
ARGUMENTS bus HDA core bus
DESCRIPTION This function is supposed to be used only by a HD-audio controller driver that needs the interaction with graphics driver. This function releases the audio... |
snd_hdac_acomp_get_eld(9) | NAME snd_hdac_acomp_get_eld - Get the audio state and ELD via component
SYNOPSIS int snd_hdac_acomp_get_eld (struct hdac_device *codec , hda_nid_t nid , int dev_id , bool *audio_enabled , char *buffer , int max_bytes );
ARGUMENTS codec HDA codec
nid the pin widget NID
dev_id device ... |
snd_hdac_acomp_init(9) | NAME snd_hdac_acomp_init - Initialize audio component
SYNOPSIS int snd_hdac_acomp_init (struct hdac_bus *bus , const struct drm_audio_component_audio_ops *aops , int (*match_master)(struct device *, int, void *) , size_t extra_size );
ARGUMENTS bus HDA core bus
aops audio component ops
... |
snd_hdac_acomp_register_notifier(9) | NAME snd_hdac_acomp_register_notifier - Register audio component ops
SYNOPSIS int snd_hdac_acomp_register_notifier (struct hdac_bus *bus , const struct drm_audio_component_audio_ops *aops );
ARGUMENTS bus HDA core bus
aops audio component ops
DESCRIPTION This function is supposed to be used ... |
snd_hdac_apl_host_stream_setup(9) | NAME snd_hdac_apl_host_stream_setup - Setup a HOST stream following procedure recommended for ApolloLake devices.
SYNOPSIS int snd_hdac_apl_host_stream_setup (struct hdac_stream *hstream , bool code_loading );
ARGUMENTS hstream HDAudio stream to set up.
code_loading
Whether the stream i... |
snd_hdac_bus_add_device(9) | NAME snd_hdac_bus_add_device - Add a codec to bus
SYNOPSIS int snd_hdac_bus_add_device (struct hdac_bus *bus , struct hdac_device *codec );
ARGUMENTS bus HDA core bus
codec HDA core device to add
DESCRIPTION Adds the given codec to the list in the bus. The caddr_tbl array and codec_powered bit... |
snd_hdac_bus_alloc_stream_pages(9) | NAME snd_hdac_bus_alloc_stream_pages - allocate BDL and other buffers
SYNOPSIS int snd_hdac_bus_alloc_stream_pages (struct hdac_bus *bus );
ARGUMENTS bus HD-audio core bus
DESCRIPTION Call this after assigning the all streams. Returns zero for success, or a negative error code.
SEE ALSO Kernel file ./s... |
snd_hdac_bus_enter_link_reset(9) | NAME snd_hdac_bus_enter_link_reset - enter link reset
SYNOPSIS void snd_hdac_bus_enter_link_reset (struct hdac_bus *bus );
ARGUMENTS bus HD-audio core bus
DESCRIPTION Enter to the link reset state.
SEE ALSO Kernel file ./sound/hda/core/controller.c snd_hdac_bus_init_cmd_io(9), snd_hdac_bus_stop_cmd_io... |
snd_hdac_bus_exec_verb(9) | NAME snd_hdac_bus_exec_verb - execute a HD-audio verb on the given bus
SYNOPSIS int snd_hdac_bus_exec_verb (struct hdac_bus *bus , unsigned int addr , unsigned int cmd , unsigned int *res );
ARGUMENTS bus bus object
addr the HDAC device address
cmd HD-audio encoded verb
... |
snd_hdac_bus_exec_verb_unlocked(9) | NAME snd_hdac_bus_exec_verb_unlocked - unlocked version
SYNOPSIS int snd_hdac_bus_exec_verb_unlocked (struct hdac_bus *bus , unsigned int addr , unsigned int cmd , unsigned int *res );
ARGUMENTS bus bus object
addr the HDAC device address
cmd HD-audio encoded verb
res ... |
snd_hdac_bus_exit(9) | NAME snd_hdac_bus_exit - clean up a HD-audio bas bus
SYNOPSIS void snd_hdac_bus_exit (struct hdac_bus *bus );
ARGUMENTS bus the pointer to bus object
SEE ALSO Kernel file ./sound/hda/core/bus.c snd_hdac_bus_init(9), snd_hdac_bus_exec_verb(9), snd_hdac_bus_exec_verb_unlocked(9), snd_hdac_bus_queue_event(9), s... |
snd_hdac_bus_exit_link_reset(9) | NAME snd_hdac_bus_exit_link_reset - exit link reset
SYNOPSIS void snd_hdac_bus_exit_link_reset (struct hdac_bus *bus );
ARGUMENTS bus HD-audio core bus
DESCRIPTION Exit from the link reset state.
SEE ALSO Kernel file ./sound/hda/core/controller.c snd_hdac_bus_init_cmd_io(9), snd_hdac_bus_stop_cmd_io(9... |
snd_hdac_bus_free_stream_pages(9) | NAME snd_hdac_bus_free_stream_pages - release BDL and other buffers
SYNOPSIS void snd_hdac_bus_free_stream_pages (struct hdac_bus *bus );
ARGUMENTS bus HD-audio core bus
SEE ALSO Kernel file ./sound/hda/core/controller.c snd_hdac_bus_init_cmd_io(9), snd_hdac_bus_stop_cmd_io(9), snd_hdac_bus_send_cmd_p... |
snd_hdac_bus_get_response(9) | NAME snd_hdac_bus_get_response - receive a response via RIRB or PIO
SYNOPSIS int snd_hdac_bus_get_response (struct hdac_bus *bus , unsigned int addr , unsigned int *res );
ARGUMENTS bus HD-audio core bus
addr codec address
res pointer to store the value, NULL when not needed
DE... |
snd_hdac_bus_get_response_pio(9) | NAME snd_hdac_bus_get_response_pio - receive a response via Immediate Response
SYNOPSIS int snd_hdac_bus_get_response_pio (struct hdac_bus *bus , unsigned int addr , unsigned int *res );
ARGUMENTS bus HD-audio core bus
addr codec address
res pointer to store the value, NULL when... |
snd_hdac_bus_get_response_rirb(9) | NAME snd_hdac_bus_get_response_rirb - receive a response via RIRB
SYNOPSIS int snd_hdac_bus_get_response_rirb (struct hdac_bus *bus , unsigned int addr , unsigned int *res );
ARGUMENTS bus HD-audio core bus
addr codec address
res pointer to store the value, NULL when not needed
... |
snd_hdac_bus_handle_stream_irq(9) | NAME snd_hdac_bus_handle_stream_irq - interrupt handler for streams
SYNOPSIS int snd_hdac_bus_handle_stream_irq (struct hdac_bus *bus , unsigned int status , void (*ack)(struct hdac_bus *, struct hdac_stream *) );
ARGUMENTS bus HD-audio core bus
status INTSTS register value
ack ca... |
snd_hdac_bus_init(9) | NAME snd_hdac_bus_init - initialize a HD-audio bas bus
SYNOPSIS int snd_hdac_bus_init (struct hdac_bus *bus , struct device *dev , const struct hdac_bus_ops *ops );
ARGUMENTS bus the pointer to bus object
dev device pointer
ops bus verb operators
DESCRIPTION Returns 0 if succe... |
snd_hdac_bus_init_chip(9) | NAME snd_hdac_bus_init_chip - reset and start the controller registers
SYNOPSIS bool snd_hdac_bus_init_chip (struct hdac_bus *bus , bool full_reset );
ARGUMENTS bus HD-audio core bus
full_reset Do full reset
SEE ALSO Kernel file ./sound/hda/core/controller.c snd_hdac_bus_init_cmd_io(9), snd_hd... |
snd_hdac_bus_init_cmd_io(9) | NAME snd_hdac_bus_init_cmd_io - set up CORB/RIRB buffers
SYNOPSIS void snd_hdac_bus_init_cmd_io (struct hdac_bus *bus );
ARGUMENTS bus HD-audio core bus
SEE ALSO Kernel file ./sound/hda/core/controller.c snd_hdac_bus_stop_cmd_io(9), snd_hdac_bus_send_cmd_pio(9), snd_hdac_bus_get_response_pio(9), snd_hd... |
snd_hdac_bus_link_power(9) | NAME snd_hdac_bus_link_power - power up/down codec link
SYNOPSIS void snd_hdac_bus_link_power (struct hdac_device *codec , bool enable );
ARGUMENTS codec HD-audio device
enable whether to power-up the link
SEE ALSO Kernel file ./sound/hda/core/controller.c snd_hdac_bus_init_cmd_io(9), snd_hd... |
snd_hdac_bus_parse_capabilities(9) | NAME snd_hdac_bus_parse_capabilities - parse capability structure
SYNOPSIS int snd_hdac_bus_parse_capabilities (struct hdac_bus *bus );
ARGUMENTS bus the pointer to bus object
DESCRIPTION Returns 0 if successful, or a negative error code.
SEE ALSO Kernel file ./sound/hda/core/controller.c snd_hdac_bus_... |
snd_hdac_bus_queue_event(9) | NAME snd_hdac_bus_queue_event - add an unsolicited event to queue
SYNOPSIS void snd_hdac_bus_queue_event (struct hdac_bus *bus , u32 res , u32 res_ex );
ARGUMENTS bus the BUS
res unsolicited event (lower 32bit of RIRB entry)
res_ex codec addr and flags (upper 32bit or RIRB entry)
... |
snd_hdac_bus_remove_device(9) | NAME snd_hdac_bus_remove_device - Remove a codec from bus
SYNOPSIS void snd_hdac_bus_remove_device (struct hdac_bus *bus , struct hdac_device *codec );
ARGUMENTS bus HDA core bus
codec HDA core device to remove
SEE ALSO Kernel file ./sound/hda/core/bus.c snd_hdac_bus_init(9), snd_hdac_bus_exit(... |
snd_hdac_bus_send_cmd(9) | NAME snd_hdac_bus_send_cmd - send a command verb via CORB or PIO
SYNOPSIS int snd_hdac_bus_send_cmd (struct hdac_bus *bus , unsigned int val );
ARGUMENTS bus HD-audio core bus
val encoded verb value to send
DESCRIPTION Returns zero for success or a negative error code.
SEE ALSO Kernel file... |
snd_hdac_bus_send_cmd_corb(9) | NAME snd_hdac_bus_send_cmd_corb - send a command verb via CORB
SYNOPSIS int snd_hdac_bus_send_cmd_corb (struct hdac_bus *bus , unsigned int val );
ARGUMENTS bus HD-audio core bus
val encoded verb value to send
DESCRIPTION Returns zero for success or a negative error code.
SEE ALSO Kernel fi... |
snd_hdac_bus_send_cmd_pio(9) | NAME snd_hdac_bus_send_cmd_pio - send a command verb via Immediate Command
SYNOPSIS int snd_hdac_bus_send_cmd_pio (struct hdac_bus *bus , unsigned int val );
ARGUMENTS bus HD-audio core bus
val encoded verb value to send
DESCRIPTION Returns zero for success or a negative error code.
SEE ALSO... |
snd_hdac_bus_stop_chip(9) | NAME snd_hdac_bus_stop_chip - disable the whole IRQ and I/Os
SYNOPSIS void snd_hdac_bus_stop_chip (struct hdac_bus *bus );
ARGUMENTS bus HD-audio core bus
SEE ALSO Kernel file ./sound/hda/core/controller.c snd_hdac_bus_init_cmd_io(9), snd_hdac_bus_stop_cmd_io(9), snd_hdac_bus_send_cmd_pio(9), snd_hda... |
snd_hdac_bus_stop_cmd_io(9) | NAME snd_hdac_bus_stop_cmd_io - clean up CORB/RIRB buffers
SYNOPSIS void snd_hdac_bus_stop_cmd_io (struct hdac_bus *bus );
ARGUMENTS bus HD-audio core bus
SEE ALSO Kernel file ./sound/hda/core/controller.c snd_hdac_bus_init_cmd_io(9), snd_hdac_bus_send_cmd_pio(9), snd_hdac_bus_get_response_pio(9), snd_... |
snd_hdac_bus_update_rirb(9) | NAME snd_hdac_bus_update_rirb - retrieve RIRB entries
SYNOPSIS void snd_hdac_bus_update_rirb (struct hdac_bus *bus );
ARGUMENTS bus HD-audio core bus
DESCRIPTION Usually called from interrupt handler. The caller needs bus->reg_lock spinlock before calling this.
SEE ALSO Kernel file ./sound/hda/core/contr... |
snd_hdac_check_power_state(9) | NAME snd_hdac_check_power_state - check whether the actual power state matches with the target state
SYNOPSIS bool snd_hdac_check_power_state (struct hdac_device *hdac , hda_nid_t nid , unsigned int target_state );
ARGUMENTS hdac the HDAC device
nid NID to send the command
target_state
... |
snd_hdac_codec_modalias(9) | NAME snd_hdac_codec_modalias - give the module alias name
SYNOPSIS int snd_hdac_codec_modalias (const struct hdac_device *codec , char *buf , size_t size );
ARGUMENTS codec HDAC device
buf string buffer to store
size string buffer size
DESCRIPTION Returns the size of string, like... |
snd_hdac_codec_read(9) | NAME snd_hdac_codec_read - send a command and get the response
SYNOPSIS int snd_hdac_codec_read (struct hdac_device *hdac , hda_nid_t nid , int flags , unsigned int verb , unsigned int parm );
ARGUMENTS hdac the HDAC device
nid NID to send the command
flags optional bit flags
... |
snd_hdac_codec_write(9) | NAME snd_hdac_codec_write - send a single command without waiting for response
SYNOPSIS int snd_hdac_codec_write (struct hdac_device *hdac , hda_nid_t nid , int flags , unsigned int verb , unsigned int parm );
ARGUMENTS hdac the HDAC device
nid NID to send the command
flags option... |
snd_hdac_device_exit(9) | NAME snd_hdac_device_exit - clean up the HD-audio codec base device
SYNOPSIS void snd_hdac_device_exit (struct hdac_device *codec );
ARGUMENTS codec device to clean up
SEE ALSO Kernel file ./sound/hda/core/device.c snd_hdac_device_init(9), snd_hdac_device_register(9), snd_hdac_device_unregister(9), ... |
snd_hdac_device_init(9) | NAME snd_hdac_device_init - initialize the HD-audio codec base device
SYNOPSIS int snd_hdac_device_init (struct hdac_device *codec , struct hdac_bus *bus , const char *name , unsigned int addr );
ARGUMENTS codec device to initialize
bus but to attach
name device name string
... |
snd_hdac_device_register(9) | NAME snd_hdac_device_register - register the hd-audio codec base device
SYNOPSIS int snd_hdac_device_register (struct hdac_device *codec );
ARGUMENTS codec the device to register
SEE ALSO Kernel file ./sound/hda/core/device.c snd_hdac_device_init(9), snd_hdac_device_exit(9), snd_hdac_device_unregi... |
snd_hdac_device_set_chip_name(9) | NAME snd_hdac_device_set_chip_name - set/update the codec name
SYNOPSIS int snd_hdac_device_set_chip_name (struct hdac_device *codec , const char *name );
ARGUMENTS codec the HDAC device
name name string to set
DESCRIPTION Returns 0 if the name is set or updated, or a negative error code.
SEE A... |
snd_hdac_device_unregister(9) | NAME snd_hdac_device_unregister - unregister the hd-audio codec base device
SYNOPSIS void snd_hdac_device_unregister (struct hdac_device *codec );
ARGUMENTS codec the device to unregister
SEE ALSO Kernel file ./sound/hda/core/device.c snd_hdac_device_init(9), snd_hdac_device_exit(9), snd_hdac_de... |
snd_hdac_display_power(9) | NAME snd_hdac_display_power - Power up / down the power refcount
SYNOPSIS void snd_hdac_display_power (struct hdac_bus *bus , unsigned int idx , bool enable );
ARGUMENTS bus HDA core bus
idx HDA codec address, pass HDA_CODEC_IDX_CONTROLLER for controller
enable power up or down
D... |
snd_hdac_dsp_cleanup(9) | NAME snd_hdac_dsp_cleanup - clean up the stream from DSP loading to normal
SYNOPSIS void snd_hdac_dsp_cleanup (struct hdac_stream *azx_dev , struct snd_dma_buffer *dmab );
ARGUMENTS azx_dev HD-audio core stream used for DSP loading
dmab buffer used by DSP loading
SEE ALSO Kernel file ./sound... |
snd_hdac_dsp_prepare(9) | NAME snd_hdac_dsp_prepare - prepare for DSP loading
SYNOPSIS int snd_hdac_dsp_prepare (struct hdac_stream *azx_dev , unsigned int format , unsigned int byte_size , struct snd_dma_buffer *bufp );
ARGUMENTS azx_dev HD-audio core stream used for DSP loading
format HD-audio stream format
byte_siz... |
snd_hdac_dsp_trigger(9) | NAME snd_hdac_dsp_trigger - start / stop DSP loading
SYNOPSIS void snd_hdac_dsp_trigger (struct hdac_stream *azx_dev , bool start );
ARGUMENTS azx_dev HD-audio core stream used for DSP loading
start trigger start or stop
SEE ALSO Kernel file ./sound/hda/core/stream.c snd_hdac_get_stream_st... |
snd_hdac_exec_verb(9) | NAME snd_hdac_exec_verb - execute an encoded verb
SYNOPSIS int snd_hdac_exec_verb (struct hdac_device *codec , unsigned int cmd , unsigned int flags , unsigned int *res );
ARGUMENTS codec the codec object
cmd encoded verb to execute
flags optional flags, pass zero for default
... |
snd_hdac_ext_bus_device_remove(9) | NAME snd_hdac_ext_bus_device_remove - remove HD-audio extended codec base devices
SYNOPSIS void snd_hdac_ext_bus_device_remove (struct hdac_bus *bus );
ARGUMENTS bus the pointer to HDAC bus object
SEE ALSO Kernel file ./sound/hda/core/ext/bus.c snd_hdac_ext_bus_init(9), snd_hdac_ext_bus_exit(9), snd_hda_ext_... |
snd_hdac_ext_bus_exit(9) | NAME snd_hdac_ext_bus_exit - clean up a HD-audio extended bus
SYNOPSIS void snd_hdac_ext_bus_exit (struct hdac_bus *bus );
ARGUMENTS bus the pointer to HDAC bus object
SEE ALSO Kernel file ./sound/hda/core/ext/bus.c snd_hdac_ext_bus_init(9), snd_hdac_ext_bus_device_remove(9), snd_hda_ext_driver_register(9), ... |
snd_hdac_ext_bus_get_hlink_by_addr(9) | NAME snd_hdac_ext_bus_get_hlink_by_addr - get hlink at specified address
SYNOPSIS struct hdac_ext_link * snd_hdac_ext_bus_get_hlink_by_addr (struct hdac_bus *bus , int addr );
ARGUMENTS bus hlink's parent bus device
addr codec device address
DESCRIPTION Returns hlink object or NULL if matching... |
snd_hdac_ext_bus_get_hlink_by_name(9) | NAME snd_hdac_ext_bus_get_hlink_by_name - get hlink based on codec name
SYNOPSIS struct hdac_ext_link * snd_hdac_ext_bus_get_hlink_by_name (struct hdac_bus *bus , const char *codec_name );
ARGUMENTS bus the pointer to HDAC bus object
codec_name codec name
SEE ALSO Kernel file ./sound/hda... |
snd_hdac_ext_bus_get_ml_capabilities(9) | NAME snd_hdac_ext_bus_get_ml_capabilities - get multilink capability
SYNOPSIS int snd_hdac_ext_bus_get_ml_capabilities (struct hdac_bus *bus );
ARGUMENTS bus the pointer to HDAC bus object
DESCRIPTION This will parse all links and read the mlink capabilities and add them in hlink_list of extended hdac bus
N... |
snd_hdac_ext_bus_init(9) | NAME snd_hdac_ext_bus_init - initialize a HD-audio extended bus
SYNOPSIS int snd_hdac_ext_bus_init (struct hdac_bus *bus , struct device *dev , const struct hdac_bus_ops *ops , const struct hdac_ext_bus_ops *ext_ops );
ARGUMENTS bus the pointer to HDAC bus object
dev device pointer
ops... |
snd_hdac_ext_bus_link_clear_stream_id(9) | NAME snd_hdac_ext_bus_link_clear_stream_id - maps stream id to link output
SYNOPSIS void snd_hdac_ext_bus_link_clear_stream_id (struct hdac_ext_link *link , int stream );
ARGUMENTS link HD-audio ext link to set up
stream stream id
SEE ALSO Kernel file ./sound/hda/core/ext/controller.c snd_hda... |
snd_hdac_ext_bus_link_power_down(9) | NAME snd_hdac_ext_bus_link_power_down - power down hda link
SYNOPSIS int snd_hdac_ext_bus_link_power_down (struct hdac_ext_link *hlink );
ARGUMENTS hlink HD-audio extended link
SEE ALSO Kernel file ./sound/hda/core/ext/controller.c snd_hdac_ext_bus_ppcap_enable(9), snd_hdac_ext_bus_ppcap_... |
snd_hdac_ext_bus_link_power_down_all(9) | NAME snd_hdac_ext_bus_link_power_down_all - power down all hda link
SYNOPSIS int snd_hdac_ext_bus_link_power_down_all (struct hdac_bus *bus );
ARGUMENTS bus the pointer to HDAC bus object
SEE ALSO Kernel file ./sound/hda/core/ext/controller.c snd_hdac_ext_bus_ppcap_enable(9), snd_hdac_e... |
snd_hdac_ext_bus_link_power_up(9) | NAME snd_hdac_ext_bus_link_power_up - power up hda link
SYNOPSIS int snd_hdac_ext_bus_link_power_up (struct hdac_ext_link *hlink );
ARGUMENTS hlink HD-audio extended link
SEE ALSO Kernel file ./sound/hda/core/ext/controller.c snd_hdac_ext_bus_ppcap_enable(9), snd_hdac_ext_bus_ppcap_int_en... |
snd_hdac_ext_bus_link_power_up_all(9) | NAME snd_hdac_ext_bus_link_power_up_all - power up all hda link
SYNOPSIS int snd_hdac_ext_bus_link_power_up_all (struct hdac_bus *bus );
ARGUMENTS bus the pointer to HDAC bus object
SEE ALSO Kernel file ./sound/hda/core/ext/controller.c snd_hdac_ext_bus_ppcap_enable(9), snd_hdac_ext_bus... |
snd_hdac_ext_bus_link_set_stream_id(9) | NAME snd_hdac_ext_bus_link_set_stream_id - maps stream id to link output
SYNOPSIS void snd_hdac_ext_bus_link_set_stream_id (struct hdac_ext_link *link , int stream );
ARGUMENTS link HD-audio ext link to set up
stream stream id
SEE ALSO Kernel file ./sound/hda/core/ext/controller.c ... |
snd_hdac_ext_bus_ppcap_enable(9) | NAME snd_hdac_ext_bus_ppcap_enable - enable/disable processing pipe capability
SYNOPSIS void snd_hdac_ext_bus_ppcap_enable (struct hdac_bus *bus , bool enable );
ARGUMENTS bus the pointer to HDAC bus object
enable flag to turn on/off the capability
SEE ALSO Kernel file ./sound/hda/core... |
snd_hdac_ext_bus_ppcap_int_enable(9) | NAME snd_hdac_ext_bus_ppcap_int_enable - ppcap interrupt enable/disable
SYNOPSIS void snd_hdac_ext_bus_ppcap_int_enable (struct hdac_bus *bus , bool enable );
ARGUMENTS bus the pointer to HDAC bus object
enable flag to enable/disable interrupt
SEE ALSO Kernel file ./sound/hda/core/ext... |
snd_hdac_ext_cstream_assign(9) | NAME snd_hdac_ext_cstream_assign - assign a host stream for compress
SYNOPSIS struct hdac_ext_stream * snd_hdac_ext_cstream_assign (struct hdac_bus *bus , struct snd_compr_stream *cstream );
ARGUMENTS bus HD-audio core bus
cstream Compress stream to assign
DESCRIPTION Assign an unused host stream... |
snd_hdac_ext_host_stream_setup(9) | NAME snd_hdac_ext_host_stream_setup - Setup a HOST stream.
SYNOPSIS int snd_hdac_ext_host_stream_setup (struct hdac_ext_stream *hext_stream , bool code_loading );
ARGUMENTS hext_stream HDAudio stream to set up.
code_loading
Whether the stream is for PCM or code-loading.
RETURN Zero on succ... |
snd_hdac_ext_link_free_all(9) | NAME snd_hdac_ext_link_free_all - free hdac extended link objects
SYNOPSIS void snd_hdac_ext_link_free_all (struct hdac_bus *bus );
ARGUMENTS bus the pointer to HDAC bus object
SEE ALSO Kernel file ./sound/hda/core/ext/controller.c snd_hdac_ext_bus_ppcap_enable(9), snd_hdac_ext_bus_ppcap_int_... |
snd_hdac_ext_stream_assign(9) | NAME snd_hdac_ext_stream_assign - assign a stream for the PCM
SYNOPSIS struct hdac_ext_stream * snd_hdac_ext_stream_assign (struct hdac_bus *bus , struct snd_pcm_substream *substream , int type );
ARGUMENTS bus HD-audio core bus
substream PCM substream to assign
type type of stream (c... |
snd_hdac_ext_stream_clear(9) | NAME snd_hdac_ext_stream_clear - stop a stream DMA
SYNOPSIS void snd_hdac_ext_stream_clear (struct hdac_ext_stream *hext_stream );
ARGUMENTS hext_stream HD-audio ext core stream to stop
SEE ALSO Kernel file ./sound/hda/core/ext/stream.c snd_hdac_ext_host_stream_setup(9), snd_hdac_apl_host_stream_setup(9), ... |
snd_hdac_ext_stream_decouple(9) | NAME snd_hdac_ext_stream_decouple - decouple the hdac stream
SYNOPSIS void snd_hdac_ext_stream_decouple (struct hdac_bus *bus , struct hdac_ext_stream *hext_stream , bool decouple );
ARGUMENTS bus HD-audio core bus
hext_stream HD-audio ext core stream object to initialize
decouple flag to d... |
snd_hdac_ext_stream_free_all(9) | NAME snd_hdac_ext_stream_free_all - free hdac extended stream objects
SYNOPSIS void snd_hdac_ext_stream_free_all (struct hdac_bus *bus );
ARGUMENTS bus HD-audio core bus
SEE ALSO Kernel file ./sound/hda/core/ext/stream.c snd_hdac_ext_host_stream_setup(9), snd_hdac_apl_host_stream_setup(9), snd_hda... |
snd_hdac_ext_stream_init(9) | NAME snd_hdac_ext_stream_init - initialize each stream (aka device)
SYNOPSIS void snd_hdac_ext_stream_init (struct hdac_bus *bus , struct hdac_ext_stream *hext_stream , int idx , int direction , int tag );
ARGUMENTS bus HD-audio core bus
hext_stream HD-audio ext core stream object to initialize
... |
snd_hdac_ext_stream_init_all(9) | NAME snd_hdac_ext_stream_init_all - create and initialize the stream objects for an extended hda bus
SYNOPSIS int snd_hdac_ext_stream_init_all (struct hdac_bus *bus , int start_idx , int num_stream , int dir );
ARGUMENTS bus HD-audio core bus
start_idx start index for streams
num_stream num... |
snd_hdac_ext_stream_release(9) | NAME snd_hdac_ext_stream_release - release the assigned stream
SYNOPSIS void snd_hdac_ext_stream_release (struct hdac_ext_stream *hext_stream , int type );
ARGUMENTS hext_stream HD-audio ext core stream to release
type type of stream (coupled, host or link stream)
DESCRIPTION Release the stream that h... |
snd_hdac_ext_stream_reset(9) | NAME snd_hdac_ext_stream_reset - reset a stream
SYNOPSIS void snd_hdac_ext_stream_reset (struct hdac_ext_stream *hext_stream );
ARGUMENTS hext_stream HD-audio ext core stream to reset
SEE ALSO Kernel file ./sound/hda/core/ext/stream.c snd_hdac_ext_host_stream_setup(9), snd_hdac_apl_host_stream_setup(9), s... |
snd_hdac_ext_stream_setup(9) | NAME snd_hdac_ext_stream_setup - set up the SD for streaming
SYNOPSIS int snd_hdac_ext_stream_setup (struct hdac_ext_stream *hext_stream , int fmt );
ARGUMENTS hext_stream HD-audio ext core stream to set up
fmt stream format
SEE ALSO Kernel file ./sound/hda/core/ext/stream.c snd_hdac_ext_host_... |
snd_hdac_ext_stream_start(9) | NAME snd_hdac_ext_stream_start - start a stream
SYNOPSIS void snd_hdac_ext_stream_start (struct hdac_ext_stream *hext_stream );
ARGUMENTS hext_stream HD-audio ext core stream to start
SEE ALSO Kernel file ./sound/hda/core/ext/stream.c snd_hdac_ext_host_stream_setup(9), snd_hdac_apl_host_stream_setup(9), s... |
snd_hdac_get_connections(9) | NAME snd_hdac_get_connections - get a widget connection list
SYNOPSIS int snd_hdac_get_connections (struct hdac_device *codec , hda_nid_t nid , hda_nid_t *conn_list , int max_conns );
ARGUMENTS codec the codec object
nid NID
conn_list the array to store the results, can be NULL
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.