id
stringlengths
4
63
text
stringlengths
153
8.81M
snd_soc_get_volsw(9)
NAME snd_soc_get_volsw - single mixer get callback with range SYNOPSIS int snd_soc_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, within a range, of a single m...
snd_soc_get_volsw_sx(9)
NAME snd_soc_get_volsw_sx - single mixer get callback SYNOPSIS int snd_soc_get_volsw_sx (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 single mixer control, or a dou...
snd_soc_get_xr_sx(9)
NAME snd_soc_get_xr_sx - signed multi register get callback SYNOPSIS int snd_soc_get_xr_sx (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mreg control ucontrol control element information DESCRIPTION Callback to get the value of a control that can span mul...
snd_soc_info_enum_double(9)
NAME snd_soc_info_enum_double - enumerated double mixer info callback SYNOPSIS int snd_soc_info_enum_double (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 doubl...
snd_soc_info_volsw(9)
NAME snd_soc_info_volsw - single mixer info callback with range. SYNOPSIS int snd_soc_info_volsw (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_info *uinfo ); ARGUMENTS kcontrol mixer control uinfo control element information DESCRIPTION Callback to provide information, with a range, about a s...
snd_soc_info_volsw_sx(9)
NAME snd_soc_info_volsw_sx - Mixer info callback for SX TLV controls SYNOPSIS int snd_soc_info_volsw_sx (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 single...
snd_soc_info_xr_sx(9)
NAME snd_soc_info_xr_sx - signed multi register info callback SYNOPSIS int snd_soc_info_xr_sx (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_info *uinfo ); ARGUMENTS kcontrol mreg control uinfo control element information DESCRIPTION Callback to provide information of a control that can span m...
snd_soc_jack_add_gpiods(9)
NAME snd_soc_jack_add_gpiods - Associate GPIO descriptor pins with an ASoC jack SYNOPSIS int snd_soc_jack_add_gpiods (struct device *gpiod_dev , struct snd_soc_jack *jack , int count , struct snd_soc_jack_gpio *gpios ); ARGUMENTS gpiod_dev GPIO consumer device jack ASoC jack count numbe...
snd_soc_jack_add_gpios(9)
NAME snd_soc_jack_add_gpios - Associate GPIO pins with an ASoC jack SYNOPSIS int snd_soc_jack_add_gpios (struct snd_soc_jack *jack , int count , struct snd_soc_jack_gpio *gpios ); ARGUMENTS jack ASoC jack count number of pins gpios array of gpio pins DESCRIPTION This function will ...
snd_soc_jack_add_pins(9)
NAME snd_soc_jack_add_pins - Associate DAPM pins with an ASoC jack SYNOPSIS int snd_soc_jack_add_pins (struct snd_soc_jack *jack , int count , struct snd_soc_jack_pin *pins ); ARGUMENTS jack ASoC jack created with snd_soc_card_jack_new_pins count Number of pins pins Array of pins ...
snd_soc_jack_add_zones(9)
NAME snd_soc_jack_add_zones - Associate voltage zones with jack SYNOPSIS int snd_soc_jack_add_zones (struct snd_soc_jack *jack , int count , struct snd_soc_jack_zone *zones ); ARGUMENTS jack ASoC jack count Number of zones zones Array of zones DESCRIPTION After this function has be...
snd_soc_jack_free_gpios(9)
NAME snd_soc_jack_free_gpios - Release GPIO pins' resources of an ASoC jack SYNOPSIS void snd_soc_jack_free_gpios (struct snd_soc_jack *jack , int count , struct snd_soc_jack_gpio *gpios ); ARGUMENTS jack ASoC jack count number of pins gpios array of gpio pins DESCRIPTION Release g...
snd_soc_jack_get_type(9)
NAME snd_soc_jack_get_type - Based on the mic bias value, this function returns the type of jack from the zones declared in the jack type SYNOPSIS int snd_soc_jack_get_type (struct snd_soc_jack *jack , int micbias_voltage ); ARGUMENTS jack ASoC jack micbias_voltage mic bias voltage a...
snd_soc_jack_notifier_register(9)
NAME snd_soc_jack_notifier_register - Register a notifier for jack status SYNOPSIS void snd_soc_jack_notifier_register (struct snd_soc_jack *jack , struct notifier_block *nb ); ARGUMENTS jack ASoC jack nb Notifier block to register DESCRIPTION Register for notification of the current sta...
snd_soc_jack_notifier_unregister(9)
NAME snd_soc_jack_notifier_unregister - Unregister a notifier for jack status SYNOPSIS void snd_soc_jack_notifier_unregister (struct snd_soc_jack *jack , struct notifier_block *nb ); ARGUMENTS jack ASoC jack nb Notifier block to unregister DESCRIPTION Stop notifying for status changes. SEE A...
snd_soc_jack_report(9)
NAME snd_soc_jack_report - Report the current status for a jack SYNOPSIS void snd_soc_jack_report (struct snd_soc_jack *jack , int status , int mask ); ARGUMENTS jack the jack status a bitmask of enum snd_jack_type values that are currently detected. mask a bitmask of enum snd_jack_...
snd_soc_limit_volume(9)
NAME snd_soc_limit_volume - Set new limit to an existing volume control. SYNOPSIS int snd_soc_limit_volume (struct snd_soc_card *card , const char *name , int max ); ARGUMENTS card where to look for the control name Name of the control max new maximum limit DESCRIPTION Return 0 ...
snd_soc_new_ac97_component(9)
NAME snd_soc_new_ac97_component - initailise AC97 device SYNOPSIS struct snd_ac97 * snd_soc_new_ac97_component (struct snd_soc_component *component , unsigned int id , unsigned int id_mask ); ARGUMENTS component audio component id The expected device ID id_mask Mask that is applied to t...
snd_soc_new_compress(9)
NAME snd_soc_new_compress - create a new compress. SYNOPSIS int snd_soc_new_compress (struct snd_soc_pcm_runtime *rtd ); ARGUMENTS rtd The runtime for which we will create compress RETURN 0 for success, else error. SEE ALSO Kernel file ./sound/soc/soc-compress.c April 2026 ...
snd_soc_put_enum_double(9)
NAME snd_soc_put_enum_double - enumerated double mixer put callback SYNOPSIS int snd_soc_put_enum_double (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol control element information DESCRIPTION Callback to set the value of a double enumer...
snd_soc_put_strobe(9)
NAME snd_soc_put_strobe - strobe put callback SYNOPSIS int snd_soc_put_strobe (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol control element information DESCRIPTION Callback strobe a register bit to high then low (or the inverse) in one...
snd_soc_put_volsw(9)
NAME snd_soc_put_volsw - single mixer put callback with range SYNOPSIS int snd_soc_put_volsw (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol control element information DESCRIPTION Callback to set the value , within a range, of a single ...
snd_soc_put_volsw_sx(9)
NAME snd_soc_put_volsw_sx - double mixer set callback SYNOPSIS int snd_soc_put_volsw_sx (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol control element information DESCRIPTION Callback to set the value of a double mixer control that span...
snd_soc_put_xr_sx(9)
NAME snd_soc_put_xr_sx - signed multi register get callback SYNOPSIS int snd_soc_put_xr_sx (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mreg control ucontrol control element information DESCRIPTION Callback to set the value of a control that can span mul...
snd_soc_register_card(9)
NAME snd_soc_register_card - Register a card with the ASoC core SYNOPSIS int snd_soc_register_card (struct snd_soc_card *card ); ARGUMENTS card Card to register SEE ALSO Kernel file ./sound/soc/soc-core.c snd_soc_find_dai(9), snd_soc_remove_pcm_runtime(9), snd_soc_add_pcm_runtime(9), snd_soc_runtime_set...
snd_soc_register_dai(9)
NAME snd_soc_register_dai - Register a DAI dynamically & create its widgets SYNOPSIS struct snd_soc_dai * snd_soc_register_dai (struct snd_soc_component *component , struct snd_soc_dai_driver *dai_drv , bool legacy_dai_naming ); ARGUMENTS component The component the DAIs are registered for dai_drv DAI d...
snd_soc_register_dais(9)
NAME snd_soc_register_dais - Register a DAI with the ASoC core SYNOPSIS int snd_soc_register_dais (struct snd_soc_component *component , struct snd_soc_dai_driver *dai_drv , size_t count ); ARGUMENTS component The component the DAIs are registered for dai_drv DAI driver to use for the DAIs count...
snd_soc_remove_pcm_runtime(9)
NAME snd_soc_remove_pcm_runtime - Remove a pcm_runtime from card SYNOPSIS void snd_soc_remove_pcm_runtime (struct snd_soc_card *card , struct snd_soc_pcm_runtime *rtd ); ARGUMENTS card The ASoC card to which the pcm_runtime has rtd The pcm_runtime to remove DESCRIPTION This function removes a ...
snd_soc_runtime_action(9)
NAME snd_soc_runtime_action - Increment/Decrement active count for PCM runtime components SYNOPSIS void snd_soc_runtime_action (struct snd_soc_pcm_runtime *rtd , int stream , int action ); ARGUMENTS rtd ASoC PCM runtime that is activated stream Direction of the PCM stream action Acti...
snd_soc_runtime_calc_hw(9)
NAME snd_soc_runtime_calc_hw - Calculate hw limits for a PCM stream SYNOPSIS int snd_soc_runtime_calc_hw (struct snd_soc_pcm_runtime *rtd , struct snd_pcm_hardware *hw , int stream ); ARGUMENTS rtd ASoC PCM runtime hw PCM hardware parameters (output) stream Direction of the PCM s...
snd_soc_runtime_ignore_pmdown_time(9)
NAME snd_soc_runtime_ignore_pmdown_time - Check whether to ignore the power down delay SYNOPSIS bool snd_soc_runtime_ignore_pmdown_time (struct snd_soc_pcm_runtime *rtd ); ARGUMENTS rtd The ASoC PCM runtime that should be checked. DESCRIPTION This function checks whether the power down delay should be igno...
snd_soc_runtime_set_dai_fmt(9)
NAME snd_soc_runtime_set_dai_fmt - Change DAI link format for a ASoC runtime SYNOPSIS int snd_soc_runtime_set_dai_fmt (struct snd_soc_pcm_runtime *rtd , unsigned int dai_fmt ); ARGUMENTS rtd The runtime for which the DAI link format should be changed dai_fmt The new DAI link format DESCRIPTION Th...
snd_soc_set_ac97_ops_of_reset(9)
NAME snd_soc_set_ac97_ops_of_reset - Set ac97 ops with generic ac97 reset functions SYNOPSIS int snd_soc_set_ac97_ops_of_reset (struct snd_ac97_bus_ops *ops , struct platform_device *pdev ); ARGUMENTS ops bus ops pdev platform device DESCRIPTION This function sets the reset and warm_reset prop...
snd_soc_set_dmi_name(9)
NAME snd_soc_set_dmi_name - Register DMI names to card SYNOPSIS int snd_soc_set_dmi_name (struct snd_soc_card *card ); ARGUMENTS card The card to register DMI names DESCRIPTION An Intel machine driver may be used by many different devices but are difficult for userspace to differentiate, since machine drive...
snd_soc_tdm_params_to_bclk(9)
NAME snd_soc_tdm_params_to_bclk - calculate bclk from params and tdm slot info. SYNOPSIS int snd_soc_tdm_params_to_bclk (const struct snd_pcm_hw_params *params , int tdm_width , int tdm_slots , int slot_multiple ); ARGUMENTS params Pointer to struct_pcm_hw_params. tdm_width Width in bits of the tdm slo...
snd_soc_unregister_card(9)
NAME snd_soc_unregister_card - Unregister a card with the ASoC core SYNOPSIS void snd_soc_unregister_card (struct snd_soc_card *card ); ARGUMENTS card Card to unregister SEE ALSO Kernel file ./sound/soc/soc-core.c snd_soc_find_dai(9), snd_soc_remove_pcm_runtime(9), snd_soc_add_pcm_runtime(9), snd_soc_ru...
snd_soc_unregister_component_by_driver(9)
NAME snd_soc_unregister_component_by_driver - Unregister component using a given driver from the ASoC core SYNOPSIS void snd_soc_unregister_component_by_driver (struct device *dev , const struct snd_soc_component_driver *component_driver ); ARGUMENTS dev The device to unregister component_driver ...
snd_soc_unregister_dais(9)
NAME snd_soc_unregister_dais - Unregister DAIs from the ASoC core SYNOPSIS void snd_soc_unregister_dais (struct snd_soc_component *component ); ARGUMENTS component The component for which the DAIs should be unregistered SEE ALSO Kernel file ./sound/soc/soc-core.c snd_soc_find_dai(9), snd_soc_remove_pcm_runtime...
snd_soc_usb_add_port(9)
NAME snd_soc_usb_add_port - Add a USB backend port SYNOPSIS void snd_soc_usb_add_port (struct snd_soc_usb *usb ); ARGUMENTS usb soc usb port to add DESCRIPTION Register a USB backend DAI link to the USB SoC framework. Memory is allocated as part of the USB backend DAI link. SEE ALSO Kernel file ./sou...
snd_soc_usb_allocate_port(9)
NAME snd_soc_usb_allocate_port - allocate a SoC USB port for offloading support SYNOPSIS struct snd_soc_usb * snd_soc_usb_allocate_port (struct snd_soc_component *component , void *data ); ARGUMENTS component USB DPCM backend DAI component data private data DESCRIPTION Allocate and initialize a SoC...
snd_soc_usb_connect(9)
NAME snd_soc_usb_connect - Notification of USB device connection SYNOPSIS int snd_soc_usb_connect (struct device *usbdev , struct snd_soc_usb_device *sdev ); ARGUMENTS usbdev USB bus device sdev USB SND device to add DESCRIPTION Notify of a new USB SND device connection. The sdev->card_idx can b...
snd_soc_usb_disconnect(9)
NAME snd_soc_usb_disconnect - Notification of USB device disconnection SYNOPSIS int snd_soc_usb_disconnect (struct device *usbdev , struct snd_soc_usb_device *sdev ); ARGUMENTS usbdev USB bus device sdev USB SND device to remove DESCRIPTION Notify of a new USB SND device disconnection to the USB ...
snd_soc_usb_find_priv_data(9)
NAME snd_soc_usb_find_priv_data - Retrieve private data stored SYNOPSIS void * snd_soc_usb_find_priv_data (struct device *usbdev ); ARGUMENTS usbdev device reference DESCRIPTION Fetch the private data stored in the USB SND SoC structure. SEE ALSO Kernel file ./sound/soc/soc-usb.c snd_soc_usb_setup_of...
snd_soc_usb_find_supported_format(9)
NAME snd_soc_usb_find_supported_format - Check if audio format is supported SYNOPSIS int snd_soc_usb_find_supported_format (int card_idx , struct snd_pcm_hw_params *params , int direction ); ARGUMENTS card_idx USB sound chip array index params PCM parameters direction capture or playback DE...
snd_soc_usb_free_port(9)
NAME snd_soc_usb_free_port - free a SoC USB port used for offloading support SYNOPSIS void snd_soc_usb_free_port (struct snd_soc_usb *usb ); ARGUMENTS usb allocated SoC USB port DESCRIPTION Free and remove the SoC USB port from the available list of ports. This will ensure that the communication between USB...
snd_soc_usb_remove_port(9)
NAME snd_soc_usb_remove_port - Remove a USB backend port SYNOPSIS void snd_soc_usb_remove_port (struct snd_soc_usb *usb ); ARGUMENTS usb soc usb port to remove DESCRIPTION Remove a USB backend DAI link from USB SoC. Memory is freed when USB backend DAI is removed, or when snd_soc_usb_free_port is called. S...
snd_soc_usb_setup_offload_jack(9)
NAME snd_soc_usb_setup_offload_jack - Create USB offloading jack SYNOPSIS int snd_soc_usb_setup_offload_jack (struct snd_soc_component *component , struct snd_soc_jack *jack ); ARGUMENTS component USB DPCM backend DAI component jack jack structure to create DESCRIPTION Creates a jack device for noti...
snd_soc_usb_update_offload_route(9)
NAME snd_soc_usb_update_offload_route - Find active USB offload path SYNOPSIS int snd_soc_usb_update_offload_route (struct device *dev , int card , int pcm , int direction , enum snd_soc_usb_kctl path , long *route ); ARGUMENTS dev USB device to get offload status card USB card index pc...
snd_soc_xlate_tdm_slot_mask(9)
NAME snd_soc_xlate_tdm_slot_mask - generate tx/rx slot mask. SYNOPSIS int snd_soc_xlate_tdm_slot_mask (unsigned int slots , unsigned int *tx_mask , unsigned int *rx_mask ); ARGUMENTS slots Number of slots in use. tx_mask bitmask representing active TX slots. rx_mask bitmask representing ...
snd_sof_dsp_get_bar_index(9)
NAME snd_sof_dsp_get_bar_index - Maps a section type with a BAR index SYNOPSIS int snd_sof_dsp_get_bar_index (struct snd_sof_dev *sdev , u32 type ); ARGUMENTS sdev sof device type section type as described by snd_sof_fw_blk_type DESCRIPTION Returns the corresponding BAR index (a positive intege...
snd_sof_dsp_panic(9)
NAME snd_sof_dsp_panic - handle a received DSP panic message SYNOPSIS void snd_sof_dsp_panic (struct snd_sof_dev *sdev , u32 offset , bool non_recoverable ); ARGUMENTS sdev Pointer to the device's sdev offset offset of panic information non_recoverable the panic is fatal...
snd_ump_block_new(9)
NAME snd_ump_block_new - Create a UMP block SYNOPSIS int snd_ump_block_new (struct snd_ump_endpoint *ump , unsigned int blk , unsigned int direction , unsigned int first_group , unsigned int num_groups , struct snd_ump_block **blk_ret ); ARGUMENTS ump UMP object blk block ID number to create ...
snd_ump_convert_from_ump(9)
NAME snd_ump_convert_from_ump - convert from UMP to legacy MIDI SYNOPSIS int snd_ump_convert_from_ump (const u32 *data , unsigned char *buf , unsigned char *group_ret ); ARGUMENTS data UMP packet buf buffer to store legacy MIDI data group_ret pointer to store the target group DESCRIP...
snd_ump_convert_to_ump(9)
NAME snd_ump_convert_to_ump - convert legacy MIDI byte to UMP packet SYNOPSIS void snd_ump_convert_to_ump (struct ump_cvt_to_ump *cvt , unsigned char group , unsigned int protocol , unsigned char c ); ARGUMENTS cvt converter context group target UMP group protocol target UMP protocol ...
snd_ump_endpoint_new(9)
NAME snd_ump_endpoint_new - create a UMP Endpoint object SYNOPSIS int snd_ump_endpoint_new (struct snd_card *card , char *id , int device , int output , int input , struct snd_ump_endpoint **ump_ret ); ARGUMENTS card the card instance id the id string for rawmidi device the device...
snd_ump_parse_endpoint(9)
NAME snd_ump_parse_endpoint - parse endpoint and create function blocks SYNOPSIS int snd_ump_parse_endpoint (struct snd_ump_endpoint *ump ); ARGUMENTS ump UMP object DESCRIPTION Returns 0 for successful parse, -ENODEV if device doesn't respond (or the query is unsupported), or other error code for serious er...
snd_ump_receive(9)
NAME snd_ump_receive - transfer UMP packets from the device SYNOPSIS int snd_ump_receive (struct snd_ump_endpoint *ump , const u32 *buffer , int count ); ARGUMENTS ump the UMP endpoint buffer the buffer pointer to transfer count byte size to transfer DESCRIPTION Called from the dri...
snd_ump_receive_ump_val(9)
NAME snd_ump_receive_ump_val - parse the UMP packet data SYNOPSIS int snd_ump_receive_ump_val (struct snd_ump_endpoint *ump , u32 val ); ARGUMENTS ump UMP endpoint val UMP packet data DESCRIPTION The data is copied onto ump->input_buf[]. When a full packet is completed, returns the number of...
snd_ump_switch_protocol(9)
NAME snd_ump_switch_protocol - switch MIDI protocol SYNOPSIS int snd_ump_switch_protocol (struct snd_ump_endpoint *ump , unsigned int protocol ); ARGUMENTS ump UMP endpoint protocol protocol to switch to DESCRIPTION Returns 1 if the protocol is actually switched, 0 if unchanged SEE ALSO Kernel fi...
snd_ump_transmit(9)
NAME snd_ump_transmit - transmit UMP packets SYNOPSIS int snd_ump_transmit (struct snd_ump_endpoint *ump , u32 *buffer , int count ); ARGUMENTS ump the UMP endpoint buffer the buffer pointer to transfer count byte size to transfer DESCRIPTION Called from the driver to obtain the UM...
snd_unregister_device(9)
NAME snd_unregister_device - unregister the device on the given card SYNOPSIS int snd_unregister_device (struct device *dev ); ARGUMENTS dev the device instance DESCRIPTION Unregisters the device file already registered via snd_register_device. RETURN Zero if successful, or a negative error code on failure....
snd_usb_add_endpoint(9)
NAME snd_usb_add_endpoint - Add an endpoint to an USB audio chip SYNOPSIS int snd_usb_add_endpoint (struct snd_usb_audio *chip , int ep_num , int type ); ARGUMENTS chip The chip ep_num The number of the endpoint to use type SND_USB_ENDPOINT_TYPE_DATA or SND_USB_ENDPOINT_TYPE_SYNC D...
snd_usb_endpoint_free_all(9)
NAME snd_usb_endpoint_free_all - Free the resources of an snd_usb_endpoint SYNOPSIS void snd_usb_endpoint_free_all (struct snd_usb_audio *chip ); ARGUMENTS chip The chip DESCRIPTION This free all endpoints and those resources SEE ALSO Kernel file ./sound/usb/endpoint.c snd_usb_endpoint_implicit_feedback_sink...
snd_usb_endpoint_implicit_feedback_sink(9)
NAME snd_usb_endpoint_implicit_feedback_sink - Report endpoint usage type SYNOPSIS int snd_usb_endpoint_implicit_feedback_sink (struct snd_usb_endpoint *ep ); ARGUMENTS ep The snd_usb_endpoint DESCRIPTION Determine whether an endpoint is driven by an implicit feedback data endpoint source. SEE ALSO Kernel ...
snd_usb_endpoint_release(9)
NAME snd_usb_endpoint_release - Tear down an snd_usb_endpoint SYNOPSIS void snd_usb_endpoint_release (struct snd_usb_endpoint *ep ); ARGUMENTS ep the endpoint to release DESCRIPTION This function does not care for the endpoint's running count but will tear down all the streaming URBs immediately. SEE ALSO ...
snd_usb_endpoint_start(9)
NAME snd_usb_endpoint_start - start an snd_usb_endpoint SYNOPSIS int snd_usb_endpoint_start (struct snd_usb_endpoint *ep ); ARGUMENTS ep the endpoint to start DESCRIPTION A call to this function will increment the running count of the endpoint. In case it is not already running, the URBs for th...
snd_usb_endpoint_stop(9)
NAME snd_usb_endpoint_stop - stop an snd_usb_endpoint SYNOPSIS void snd_usb_endpoint_stop (struct snd_usb_endpoint *ep , bool keep_pending ); ARGUMENTS ep the endpoint to stop (may be NULL) keep_pending keep in-flight URBs DESCRIPTION A call to this function will decrement ...
snd_usb_offload_create_ctl(9)
NAME snd_usb_offload_create_ctl - Add USB offload bounded mixer SYNOPSIS int snd_usb_offload_create_ctl (struct snd_usb_audio *chip , struct device *bedev ); ARGUMENTS chip USB SND chip device bedev Reference to USB backend DAI device DESCRIPTION Creates a sound control for a USB audio device, s...
snd_vx_create(9)
NAME snd_vx_create - constructor for struct vx_core SYNOPSIS struct vx_core * snd_vx_create (struct snd_card *card , const struct snd_vx_hardware *hw , const struct snd_vx_ops *ops , int extra_size ); ARGUMENTS card card instance hw hardware specific record ops VX ops pointer ...
snd_vx_dsp_boot(9)
NAME snd_vx_dsp_boot - load the DSP boot SYNOPSIS int snd_vx_dsp_boot (struct vx_core *chip , const struct firmware *boot ); ARGUMENTS chip VX core instance boot firmware data SEE ALSO Kernel file ./sound/drivers/vx/vx_core.c snd_vx_load_boot_image(9), snd_vx_irq_handler(9), snd_vx_dsp_load(9),...
snd_vx_dsp_load(9)
NAME snd_vx_dsp_load - load the DSP image SYNOPSIS int snd_vx_dsp_load (struct vx_core *chip , const struct firmware *dsp ); ARGUMENTS chip VX core instance dsp firmware data SEE ALSO Kernel file ./sound/drivers/vx/vx_core.c snd_vx_load_boot_image(9), snd_vx_irq_handler(9), snd_vx_dsp_boot(9),...
snd_vx_irq_handler(9)
NAME snd_vx_irq_handler - interrupt handler SYNOPSIS irqreturn_t snd_vx_irq_handler (int irq , void *dev ); ARGUMENTS irq irq number dev VX core instance SEE ALSO Kernel file ./sound/drivers/vx/vx_core.c snd_vx_load_boot_image(9), snd_vx_dsp_boot(9), snd_vx_dsp_load(9), snd_vx_create(9) Apri...
snd_vx_load_boot_image(9)
NAME snd_vx_load_boot_image - boot up the xilinx interface SYNOPSIS int snd_vx_load_boot_image (struct vx_core *chip , const struct firmware *boot ); ARGUMENTS chip VX core instance boot the boot record to load SEE ALSO Kernel file ./sound/drivers/vx/vx_core.c snd_vx_irq_handler(9), snd_vx_dsp_...
snd_vxpocket_assign_resources(9)
NAME snd_vxpocket_assign_resources - initialize the hardware and card instance. SYNOPSIS int snd_vxpocket_assign_resources (struct vx_core *chip , int port , int irq ); ARGUMENTS chip VX core instance port i/o port for the card irq irq number for the card DESCRIPTION this functi...
snp_svsm_vtpm_probe(9)
NAME snp_svsm_vtpm_probe - Probe if SVSM provides a vTPM device SYNOPSIS bool snp_svsm_vtpm_probe (void ); ARGUMENTS void no arguments DESCRIPTION Check that there is SVSM and that it supports at least TPM_SEND_COMMAND which is the only request used so far. RETURN true if the platform provides a vTPM SVSM de...
snp_svsm_vtpm_send_command(9)
NAME snp_svsm_vtpm_send_command - Execute a vTPM operation on SVSM SYNOPSIS int snp_svsm_vtpm_send_command (u8 *buffer ); ARGUMENTS buffer A buffer used to both send the command and receive the response. DESCRIPTION Execute a SVSM_VTPM_CMD call as defined by "Secure VM Service Module for SEV-SNP Guests" Publica...
snprintf(3)
NAME printf, fprintf, dprintf, sprintf, snprintf, vprintf, vfprintf, vdprintf, vsprintf, vsnprintf - formatted output conversion LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <stdio.h> int printf(const char *restrict format, ...); int fprintf(FILE *restrict stream, const c...
snprintf(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME snprintf — print formatted output SYNOPSIS #include <stdio.h> ...
snprintf(9)
NAME snprintf - Format a string and place it in a buffer SYNOPSIS int snprintf (char *buf , size_t size , const char *fmt , ... ); ARGUMENTS buf The buffer to place the result into size The size of the buffer, including the trailing null space fmt The format string to use ...
soc15_program_register_sequence(9)
NAME soc15_program_register_sequence - program an array of registers. SYNOPSIS void soc15_program_register_sequence (struct amdgpu_device *adev , const struct soc15_reg_golden *regs , const u32 array_size ); ARGUMENTS adev amdgpu_device pointer regs pointer to the register array array_si...
soc64_async_callback(9)
NAME soc64_async_callback - Callback from Intel service layer for async requests SYNOPSIS void soc64_async_callback (void *ptr ); ARGUMENTS ptr pointer to the completion object SEE ALSO Kernel file ./drivers/firmware/stratix10-rsu.c struct stratix10_rsu_priv(9), rsu_async_status_callback(9), rsu_command_...
soc_device_register(9)
NAME soc_device_register - register SoC as a device SYNOPSIS struct soc_device * soc_device_register (struct soc_device_attribute *soc_plat_dev_attr ); ARGUMENTS soc_plat_dev_attr Attributes passed from platform to be attributed to a SoC SEE ALSO Kernel file ./include/linux/sys_soc.h soc_device_unregister(9), soc_de...
soc_device_to_device(9)
NAME soc_device_to_device - helper function to fetch struct device SYNOPSIS struct device * soc_device_to_device (struct soc_device *soc ); ARGUMENTS soc Previously registered SoC device container SEE ALSO Kernel file ./include/linux/sys_soc.h soc_device_register(9), soc_device_unregister(9) April 2026 ...
soc_device_unregister(9)
NAME soc_device_unregister - unregister SoC device SYNOPSIS void soc_device_unregister (struct soc_device *soc_dev ); ARGUMENTS soc_dev -- undescribed -- SEE ALSO Kernel file ./include/linux/sys_soc.h soc_device_register(9), soc_device_to_device(9) April 2026 ...
soc_tplg_dai_config(9)
NAME soc_tplg_dai_config - Find and configure an existing physical DAI. SYNOPSIS int soc_tplg_dai_config (struct soc_tplg *tplg , struct snd_soc_tplg_dai *d ); ARGUMENTS tplg topology context d physical DAI configs. DESCRIPTION The physical dai should already be registered by the platform dr...
sock_alloc(9)
NAME sock_alloc - allocate a socket SYNOPSIS struct socket * sock_alloc (void ); ARGUMENTS void no arguments DESCRIPTION Allocate a new inode and socket object. The two are bound together and initialised. The socket is then returned. If we are out of inodes NULL is returned. This functions uses GFP_KERNEL int...
sock_alloc_file(9)
NAME sock_alloc_file - Bind a &socket to a &file SYNOPSIS struct file * sock_alloc_file (struct socket *sock , int flags , const char *dname ); ARGUMENTS sock socket flags file status flags dname protocol name DESCRIPTION Returns the file bound with sock, implicitly storing it in s...
sock_create(9)
NAME sock_create - creates a socket SYNOPSIS int sock_create (int family , int type , int protocol , struct socket **res ); ARGUMENTS family protocol family (AF_INET, ...) type communication type (SOCK_STREAM, ...) protocol protocol (0, ...) res new socket DESCRIPTION A...
sock_create_kern(9)
NAME sock_create_kern - creates a socket (kernel space) SYNOPSIS int sock_create_kern (struct net *net , int family , int type , int protocol , struct socket **res ); ARGUMENTS net net namespace family protocol family (AF_INET, ...) type communication type (SOCK_STREAM, ...) ...
sock_create_lite(9)
NAME sock_create_lite - creates a socket SYNOPSIS int sock_create_lite (int family , int type , int protocol , struct socket **res ); ARGUMENTS family protocol family (AF_INET, ...) type communication type (SOCK_STREAM, ...) protocol protocol (0, ...) res new socket DES...
sock_diag(7)
NAME sock_diag - obtaining information about sockets SYNOPSIS #include <sys/socket.h> #include <linux/sock_diag.h> #include <linux/unix_diag.h> /* for UNIX domain sockets */ #include <linux/inet_diag.h> /* for IPv4 and IPv6 sockets */ diag_socket = socket(AF_NETLINK, socket_type, NETLINK_SOCK_DIAG); DESCRIPTI...
sock_from_file(9)
NAME sock_from_file - Return the &socket bounded to @file. SYNOPSIS struct socket * sock_from_file (struct file *file ); ARGUMENTS file file DESCRIPTION On failure returns NULL. SEE ALSO Kernel file ./net/socket.c move_addr_to_kernel(9), move_addr_to_user(9), sock_alloc_file(9), sockfd_lookup(9), sock...
sock_poll_wait(9)
NAME sock_poll_wait - wrapper for the poll_wait call. SYNOPSIS void sock_poll_wait (struct file *filp , struct socket *sock , poll_table *p ); ARGUMENTS filp file sock socket to wait on p poll_table DESCRIPTION See the comments in the wq_has_sleeper function. SEE ALSO Kernel ...
sock_recvmsg(9)
NAME sock_recvmsg - receive a message from @sock SYNOPSIS int sock_recvmsg (struct socket *sock , struct msghdr *msg , int flags ); ARGUMENTS sock socket msg message to receive flags message flags DESCRIPTION Receives msg from sock, passing through LSM. Returns the total number o...
sock_register(9)
NAME sock_register - add a socket protocol handler SYNOPSIS int sock_register (const struct net_proto_family *ops ); ARGUMENTS ops description of protocol DESCRIPTION This function is called by a protocol handler that wants to advertise its address family, and have it linked into the socket interface. The va...
sock_release(9)
NAME sock_release - close a socket SYNOPSIS void sock_release (struct socket *sock ); ARGUMENTS sock socket to close DESCRIPTION The socket is released from the protocol stack if it has a release callback, and the inode is then released if the socket is bound to an inode not a file. SEE ALSO Kernel file ./...
sock_sendmsg(9)
NAME sock_sendmsg - send a message through @sock SYNOPSIS int sock_sendmsg (struct socket *sock , struct msghdr *msg ); ARGUMENTS sock socket msg message to send DESCRIPTION Sends msg through sock, passing through LSM. Returns the number of bytes sent, or an error code. SEE ALSO Kernel file...
sock_unregister(9)
NAME sock_unregister - remove a protocol handler SYNOPSIS void sock_unregister (int family ); ARGUMENTS family protocol family to remove DESCRIPTION This function is called by a protocol handler that wants to remove its address family, and have it unlinked from the new socket creation. If protocol handler is...
sockaddr(3type)
NAME sockaddr, sockaddr_storage, sockaddr_in, sockaddr_in6, sockaddr_un, socklen_t, in_addr, in6_addr, in_addr_t, in_port_t, - socket address LIBRARY Standard C library (libc) SYNOPSIS #include <sys/socket.h> struct sockaddr { sa_family_t sa_family; /* Address family */ char ...
sockaddr_in(3type)
NAME sockaddr, sockaddr_storage, sockaddr_in, sockaddr_in6, sockaddr_un, socklen_t, in_addr, in6_addr, in_addr_t, in_port_t, - socket address LIBRARY Standard C library (libc) SYNOPSIS #include <sys/socket.h> struct sockaddr { sa_family_t sa_family; /* Address family */ char ...