id
stringlengths
4
63
text
stringlengths
153
8.81M
crypto_skcipher_decrypt(9)
NAME crypto_skcipher_decrypt - decrypt ciphertext SYNOPSIS int crypto_skcipher_decrypt (struct skcipher_request *req ); ARGUMENTS req reference to the skcipher_request handle that holds all information needed to perform the cipher operation DESCRIPTION Decrypt ciphertext data using the skcipher_request handl...
crypto_skcipher_encrypt(9)
NAME crypto_skcipher_encrypt - encrypt plaintext SYNOPSIS int crypto_skcipher_encrypt (struct skcipher_request *req ); ARGUMENTS req reference to the skcipher_request handle that holds all information needed to perform the cipher operation DESCRIPTION Encrypt plaintext data using the skcipher_request handle....
crypto_skcipher_export(9)
NAME crypto_skcipher_export - export partial state SYNOPSIS int crypto_skcipher_export (struct skcipher_request *req , void *out ); ARGUMENTS req reference to the skcipher_request handle that holds all information needed to perform the operation out output buffer of sufficient size that can ho...
crypto_skcipher_import(9)
NAME crypto_skcipher_import - import partial state SYNOPSIS int crypto_skcipher_import (struct skcipher_request *req , const void *in ); ARGUMENTS req reference to the skcipher_request handle that holds all information needed to perform the operation in buffer holding the state DESCRIPTION I...
crypto_skcipher_ivsize(9)
NAME crypto_skcipher_ivsize - obtain IV size SYNOPSIS unsigned int crypto_skcipher_ivsize (struct crypto_skcipher *tfm ); ARGUMENTS tfm cipher handle DESCRIPTION The size of the IV for the skcipher referenced by the cipher handle is returned. This IV size may be zero if the cipher does not need an IV. RETUR...
crypto_skcipher_reqsize(9)
NAME crypto_skcipher_reqsize - obtain size of the request data structure SYNOPSIS unsigned int crypto_skcipher_reqsize (struct crypto_skcipher *tfm ); ARGUMENTS tfm cipher handle RETURN number of bytes SEE ALSO Kernel file ./include/crypto/skcipher.h struct skcipher_request(9), struct skcipher_alg(9),...
crypto_skcipher_reqtfm(9)
NAME crypto_skcipher_reqtfm - obtain cipher handle from request SYNOPSIS struct crypto_skcipher * crypto_skcipher_reqtfm (struct skcipher_request *req ); ARGUMENTS req skcipher_request out of which the cipher handle is to be obtained DESCRIPTION Return the crypto_skcipher handle when furnishing an skcipher_r...
crypto_skcipher_setkey(9)
NAME crypto_skcipher_setkey - set key for cipher SYNOPSIS int crypto_skcipher_setkey (struct crypto_skcipher *tfm , const u8 *key , unsigned int keylen ); ARGUMENTS tfm cipher handle key buffer holding the key keylen length of the key in bytes DESCRIPTION The caller provided k...
crypto_skcipher_statesize(9)
NAME crypto_skcipher_statesize - obtain state size SYNOPSIS unsigned int crypto_skcipher_statesize (struct crypto_skcipher *tfm ); ARGUMENTS tfm cipher handle DESCRIPTION Some algorithms cannot be chained with the IV alone. They carry internal state which must be replicated if data is to be processed increm...
crypto_spawn_kpp(9)
NAME crypto_spawn_kpp - Create a transform from a KPP spawn. SYNOPSIS struct crypto_kpp * crypto_spawn_kpp (struct crypto_kpp_spawn *spawn ); ARGUMENTS spawn The spawn previously bound to some struct kpp_alg via crypto_grab_kpp. DESCRIPTION Once a struct crypto_kpp_spawn has been successfully bound to a struct...
crypto_spawn_kpp_alg(9)
NAME crypto_spawn_kpp_alg - Get the algorithm a KPP spawn has been bound to. SYNOPSIS struct kpp_alg * crypto_spawn_kpp_alg (struct crypto_kpp_spawn *spawn ); ARGUMENTS spawn The spawn to get the referenced struct kpp_alg for. DESCRIPTION This function as well as the returned result are safe to use only afte...
crypto_transfer_aead_request_to_engine(9)
NAME crypto_transfer_aead_request_to_engine - transfer one aead_request to list into the engine queue SYNOPSIS int crypto_transfer_aead_request_to_engine (struct crypto_engine *engine , struct aead_request *req ); ARGUMENTS engine the hardware engine req the request need to be listed into the eng...
crypto_transfer_akcipher_request_to_engine(9)
NAME crypto_transfer_akcipher_request_to_engine - transfer one akcipher_request to list into the engine queue SYNOPSIS int crypto_transfer_akcipher_request_to_engine (struct crypto_engine *engine , struct akcipher_request *req ); ARGUMENTS engine the hardware engine req the request need to be lis...
crypto_transfer_hash_request_to_engine(9)
NAME crypto_transfer_hash_request_to_engine - transfer one ahash_request to list into the engine queue SYNOPSIS int crypto_transfer_hash_request_to_engine (struct crypto_engine *engine , struct ahash_request *req ); ARGUMENTS engine the hardware engine req the request need to be listed into the e...
crypto_transfer_kpp_request_to_engine(9)
NAME crypto_transfer_kpp_request_to_engine - transfer one kpp_request to list into the engine queue SYNOPSIS int crypto_transfer_kpp_request_to_engine (struct crypto_engine *engine , struct kpp_request *req ); ARGUMENTS engine the hardware engine req the request need to be listed into the engine ...
crypto_transfer_request(9)
NAME crypto_transfer_request - transfer the new request into the engine queue SYNOPSIS int crypto_transfer_request (struct crypto_engine *engine , struct crypto_async_request *req , bool need_pump ); ARGUMENTS engine the hardware engine req the request need to be listed into the engine queue ...
crypto_transfer_request_to_engine(9)
NAME crypto_transfer_request_to_engine - transfer one request to list into the engine queue SYNOPSIS int crypto_transfer_request_to_engine (struct crypto_engine *engine , struct crypto_async_request *req ); ARGUMENTS engine the hardware engine req the request need to be listed into the engine que...
crypto_transfer_skcipher_request_to_engine(9)
NAME crypto_transfer_skcipher_request_to_engine - transfer one skcipher_request to list into the engine queue SYNOPSIS int crypto_transfer_skcipher_request_to_engine (struct crypto_engine *engine , struct skcipher_request *req ); ARGUMENTS engine the hardware engine req the request need to be lis...
crypto_unregister_acomp(9)
NAME crypto_unregister_acomp - - Unregister asynchronous compression algorithm SYNOPSIS void crypto_unregister_acomp (struct acomp_alg *alg ); ARGUMENTS alg algorithm definition DESCRIPTION Function unregisters an implementation of an asynchronous compression algorithm SEE ALSO Kernel file ./include/crypto/...
crypto_unregister_akcipher(9)
NAME crypto_unregister_akcipher - - Unregister public key algorithm SYNOPSIS void crypto_unregister_akcipher (struct akcipher_alg *alg ); ARGUMENTS alg algorithm definition DESCRIPTION Function unregisters an implementation of a public key cipher algorithm SEE ALSO Kernel file ./include/crypto/internal/akci...
crypto_unregister_kpp(9)
NAME crypto_unregister_kpp - - Unregister key-agreement protocol primitive algorithm SYNOPSIS void crypto_unregister_kpp (struct kpp_alg *alg ); ARGUMENTS alg algorithm definition DESCRIPTION Function unregisters an implementation of a key-agreement protocol primitive algorithm SEE ALSO Kernel file ./incl...
crypto_unregister_scomp(9)
NAME crypto_unregister_scomp - - Unregister synchronous compression algorithm SYNOPSIS void crypto_unregister_scomp (struct scomp_alg *alg ); ARGUMENTS alg algorithm definition DESCRIPTION Function unregisters an implementation of a synchronous compression algorithm SEE ALSO Kernel file ./include/crypto/int...
crypto_unregister_sig(9)
NAME crypto_unregister_sig - - Unregister public key signature algorithm SYNOPSIS void crypto_unregister_sig (struct sig_alg *alg ); ARGUMENTS alg algorithm definition DESCRIPTION Function unregisters an implementation of a public key signature algorithm SEE ALSO Kernel file ./include/crypto/internal/sig.h ...
crypttab(5)
NAME crypttab - Configuration for encrypted block devices SYNOPSIS /etc/crypttab DESCRIPTION The /etc/crypttab file describes encrypted block devices that are set up during system boot. Empty lines and lines starting with the "#" character are ignored. Each of the remaining lines describes one encrypted block...
cs4270_dai_mute(9)
NAME cs4270_dai_mute - enable/disable the CS4270 external mute SYNOPSIS int cs4270_dai_mute (struct snd_soc_dai *dai , int mute , int direction ); ARGUMENTS dai the SOC DAI mute 0 = disable mute, 1 = enable mute direction (ignored) DESCRIPTION This function toggles the mute bits i...
cs4270_hw_params(9)
NAME cs4270_hw_params - program the CS4270 with the given hardware parameters. SYNOPSIS int cs4270_hw_params (struct snd_pcm_substream *substream , struct snd_pcm_hw_params *params , struct snd_soc_dai *dai ); ARGUMENTS substream the audio stream params the hardware parameters to set dai ...
cs4270_i2c_probe(9)
NAME cs4270_i2c_probe - initialize the I2C interface of the CS4270 SYNOPSIS int cs4270_i2c_probe (struct i2c_client *i2c_client ); ARGUMENTS i2c_client the I2C client object DESCRIPTION This function is called whenever the I2C subsystem finds a device that matches the device ID given via a prior call to i2c_add_dri...
cs4270_i2c_remove(9)
NAME cs4270_i2c_remove - deinitialize the I2C interface of the CS4270 SYNOPSIS void cs4270_i2c_remove (struct i2c_client *i2c_client ); ARGUMENTS i2c_client the I2C client object DESCRIPTION This function puts the chip into low power mode when the i2c device is removed. SEE ALSO Kernel file ./sound/soc/codecs/cs...
cs4270_probe(9)
NAME cs4270_probe - ASoC probe function SYNOPSIS int cs4270_probe (struct snd_soc_component *component ); ARGUMENTS component ASoC component DESCRIPTION This function is called when ASoC has all the pieces it needs to instantiate a sound driver. SEE ALSO Kernel file ./sound/soc/codecs/cs4270.c struct cs4270_m...
cs4270_remove(9)
NAME cs4270_remove - ASoC remove function SYNOPSIS void cs4270_remove (struct snd_soc_component *component ); ARGUMENTS component ASoC component DESCRIPTION This function is the counterpart to cs4270_probe. SEE ALSO Kernel file ./sound/soc/codecs/cs4270.c struct cs4270_mode_ratios(9), cs4270_set_dai_sysclk(9...
cs4270_set_dai_fmt(9)
NAME cs4270_set_dai_fmt - configure the codec for the selected audio format SYNOPSIS int cs4270_set_dai_fmt (struct snd_soc_dai *codec_dai , unsigned int format ); ARGUMENTS codec_dai the codec DAI format a SND_SOC_DAIFMT_x value indicating the data format DESCRIPTION This function takes a bitmask of ...
cs4270_set_dai_sysclk(9)
NAME cs4270_set_dai_sysclk - determine the CS4270 samples rates. SYNOPSIS int cs4270_set_dai_sysclk (struct snd_soc_dai *codec_dai , int clk_id , unsigned int freq , int dir ); ARGUMENTS codec_dai the codec DAI clk_id the clock ID (ignored) freq the MCLK input frequency dir ...
cs4270_soc_put_mute(9)
NAME cs4270_soc_put_mute - put callback for the 'Master Playback switch' alsa control. SYNOPSIS int cs4270_soc_put_mute (struct snd_kcontrol *kcontrol , struct snd_ctl_elem_value *ucontrol ); ARGUMENTS kcontrol mixer control ucontrol control element information DESCRIPTION This function basically pa...
cs5520_pci_device_suspend(9)
NAME cs5520_pci_device_suspend - device suspend SYNOPSIS int cs5520_pci_device_suspend (struct pci_dev *pdev , pm_message_t mesg ); ARGUMENTS pdev PCI device mesg PM event message DESCRIPTION We have to cut and waste bits from the standard method because the 5520 is a bit odd and not just a p...
cs5520_reinit_one(9)
NAME cs5520_reinit_one - device resume SYNOPSIS int cs5520_reinit_one (struct pci_dev *pdev ); ARGUMENTS pdev PCI device DESCRIPTION Do any reconfiguration work needed by a resume from RAM. We need to restore DMA mode support on BIOSen which disabled it SEE ALSO Kernel file ./drivers/ata/pata_cs5520.c cs5520...
cs5520_set_piomode(9)
NAME cs5520_set_piomode - program PIO timings SYNOPSIS void cs5520_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA port adev ATA device DESCRIPTION Program the PIO mode timings for the controller according to the pio clocking table. SEE ALSO Kernel file ./drive...
cs5520_set_timings(9)
NAME cs5520_set_timings - program PIO timings SYNOPSIS void cs5520_set_timings (struct ata_port *ap , struct ata_device *adev , int pio ); ARGUMENTS ap ATA port adev ATA device pio PIO ID DESCRIPTION Program the PIO mode timings for the controller according to the pio clocking...
cs5530_init_chip(9)
NAME cs5530_init_chip - Chipset init SYNOPSIS int cs5530_init_chip (void ); ARGUMENTS void no arguments DESCRIPTION Perform the chip initialisation work that is shared between both setup and resume paths SEE ALSO Kernel file ./drivers/ata/pata_cs5530.c cs5530_set_piomode(9), cs5530_set_dmamode(9), cs5530_qc_...
cs5530_init_one(9)
NAME cs5530_init_one - Initialise a CS5530 SYNOPSIS int cs5530_init_one (struct pci_dev *pdev , const struct pci_device_id *id ); ARGUMENTS pdev PCI device id Entry in match table DESCRIPTION Install a driver for the newly found CS5530 companion chip. Most of this is just housekeeping. We hav...
cs5530_qc_issue(9)
NAME cs5530_qc_issue - command issue SYNOPSIS unsigned int cs5530_qc_issue (struct ata_queued_cmd *qc ); ARGUMENTS qc command pending DESCRIPTION Called when the libata layer is about to issue a command. We wrap this interface so that we can load the correct ATA timings if necessary. Specifically we have a...
cs5530_set_dmamode(9)
NAME cs5530_set_dmamode - DMA timing setup SYNOPSIS void cs5530_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev Device being configured DESCRIPTION We cannot mix MWDMA and UDMA without reloading timings each switch master to slave. We track the la...
cs5530_set_piomode(9)
NAME cs5530_set_piomode - PIO setup SYNOPSIS void cs5530_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev device on the interface DESCRIPTION Set our PIO requirements. This is fairly simple on the CS5530 chips. SEE ALSO Kernel file ./drivers/ata/p...
cs5535_cable_detect(9)
NAME cs5535_cable_detect - detect cable type SYNOPSIS int cs5535_cable_detect (struct ata_port *ap ); ARGUMENTS ap Port to detect on DESCRIPTION Perform cable detection for ATA66 capable cable. Return a libata cable type. SEE ALSO Kernel file ./drivers/ata/pata_cs5535.c cs5535_set_piomode(9), cs5535_set_dm...
cs5535_init_one(9)
NAME cs5535_init_one - Initialise a CS5530 SYNOPSIS int cs5535_init_one (struct pci_dev *dev , const struct pci_device_id *id ); ARGUMENTS dev PCI device id Entry in match table DESCRIPTION Install a driver for the newly found CS5530 companion chip. Most of this is just housekeeping. We have...
cs5535_set_dmamode(9)
NAME cs5535_set_dmamode - DMA timing setup SYNOPSIS void cs5535_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev Device being configured SEE ALSO Kernel file ./drivers/ata/pata_cs5535.c cs5535_cable_detect(9), cs5535_set_piomode(9), cs5535_init_one...
cs5535_set_piomode(9)
NAME cs5535_set_piomode - PIO setup SYNOPSIS void cs5535_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev device on the interface DESCRIPTION Set our PIO requirements. The CS5535 is pretty clean about all this SEE ALSO Kernel file ./drivers/ata/pa...
cs5536_cable_detect(9)
NAME cs5536_cable_detect - detect cable type SYNOPSIS int cs5536_cable_detect (struct ata_port *ap ); ARGUMENTS ap Port to detect on DESCRIPTION Perform cable detection for ATA66 capable cable. Returns a cable type. SEE ALSO Kernel file ./drivers/ata/pata_cs5536.c cs5536_set_piomode(9), cs5536_set_dmamode...
cs5536_init_one(9)
NAME cs5536_init_one - SYNOPSIS int cs5536_init_one (struct pci_dev *dev , const struct pci_device_id *id ); ARGUMENTS dev PCI device id Entry in match table SEE ALSO Kernel file ./drivers/ata/pata_cs5536.c cs5536_cable_detect(9), cs5536_set_piomode(9), cs5536_set_dmamode(9) April 2026 ...
cs5536_set_dmamode(9)
NAME cs5536_set_dmamode - DMA timing setup SYNOPSIS void cs5536_set_dmamode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev Device being configured SEE ALSO Kernel file ./drivers/ata/pata_cs5536.c cs5536_cable_detect(9), cs5536_set_piomode(9), cs5536_init_one...
cs5536_set_piomode(9)
NAME cs5536_set_piomode - PIO setup SYNOPSIS void cs5536_set_piomode (struct ata_port *ap , struct ata_device *adev ); ARGUMENTS ap ATA interface adev device on the interface SEE ALSO Kernel file ./drivers/ata/pata_cs5536.c cs5536_cable_detect(9), cs5536_set_dmamode(9), cs5536_init_one(9) Ap...
cs8409_i2c_bulk_read(9)
NAME cs8409_i2c_bulk_read - CS8409 I2C Read Sequence. SYNOPSIS int cs8409_i2c_bulk_read (struct sub_codec *scodec , struct cs8409_i2c_param *seq , int count ); ARGUMENTS scodec the codec instance seq Register Sequence to read count Number of registeres to read DESCRIPTION Returns n...
cs8409_i2c_bulk_write(9)
NAME cs8409_i2c_bulk_write - CS8409 I2C Write Sequence. SYNOPSIS int cs8409_i2c_bulk_write (struct sub_codec *scodec , const struct cs8409_i2c_param *seq , int count ); ARGUMENTS scodec the codec instance seq Register Sequence to write count Number of registeres to write DESCRIPTIO...
cs8409_i2c_read(9)
NAME cs8409_i2c_read - CS8409 I2C Read. SYNOPSIS int cs8409_i2c_read (struct sub_codec *scodec , unsigned int addr ); ARGUMENTS scodec the codec instance addr Register to read DESCRIPTION Returns negative on error, otherwise returns read value in bits 0-7. SEE ALSO Kernel file ./sound/hda/codecs...
cs8409_i2c_set_page(9)
NAME cs8409_i2c_set_page - CS8409 I2C set page register. SYNOPSIS int cs8409_i2c_set_page (struct sub_codec *scodec , unsigned int i2c_reg ); ARGUMENTS scodec the codec instance i2c_reg Page register DESCRIPTION Returns negative on error. SEE ALSO Kernel file ./sound/hda/codecs/cirrus/cs8409.c cs84...
cs8409_i2c_wait_complete(9)
NAME cs8409_i2c_wait_complete - Wait for I2C transaction SYNOPSIS int cs8409_i2c_wait_complete (struct hda_codec *codec ); ARGUMENTS codec the codec instance DESCRIPTION Wait for I2C transaction to complete. Return -ETIMEDOUT if transaction wait times out. SEE ALSO Kernel file ./sound/hda/codecs/cirrus/cs840...
cs8409_i2c_write(9)
NAME cs8409_i2c_write - CS8409 I2C Write. SYNOPSIS int cs8409_i2c_write (struct sub_codec *scodec , unsigned int addr , unsigned int value ); ARGUMENTS scodec the codec instance addr Register to write to value Data to write DESCRIPTION Returns negative on error, otherwise returns 0....
cs8409_set_i2c_dev_addr(9)
NAME cs8409_set_i2c_dev_addr - Set i2c address for transaction SYNOPSIS void cs8409_set_i2c_dev_addr (struct hda_codec *codec , unsigned int addr ); ARGUMENTS codec the codec instance addr I2C Address SEE ALSO Kernel file ./sound/hda/codecs/cirrus/cs8409.c cs8409_i2c_wait_complete(9), cs8409_i2c...
cs_amp_create_debugfs(9)
NAME cs_amp_create_debugfs - create a debugfs directory for a device SYNOPSIS struct dentry * cs_amp_create_debugfs (struct device *dev ); ARGUMENTS dev pointer to struct device DESCRIPTION Creates a node under "cirrus_logic" in the root of the debugfs filesystem. This is for Cirrus-specific debugfs funct...
cs_amp_devm_get_vendor_specific_variant_id(9)
NAME cs_amp_devm_get_vendor_specific_variant_id - get variant ID string SYNOPSIS const char * cs_amp_devm_get_vendor_specific_variant_id (struct device *dev , int ssid_vendor , int ssid_device ); ARGUMENTS dev pointer to struct device ssid_vendor PCI Subsystem Vendor (-1 if unknown) ssid_devic...
cs_amp_get_efi_calibration_data(9)
NAME cs_amp_get_efi_calibration_data - get an entry from calibration data in EFI. SYNOPSIS int cs_amp_get_efi_calibration_data (struct device *dev , u64 target_uid , int amp_index , struct cirrus_amp_cal_data *out_data ); ARGUMENTS dev struct device of the caller. target_uid UID to match, or zero to ...
cs_amp_get_vendor_spkid(9)
NAME cs_amp_get_vendor_spkid - get a speaker ID from vendor-specific storage SYNOPSIS int cs_amp_get_vendor_spkid (struct device *dev ); ARGUMENTS dev pointer to struct device DESCRIPTION Known vendor-specific methods of speaker ID are checked and if one is found its speaker ID value is returned. RETURN >=0...
cs_amp_read_cal_coeffs(9)
NAME cs_amp_read_cal_coeffs - Read calibration data from firmware controls. SYNOPSIS int cs_amp_read_cal_coeffs (struct cs_dsp *dsp , const struct cirrus_amp_cal_controls *controls , struct cirrus_amp_cal_data *data ); ARGUMENTS dsp Pointer to struct cs_dsp. controls Pointer to definition of firmwa...
cs_amp_set_efi_calibration_data(9)
NAME cs_amp_set_efi_calibration_data - write a calibration data entry to EFI. SYNOPSIS int cs_amp_set_efi_calibration_data (struct device *dev , int amp_index , int num_amps , const struct cirrus_amp_cal_data *in_data ); ARGUMENTS dev struct device of the caller. amp_index Entry index to use, or -1 ...
cs_amp_write_ambient_temp(9)
NAME cs_amp_write_ambient_temp - write value to calibration ambient temperature SYNOPSIS int cs_amp_write_ambient_temp (struct cs_dsp *dsp , const struct cirrus_amp_cal_controls *controls , u32 temp ); ARGUMENTS dsp Pointer to struct cs_dsp. controls Pointer to definition of firmware controls to be...
cs_amp_write_cal_coeffs(9)
NAME cs_amp_write_cal_coeffs - Write calibration data to firmware controls. SYNOPSIS int cs_amp_write_cal_coeffs (struct cs_dsp *dsp , const struct cirrus_amp_cal_controls *controls , const struct cirrus_amp_cal_data *data ); ARGUMENTS dsp Pointer to struct cs_dsp. controls Pointer to definition of...
cs_dsp_adsp1_init(9)
NAME cs_dsp_adsp1_init - Initialise a cs_dsp structure representing a ADSP1 device SYNOPSIS int cs_dsp_adsp1_init (struct cs_dsp *dsp ); ARGUMENTS dsp pointer to DSP structure RETURN Zero for success, a negative number on error. SEE ALSO Kernel file ./drivers/firmware/cirrus/cs_dsp.c cs_dsp_mem_reg...
cs_dsp_adsp1_power_down(9)
NAME cs_dsp_adsp1_power_down - Halts the DSP SYNOPSIS void cs_dsp_adsp1_power_down (struct cs_dsp *dsp ); ARGUMENTS dsp pointer to DSP structure SEE ALSO Kernel file ./drivers/firmware/cirrus/cs_dsp.c cs_dsp_mem_region_name(9), cs_dsp_init_debugfs(9), cs_dsp_cleanup_debugfs(9), cs_dsp_coeff_...
cs_dsp_adsp1_power_up(9)
NAME cs_dsp_adsp1_power_up - Load and start the named firmware SYNOPSIS int cs_dsp_adsp1_power_up (struct cs_dsp *dsp , const struct firmware *wmfw_firmware , const char *wmfw_filename , const struct firmware *coeff_firmware , const char *coeff_filename , const char *fw_name ); ARGUMENTS dsp pointer to DSP st...
cs_dsp_adsp2_bus_error(9)
NAME cs_dsp_adsp2_bus_error - Handle a DSP bus error interrupt SYNOPSIS void cs_dsp_adsp2_bus_error (struct cs_dsp *dsp ); ARGUMENTS dsp pointer to DSP structure DESCRIPTION The firmware and DSP state will be logged for future analysis. SEE ALSO Kernel file ./drivers/firmware/cirrus/cs_dsp.c cs_dsp...
cs_dsp_adsp2_init(9)
NAME cs_dsp_adsp2_init - Initialise a cs_dsp structure representing a ADSP2 core SYNOPSIS int cs_dsp_adsp2_init (struct cs_dsp *dsp ); ARGUMENTS dsp pointer to DSP structure RETURN Zero for success, a negative number on error. SEE ALSO Kernel file ./drivers/firmware/cirrus/cs_dsp.c cs_dsp_mem_regio...
cs_dsp_chunk(9)
NAME cs_dsp_chunk - Create a DSP memory chunk SYNOPSIS struct cs_dsp_chunk cs_dsp_chunk (void *data , int size ); ARGUMENTS data Pointer to the buffer that will be used to store data size Size of the buffer in bytes RETURN A cs_dsp_chunk structure SEE ALSO Kernel file ./include/linux/firmwar...
cs_dsp_chunk_bytes(9)
NAME cs_dsp_chunk_bytes - Number of bytes written/read from a DSP memory chunk SYNOPSIS int cs_dsp_chunk_bytes (struct cs_dsp_chunk *ch ); ARGUMENTS ch Pointer to the chunk structure RETURN Number of bytes read/written to the buffer SEE ALSO Kernel file ./include/linux/firmware/cirrus/cs_dsp.h struct c...
cs_dsp_chunk_end(9)
NAME cs_dsp_chunk_end - Check if a DSP memory chunk is full SYNOPSIS bool cs_dsp_chunk_end (struct cs_dsp_chunk *ch ); ARGUMENTS ch Pointer to the chunk structure RETURN True if the whole buffer has been read/written SEE ALSO Kernel file ./include/linux/firmware/cirrus/cs_dsp.h struct cs_dsp_region(9),...
cs_dsp_chunk_flush(9)
NAME cs_dsp_chunk_flush - Pad remaining data with zero and commit to chunk SYNOPSIS int cs_dsp_chunk_flush (struct cs_dsp_chunk *ch ); ARGUMENTS ch Pointer to the chunk structure DESCRIPTION As cs_dsp_chunk_write only writes data when a whole DSP word is ready to be written out it is possible that some da...
cs_dsp_chunk_read(9)
NAME cs_dsp_chunk_read - Parse data from a DSP memory chunk SYNOPSIS int cs_dsp_chunk_read (struct cs_dsp_chunk *ch , int nbits ); ARGUMENTS ch Pointer to the chunk structure nbits Number of bits to read DESCRIPTION This function sequentially reads values from a DSP memory formatted buffer, it...
cs_dsp_chunk_valid_addr(9)
NAME cs_dsp_chunk_valid_addr - Check if an address is in a DSP memory chunk SYNOPSIS bool cs_dsp_chunk_valid_addr (struct cs_dsp_chunk *ch , void *addr ); ARGUMENTS ch Pointer to the chunk structure addr -- undescribed -- RETURN True if the given address is within the buffer SEE ALSO Kernel ...
cs_dsp_chunk_write(9)
NAME cs_dsp_chunk_write - Format data to a DSP memory chunk SYNOPSIS int cs_dsp_chunk_write (struct cs_dsp_chunk *ch , int nbits , u32 val ); ARGUMENTS ch Pointer to the chunk structure nbits Number of bits to write val Value to write DESCRIPTION This function sequentially writ...
cs_dsp_cleanup_debugfs(9)
NAME cs_dsp_cleanup_debugfs - Removes DSP representation from debugfs SYNOPSIS void cs_dsp_cleanup_debugfs (struct cs_dsp *dsp ); ARGUMENTS dsp pointer to DSP structure SEE ALSO Kernel file ./drivers/firmware/cirrus/cs_dsp.c cs_dsp_mem_region_name(9), cs_dsp_init_debugfs(9), cs_dsp_coeff_write_acked_c...
cs_dsp_coeff_lock_and_read_ctrl(9)
NAME cs_dsp_coeff_lock_and_read_ctrl - Reads the given coefficient control into the given buffer SYNOPSIS int cs_dsp_coeff_lock_and_read_ctrl (struct cs_dsp_coeff_ctl *ctl , unsigned int off , void *buf , size_t len ); ARGUMENTS ctl pointer to coefficient control off word offset at which data ...
cs_dsp_coeff_lock_and_write_ctrl(9)
NAME cs_dsp_coeff_lock_and_write_ctrl - Writes the given buffer to the given coefficient control SYNOPSIS int cs_dsp_coeff_lock_and_write_ctrl (struct cs_dsp_coeff_ctl *ctl , unsigned int off , const void *buf , size_t len ); ARGUMENTS ctl pointer to coefficient control off word offset at whic...
cs_dsp_coeff_read_ctrl(9)
NAME cs_dsp_coeff_read_ctrl - Reads the given coefficient control into the given buffer SYNOPSIS int cs_dsp_coeff_read_ctrl (struct cs_dsp_coeff_ctl *ctl , unsigned int off , void *buf , size_t len ); ARGUMENTS ctl pointer to coefficient control off word offset at which data should be read ...
cs_dsp_coeff_write_acked_control(9)
NAME cs_dsp_coeff_write_acked_control - Sends event_id to the acked control SYNOPSIS int cs_dsp_coeff_write_acked_control (struct cs_dsp_coeff_ctl *ctl , unsigned int event_id ); ARGUMENTS ctl pointer to acked coefficient control event_id the value to write to the given acked control DESCRIPTION O...
cs_dsp_coeff_write_ctrl(9)
NAME cs_dsp_coeff_write_ctrl - Writes the given buffer to the given coefficient control SYNOPSIS int cs_dsp_coeff_write_ctrl (struct cs_dsp_coeff_ctl *ctl , unsigned int off , const void *buf , size_t len ); ARGUMENTS ctl pointer to coefficient control off word offset at which data should be w...
cs_dsp_create_mock_xm_header(9)
NAME cs_dsp_create_mock_xm_header - Create a dummy XM header. SYNOPSIS struct cs_dsp_mock_xm_header * cs_dsp_create_mock_xm_header (struct cs_dsp_test *priv , const struct cs_dsp_mock_alg_def *algs , size_t num_algs ); ARGUMENTS priv Pointer to struct cs_dsp_test. algs Pointer to array of struct...
cs_dsp_find_alg_region(9)
NAME cs_dsp_find_alg_region - Finds a matching algorithm region SYNOPSIS struct cs_dsp_alg_region * cs_dsp_find_alg_region (struct cs_dsp *dsp , int type , unsigned int id ); ARGUMENTS dsp pointer to DSP structure type the algorithm type to match id the algorithm id to match R...
cs_dsp_get_ctl(9)
NAME cs_dsp_get_ctl - Finds a matching coefficient control SYNOPSIS struct cs_dsp_coeff_ctl * cs_dsp_get_ctl (struct cs_dsp *dsp , const char *name , int type , unsigned int alg ); ARGUMENTS dsp pointer to DSP structure name pointer to string to match with a control's subname type ...
cs_dsp_halo_bus_error(9)
NAME cs_dsp_halo_bus_error - Handle a DSP bus error interrupt SYNOPSIS void cs_dsp_halo_bus_error (struct cs_dsp *dsp ); ARGUMENTS dsp pointer to DSP structure DESCRIPTION The firmware and DSP state will be logged for future analysis. SEE ALSO Kernel file ./drivers/firmware/cirrus/cs_dsp.c cs_dsp_m...
cs_dsp_halo_init(9)
NAME cs_dsp_halo_init - Initialise a cs_dsp structure representing a HALO Core DSP SYNOPSIS int cs_dsp_halo_init (struct cs_dsp *dsp ); ARGUMENTS dsp pointer to DSP structure RETURN Zero for success, a negative number on error. SEE ALSO Kernel file ./drivers/firmware/cirrus/cs_dsp.c cs_dsp_mem_regi...
cs_dsp_halo_wdt_expire(9)
NAME cs_dsp_halo_wdt_expire - Handle DSP watchdog expiry SYNOPSIS void cs_dsp_halo_wdt_expire (struct cs_dsp *dsp ); ARGUMENTS dsp pointer to DSP structure DESCRIPTION This is logged for future analysis. SEE ALSO Kernel file ./drivers/firmware/cirrus/cs_dsp.c cs_dsp_mem_region_name(9), cs_dsp_in...
cs_dsp_init_debugfs(9)
NAME cs_dsp_init_debugfs - Create and populate DSP representation in debugfs SYNOPSIS void cs_dsp_init_debugfs (struct cs_dsp *dsp , struct dentry *debugfs_root ); ARGUMENTS dsp pointer to DSP structure debugfs_root pointer to debugfs directory in which to create this DSP representa...
cs_dsp_mem_region_name(9)
NAME cs_dsp_mem_region_name - Return a name string for a memory type SYNOPSIS const char * cs_dsp_mem_region_name (unsigned int type ); ARGUMENTS type the memory type to match RETURN A const string identifying the memory region. SEE ALSO Kernel file ./drivers/firmware/cirrus/cs_dsp.c cs_dsp_init_debugf...
cs_dsp_mock_base_addr_for_mem(9)
NAME cs_dsp_mock_base_addr_for_mem - Base register address for memory region. SYNOPSIS unsigned int cs_dsp_mock_base_addr_for_mem (struct cs_dsp_test *priv , int mem_type ); ARGUMENTS priv Pointer to struct cs_dsp_test. mem_type Memory region type. RETURN Base register address of region. SEE ALSO ...
cs_dsp_mock_bin_add_info(9)
NAME cs_dsp_mock_bin_add_info - Add an info block to the bin file. SYNOPSIS void cs_dsp_mock_bin_add_info (struct cs_dsp_mock_bin_builder *builder , const char *info ); ARGUMENTS builder Pointer to struct cs_dsp_mock_bin_builder. info Pointer to info string to be copied into the file. DESCRIPTION ...
cs_dsp_mock_bin_add_name(9)
NAME cs_dsp_mock_bin_add_name - Add a name block to the bin file. SYNOPSIS void cs_dsp_mock_bin_add_name (struct cs_dsp_mock_bin_builder *builder , const char *name ); ARGUMENTS builder Pointer to struct cs_dsp_mock_bin_builder. name Pointer to name string to be copied into the file. SEE ALSO Kern...
cs_dsp_mock_bin_add_patch(9)
NAME cs_dsp_mock_bin_add_patch - Add a patch data block to the bin file. SYNOPSIS void cs_dsp_mock_bin_add_patch (struct cs_dsp_mock_bin_builder *builder , unsigned int alg_id , unsigned int alg_ver , int mem_region , unsigned int reg_addr_offset , const void *payload_data , size_t payload_len_bytes ); ARGUMENTS buil...
cs_dsp_mock_bin_add_patch_off32(9)
NAME cs_dsp_mock_bin_add_patch_off32 - Add a patch data block with 32-bit offset. SYNOPSIS void cs_dsp_mock_bin_add_patch_off32 (struct cs_dsp_mock_bin_builder *builder , unsigned int alg_id , unsigned int alg_ver , int mem_region , unsigned int reg_addr_offset , const void *payload_data , size_t pay‐ load_l...
cs_dsp_mock_bin_add_raw_block(9)
NAME cs_dsp_mock_bin_add_raw_block - Add a data block to the bin file. SYNOPSIS void cs_dsp_mock_bin_add_raw_block (struct cs_dsp_mock_bin_builder *builder , unsigned int alg_id , unsigned int alg_ver , int type , u16 offset , u32 offset32 , const void *payload_data , size_t payload_len_bytes ); ARGUMENTS builder ...
cs_dsp_mock_bin_get_firmware(9)
NAME cs_dsp_mock_bin_get_firmware - Get struct firmware wrapper for data. SYNOPSIS struct firmware * cs_dsp_mock_bin_get_firmware (struct cs_dsp_mock_bin_builder *builder ); ARGUMENTS builder Pointer to struct cs_dsp_mock_bin_builder. RETURN Pointer to a struct firmware wrapper for the data. SEE ALSO Kernel fi...
cs_dsp_mock_bin_init(9)
NAME cs_dsp_mock_bin_init - Initialize a struct cs_dsp_mock_bin_builder. SYNOPSIS struct cs_dsp_mock_bin_builder * cs_dsp_mock_bin_init (struct cs_dsp_test *priv , int format_version , unsigned int fw_version ); ARGUMENTS priv Pointer to struct cs_dsp_test. format_version Required bi...
cs_dsp_mock_has_zm(9)
NAME cs_dsp_mock_has_zm - DSP has ZM SYNOPSIS bool cs_dsp_mock_has_zm (struct cs_dsp_test *priv ); ARGUMENTS priv Pointer to struct cs_dsp_test. RETURN True if DSP has ZM. SEE ALSO Kernel file ./drivers/firmware/cirrus/test/cs_dsp_mock_mem_maps.c cs_dsp_mock_size_of_region(9), cs_dsp_mock_base_addr_for_m...