id
stringlengths
4
63
text
stringlengths
153
8.81M
ads1018_single_shot(9)
NAME ads1018_single_shot - Performs a one-shot reading sequence SYNOPSIS int ads1018_single_shot (struct ads1018 *ads1018 , struct iio_chan_spec const *chan , u16 *cnv ); ARGUMENTS ads1018 Device data chan Channel specification cnv Conversion value DESCRIPTION Writes a new configur...
ads1018_spi_read_exclusive(9)
NAME ads1018_spi_read_exclusive - Reads a conversion value from the device SYNOPSIS int ads1018_spi_read_exclusive (struct ads1018 *ads1018 , __be16 *cnv , bool hold_cs ); ARGUMENTS ads1018 Device data cnv ADC Conversion value (optional) hold_cs Keep CS line asserted after the SPI tran...
ads131m_adc_read(9)
NAME ads131m_adc_read - Reads channel data, checks input and output CRCs. SYNOPSIS int ads131m_adc_read (struct ads131m_priv *priv , u8 channel , s32 *val ); ARGUMENTS priv Device private data structure. channel The channel number to read. val Pointer to store the raw 24-bit value. ...
ads131m_check_status_crc_err(9)
NAME ads131m_check_status_crc_err - Checks for an Input CRC error. SYNOPSIS int ads131m_check_status_crc_err (struct ads131m_priv *priv ); ARGUMENTS priv Device private data structure. DESCRIPTION Sends a NULL command to fetch the STATUS register and checks the CRC_ERR bit. This is used to verify the integrit...
ads131m_hw_init(9)
NAME ads131m_hw_init - Initialize the ADC hardware. SYNOPSIS int ads131m_hw_init (struct ads131m_priv *priv , struct reset_control *rstc , bool is_xtal ); ARGUMENTS priv Device private data structure. rstc Optional reset control, or NULL for software reset. is_xtal True if 'clock-nam...
ads131m_hw_reset(9)
NAME ads131m_hw_reset - Pulses the optional hardware reset. SYNOPSIS int ads131m_hw_reset (struct ads131m_priv *priv , struct reset_control *rstc ); ARGUMENTS priv Device private data structure. rstc Reset control for the /RESET line. DESCRIPTION Pulses the /RESET line to perform a hardware res...
ads131m_parse_clock(9)
NAME ads131m_parse_clock - enable clock and detect "xtal" selection SYNOPSIS int ads131m_parse_clock (struct ads131m_priv *priv , bool *is_xtal ); ARGUMENTS priv Device private data structure. is_xtal result flag (true if "xtal", false if default "clkin") RETURN 0 on success, or a negative error c...
ads131m_read_reg_unlocked(9)
NAME ads131m_read_reg_unlocked - Reads a single register from the device. SYNOPSIS int ads131m_read_reg_unlocked (struct ads131m_priv *priv , u8 reg , u16 *val ); ARGUMENTS priv Device private data structure. reg The 8-bit register address. val Pointer to store the 16-bit regist...
ads131m_reset(9)
NAME ads131m_reset - Resets the device using hardware or software. SYNOPSIS int ads131m_reset (struct ads131m_priv *priv , struct reset_control *rstc ); ARGUMENTS priv Device private data structure. rstc Optional reset control, or NULL for software reset. DESCRIPTION This function performs a ha...
ads131m_rmw_reg(9)
NAME ads131m_rmw_reg - Reads, modifies, and writes a single register. SYNOPSIS int ads131m_rmw_reg (struct ads131m_priv *priv , u8 reg , u16 clear , u16 set ); ARGUMENTS priv Device private data structure. reg The 8-bit register address. clear Bitmask of bits to clear. set...
ads131m_rx_frame_unlocked(9)
NAME ads131m_rx_frame_unlocked - Receives a full SPI data frame. SYNOPSIS int ads131m_rx_frame_unlocked (struct ads131m_priv *priv ); ARGUMENTS priv Device private data structure. DESCRIPTION This function sends a NULL command (with its CRC) to clock out a full SPI frame from the device (e.g., response + chan...
ads131m_sw_reset(9)
NAME ads131m_sw_reset - Issues a software RESET and verifies ACK. SYNOPSIS int ads131m_sw_reset (struct ads131m_priv *priv ); ARGUMENTS priv Device private data structure. DESCRIPTION This function sends a RESET command (with Input CRC), waits t_REGACQ, reads back the RESET ACK, and then sends a final NULL to...
ads131m_tx_frame_unlocked(9)
NAME ads131m_tx_frame_unlocked - Sends a command frame with Input CRC SYNOPSIS int ads131m_tx_frame_unlocked (struct ads131m_priv *priv , u32 command ); ARGUMENTS priv Device private data structure. command The 16-bit command to send (e.g., NULL, RREG, RESET). DESCRIPTION This function sends a com...
ads131m_verify_output_crc(9)
NAME ads131m_verify_output_crc - Verifies the CRC of the received SPI frame. SYNOPSIS int ads131m_verify_output_crc (struct ads131m_priv *priv ); ARGUMENTS priv Device private data structure. DESCRIPTION This function calculates the CRC-16-CCITT (Poly 0x1021, Seed 0xFFFF) over the received response and channe...
ads131m_write_reg_unlocked(9)
NAME ads131m_write_reg_unlocked - Writes a single register and verifies the ACK. SYNOPSIS int ads131m_write_reg_unlocked (struct ads131m_priv *priv , u8 reg , u16 val ); ARGUMENTS priv Device private data structure. reg The 8-bit register address. val The 16-bit value to write. ...
adv748x_csi2_register_link(9)
NAME adv748x_csi2_register_link - Register and link internal entities SYNOPSIS int adv748x_csi2_register_link (struct adv748x_csi2 *tx , struct v4l2_device *v4l2_dev , struct v4l2_subdev *src , unsigned int src_pad , bool enable ); ARGUMENTS tx CSI2 private entity v4l2_dev Video registration devic...
advance_phase(9)
NAME advance_phase - Increment the phase of the current admin operation and prepare the admin completion to run on the thread for the next phase. SYNOPSIS u32 advance_phase (struct vdo *vdo ); ARGUMENTS vdo The vdo on which an admin operation is being performed. RETURN The current phase. SEE ALSO Kernel f...
advance_points(9)
NAME advance_points - Advance the current recovery and journal points. SYNOPSIS void advance_points (struct repair_completion *repair , journal_entry_count_t entries_per_block ); ARGUMENTS repair The repair_completion whose points are to be advanced. entries_per_block The number of ent...
advance_search_cursor(9)
NAME advance_search_cursor - Advance the search cursor to the start of the next reference block in a slab. SYNOPSIS bool advance_search_cursor (struct vdo_slab *slab ); ARGUMENTS slab The slab. DESCRIPTION Wraps around to the first reference block if the current block is the last reference block. RETURN True...
advance_tail(9)
NAME advance_tail - Advance the tail of the journal. SYNOPSIS bool advance_tail (struct recovery_journal *journal ); ARGUMENTS journal The journal whose tail should be advanced. RETURN true if the tail was advanced. SEE ALSO Kernel file ./drivers/md/dm-vdo/recovery-journal.c Kernel API(9), get_zone_count_pt...
adxl313_core_probe(9)
NAME adxl313_core_probe - probe and setup for adxl313 accelerometer SYNOPSIS int adxl313_core_probe (struct device *dev , struct regmap *regmap , const struct adxl313_chip_info *chip_info , int (*setup)(struct device *, struct regmap *) ); ARGUMENTS dev Driver model representation of the device regmap...
adxl313_fifo_reset(9)
NAME adxl313_fifo_reset - Reset the FIFO and interrupt status registers. SYNOPSIS void adxl313_fifo_reset (struct adxl313_data *data ); ARGUMENTS data The device data. DESCRIPTION Reset the FIFO status registers. Reading out status registers clears the FIFO and interrupt configuration. Thus do not evaluate ...
adxl313_is_act_inact_ac(9)
NAME adxl313_is_act_inact_ac - Check if AC coupling is enabled. SYNOPSIS int adxl313_is_act_inact_ac (struct adxl313_data *data , enum adxl313_activity_type type ); ARGUMENTS data The device data. type The activity or inactivity type. DESCRIPTION Provide a type of activity or inactivity, combin...
adxl345_core_probe(9)
NAME adxl345_core_probe - Probe and setup for the accelerometer. SYNOPSIS int adxl345_core_probe (struct device *dev , struct regmap *regmap , bool fifo_delay_default , int (*setup)(struct device*, struct regmap*) ); ARGUMENTS dev Driver model representation of the device regmap Regmap instance f...
adxl345_fifo_reset(9)
NAME adxl345_fifo_reset - Empty the FIFO in error condition. SYNOPSIS void adxl345_fifo_reset (struct adxl345_state *st ); ARGUMENTS st The instance to the state object of the sensor. DESCRIPTION Read all elements of the FIFO. Reading the interrupt source register resets the sensor. SEE ALSO Kernel file ...
adxl345_fifo_transfer(9)
NAME adxl345_fifo_transfer - Read samples number of elements. SYNOPSIS int adxl345_fifo_transfer (struct adxl345_state *st , int samples ); ARGUMENTS st The instance of the state object of this sensor. samples The number of lines in the FIFO referred to as fifo_entry. DESCRIPTION It is recomme...
adxl345_get_samples(9)
NAME adxl345_get_samples - Read number of FIFO entries. SYNOPSIS int adxl345_get_samples (struct adxl345_state *st ); ARGUMENTS st The initialized state instance of this driver. DESCRIPTION The sensor does not support treating any axis individually, or exclude them from measuring. RETURN negative error, or...
adxl345_irq_handler(9)
NAME adxl345_irq_handler - Handle irqs of the ADXL345. SYNOPSIS irqreturn_t adxl345_irq_handler (int irq , void *p ); ARGUMENTS irq The irq being handled. p The struct iio_device pointer for the device. RETURN The interrupt was handled. SEE ALSO Kernel file ./drivers/iio/accel/adxl345_...
adxl345_is_act_inact_ac(9)
NAME adxl345_is_act_inact_ac - Verify if AC or DC coupling is currently enabled. SYNOPSIS int adxl345_is_act_inact_ac (struct adxl345_state *st , enum adxl345_activity_type type ); ARGUMENTS st The device data. type The activity or inactivity type. DESCRIPTION Given a type of activity / inact...
adxl345_set_act_inact_ac(9)
NAME adxl345_set_act_inact_ac - Configure AC coupling or DC coupling. SYNOPSIS int adxl345_set_act_inact_ac (struct adxl345_state *st , enum adxl345_activity_type type , bool cmd_en ); ARGUMENTS st The device data. type Provide a type of activity or inactivity. cmd_en enable or di...
adxl345_set_inact_time(9)
NAME adxl345_set_inact_time - Configure inactivity time explicitly or by ODR. SYNOPSIS int adxl345_set_inact_time (struct adxl345_state *st , u32 val_int , u32 val_fract ); ARGUMENTS st The sensor state instance. val_int The inactivity time, integer part. val_fract The inactivity time, ...
adxl345_set_measure_en(9)
NAME adxl345_set_measure_en - Enable and disable measuring. SYNOPSIS int adxl345_set_measure_en (struct adxl345_state *st , bool en ); ARGUMENTS st The device data. en Enable measurements, else standby mode. DESCRIPTION For lowest power operation, standby mode can be used. In standby mo...
adxl_decode(9)
NAME adxl_decode - ask BIOS to decode a system address to memory address SYNOPSIS int adxl_decode (u64 addr , u64 component_values[] ); ARGUMENTS addr the address to decode component_values pointer to array of values for each component Returns 0 on success, negative error code otherw...
adxl_get_component_names(9)
NAME adxl_get_component_names - get list of memory component names Returns NULL terminated list of string names SYNOPSIS const char * const * adxl_get_component_names (void ); ARGUMENTS void no arguments DESCRIPTION Give the caller a pointer to the list of memory component names e.g. { "SystemAddress", "Pro...
adxrs450_spi_initial(9)
NAME adxrs450_spi_initial - use for initializing procedure. SYNOPSIS int adxrs450_spi_initial (struct adxrs450_state *st , u32 *val , char chk ); ARGUMENTS st device instance specific data val somewhere to pass back the value read chk Whether to perform fault check SEE ALSO K...
adxrs450_spi_read_reg_16(9)
NAME adxrs450_spi_read_reg_16 - read 2 bytes from a register pair SYNOPSIS int adxrs450_spi_read_reg_16 (struct iio_dev *indio_dev , u8 reg_address , u16 *val ); ARGUMENTS indio_dev device associated with child of actual iio_dev reg_address the address of the lower of the two registers, which should be an e...
adxrs450_spi_sensor_data(9)
NAME adxrs450_spi_sensor_data - read 2 bytes sensor data SYNOPSIS int adxrs450_spi_sensor_data (struct iio_dev *indio_dev , s16 *val ); ARGUMENTS indio_dev device associated with child of actual iio_dev val somewhere to pass back the value read SEE ALSO Kernel file ./drivers/iio/gyro/adxrs450.c str...
adxrs450_spi_write_reg_16(9)
NAME adxrs450_spi_write_reg_16 - write 2 bytes data to a register pair SYNOPSIS int adxrs450_spi_write_reg_16 (struct iio_dev *indio_dev , u8 reg_address , u16 val ); ARGUMENTS indio_dev device associated with child of actual actual iio_dev reg_address the address of the lower of the two registers,which sho...
aead_ccm_esp_setkey(9)
NAME aead_ccm_esp_setkey - setkey() operation for ESP variant of CCM AES. SYNOPSIS int aead_ccm_esp_setkey (struct crypto_aead *cipher , const u8 *key , unsigned int keylen ); ARGUMENTS cipher AEAD structure key Key followed by 4 bytes of salt keylen Length of key plus salt, in bytes...
aead_gcm_esp_setkey(9)
NAME aead_gcm_esp_setkey - setkey() operation for ESP variant of GCM AES. SYNOPSIS int aead_gcm_esp_setkey (struct crypto_aead *cipher , const u8 *key , unsigned int keylen ); ARGUMENTS cipher AEAD structure key Key followed by 4 bytes of salt keylen Length of key plus salt, in bytes...
aead_request_alloc(9)
NAME aead_request_alloc - allocate request data structure SYNOPSIS struct aead_request * aead_request_alloc (struct crypto_aead *tfm , gfp_t gfp ); ARGUMENTS tfm cipher handle to be registered with the request gfp memory allocation flag that is handed to kmalloc by the API call. DESCRIPTION A...
aead_request_free(9)
NAME aead_request_free - zeroize and free request data structure SYNOPSIS void aead_request_free (struct aead_request *req ); ARGUMENTS req request data structure cipher handle to be freed SEE ALSO Kernel file ./include/crypto/aead.h Kernel API(9), struct aead_request(9), struct aead_alg(9), cryp...
aead_request_set_ad(9)
NAME aead_request_set_ad - set associated data information SYNOPSIS void aead_request_set_ad (struct aead_request *req , unsigned int assoclen ); ARGUMENTS req request handle assoclen number of bytes in associated data DESCRIPTION Setting the AD information. This function sets the length of the a...
aead_request_set_callback(9)
NAME aead_request_set_callback - set asynchronous callback function SYNOPSIS void aead_request_set_callback (struct aead_request *req , u32 flags , crypto_completion_t compl , void *data ); ARGUMENTS req request handle flags specify zero or an ORing of the flags CRYPTO_TFM_REQ_MAY_BACKLOG the r...
aead_request_set_crypt(9)
NAME aead_request_set_crypt - set data buffers SYNOPSIS void aead_request_set_crypt (struct aead_request *req , struct scatterlist *src , struct scatterlist *dst , unsigned int cryptlen , u8 *iv ); ARGUMENTS req request handle src source scatter / gather list dst destination sc...
aead_request_set_tfm(9)
NAME aead_request_set_tfm - update cipher handle reference in request SYNOPSIS void aead_request_set_tfm (struct aead_request *req , struct crypto_aead *tfm ); ARGUMENTS req request handle to be modified tfm cipher handle that shall be added to the request handle DESCRIPTION Allow the caller ...
aemif_calc_rate(9)
NAME aemif_calc_rate - calculate timing data. SYNOPSIS u32 aemif_calc_rate (struct platform_device *pdev , int wanted , unsigned long clk ); ARGUMENTS pdev platform device to calculate for wanted The cycle time needed in nanoseconds. clk The input clock rate in kHz. RETURN the cal...
aemif_check_cs_timings(9)
NAME aemif_check_cs_timings - Check the validity of a CS timing configuration. SYNOPSIS int aemif_check_cs_timings (struct aemif_cs_timings *timings ); ARGUMENTS timings timings configuration RETURN 0 if the timing configuration is valid, negative error number otherwise. SEE ALSO Kernel file ./drivers/memory/ti...
aemif_config_abus(9)
NAME aemif_config_abus - configure async bus parameters SYNOPSIS int aemif_config_abus (struct platform_device *pdev , int csnum ); ARGUMENTS pdev platform device to configure for csnum aemif chip select number DESCRIPTION This function programs the given timing values (in real clock) into the ...
aemif_get_hw_params(9)
NAME aemif_get_hw_params - function to read hw register values SYNOPSIS void aemif_get_hw_params (struct platform_device *pdev , int csnum ); ARGUMENTS pdev platform device to read for csnum aemif chip select number DESCRIPTION This function reads the defaults from the registers and update the t...
aemif_set_cs_timings(9)
NAME aemif_set_cs_timings - Set the timing configuration of a given chip select. SYNOPSIS int aemif_set_cs_timings (struct aemif_device *aemif , u8 cs , struct aemif_cs_timings *timings ); ARGUMENTS aemif aemif device to configure cs index of the chip select to configure timings tim...
aeq_elements_init(9)
NAME aeq_elements_init - initialize all the elements in the aeq SYNOPSIS void aeq_elements_init (struct hinic_eq *eq , u32 init_val ); ARGUMENTS eq the Async Event Queue init_val value to initialize the elements with it SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c hini...
aeq_interrupt(9)
NAME aeq_interrupt - aeq interrupt handler SYNOPSIS irqreturn_t aeq_interrupt (int irq , void *data ); ARGUMENTS irq irq number data the Async Event Queue that collected the event SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c hinic_aeq_register_hw_cb(9), hinic_aeq...
aeq_irq_handler(9)
NAME aeq_irq_handler - handler for the AEQ event SYNOPSIS void aeq_irq_handler (struct hinic_eq *eq ); ARGUMENTS eq the Async Event Queue that received the event SEE ALSO Kernel file ./drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.c hinic_aeq_register_hw_cb(9), hinic_aeq_unregister_hw_cb(9), hinic_ceq_reg...
aer_disable_rootport(9)
NAME aer_disable_rootport - disable Root Port's interrupts when receiving messages SYNOPSIS void aer_disable_rootport (struct aer_rpc *rpc ); ARGUMENTS rpc pointer to a Root Port data structure DESCRIPTION Invoked when PCIe bus unloads AER service driver. SEE ALSO Kernel file ./drivers/pci/pcie/aer.c ...
aer_enable_rootport(9)
NAME aer_enable_rootport - enable Root Port's interrupts when receiving messages SYNOPSIS void aer_enable_rootport (struct aer_rpc *rpc ); ARGUMENTS rpc pointer to a Root Port data structure DESCRIPTION Invoked when PCIe bus loads AER service driver. SEE ALSO Kernel file ./drivers/pci/pcie/aer.c enabl...
aer_get_device_error_info(9)
NAME aer_get_device_error_info - read error status from dev and store it to info SYNOPSIS int aer_get_device_error_info (struct aer_err_info *info , int i ); ARGUMENTS info pointer to structure to store the error record i index into info->dev[] RETURN 1 on success, 0 on error. DESCRIPTION N...
aer_irq(9)
NAME aer_irq - Root Port's ISR SYNOPSIS irqreturn_t aer_irq (int irq , void *context ); ARGUMENTS irq IRQ assigned to Root Port context pointer to Root Port data structure DESCRIPTION Invoked when Root Port detects AER messages. SEE ALSO Kernel file ./drivers/pci/pcie/aer.c enable_ecrc_che...
aer_isr(9)
NAME aer_isr - consume errors detected by Root Port SYNOPSIS irqreturn_t aer_isr (int irq , void *context ); ARGUMENTS irq IRQ assigned to Root Port context pointer to Root Port data structure DESCRIPTION Invoked, as DPC, when Root Port records new detected error SEE ALSO Kernel file ./drive...
aer_isr_one_error(9)
NAME aer_isr_one_error - consume error(s) signaled by an AER interrupt from Root Port or RCEC SYNOPSIS void aer_isr_one_error (struct pci_dev *root , struct aer_err_source *e_src ); ARGUMENTS root pointer to Root Port or RCEC that signaled AER interrupt e_src pointer to an error source SEE ALSO ...
aer_isr_one_error_type(9)
NAME aer_isr_one_error_type - consume a Correctable or Uncorrectable Error detected by Root Port or RCEC SYNOPSIS void aer_isr_one_error_type (struct pci_dev *root , struct aer_err_info *info ); ARGUMENTS root pointer to Root Port or RCEC that signaled AER interrupt info pointer to AER error inf...
aer_probe(9)
NAME aer_probe - initialize resources SYNOPSIS int aer_probe (struct pcie_device *dev ); ARGUMENTS dev pointer to the pcie_dev data structure DESCRIPTION Invoked when PCI Express bus loads AER service driver. SEE ALSO Kernel file ./drivers/pci/pcie/aer.c enable_ecrc_checking(9), disable_ecrc_checking...
aer_remove(9)
NAME aer_remove - clean up resources SYNOPSIS void aer_remove (struct pcie_device *dev ); ARGUMENTS dev pointer to the pcie_dev data structure DESCRIPTION Invoked when PCI Express bus unloads or AER probe fails. SEE ALSO Kernel file ./drivers/pci/pcie/aer.c enable_ecrc_checking(9), disable_ecrc_check...
aer_root_reset(9)
NAME aer_root_reset - reset Root Port hierarchy, RCEC, or RCiEP SYNOPSIS pci_ers_result_t aer_root_reset (struct pci_dev *dev ); ARGUMENTS dev pointer to Root Port, RCEC, or RCiEP DESCRIPTION Invoked by Port Bus driver when performing reset. SEE ALSO Kernel file ./drivers/pci/pcie/aer.c enable_ecrc_ch...
aer_tlp_log_len(9)
NAME aer_tlp_log_len - Calculate AER Capability TLP Header/Prefix Log length SYNOPSIS unsigned int aer_tlp_log_len (struct pci_dev *dev , u32 aercc ); ARGUMENTS dev PCIe device aercc AER Capabilities and Control register value RETURN TLP Header/Prefix Log length SEE ALSO Kernel file ./drivers/...
aes_decrypt(9)
NAME aes_decrypt - Decrypt a single AES block SYNOPSIS void aes_decrypt (const struct aes_key *key , u8 out[at_least AES_BLOCK_SIZE] , const u8 in[at_least AES_BLOCK_SIZE] ); ARGUMENTS key The AES key, previously initialized by aes_preparekey out Buffer to store the plaintext block in ...
aes_encrypt(9)
NAME aes_encrypt - Encrypt a single AES block SYNOPSIS void aes_encrypt (aes_encrypt_arg key , u8 out[at_least AES_BLOCK_SIZE] , const u8 in[at_least AES_BLOCK_SIZE] ); ARGUMENTS key The AES key, as a pointer to either an encryption-only key (struct aes_enckey) or a full, bidirectional key (struct aes_key). ...
aes_expandkey(9)
NAME aes_expandkey - Expands the AES key as described in FIPS-197 SYNOPSIS int aes_expandkey (struct crypto_aes_ctx *ctx , const u8 *in_key , unsigned int key_len ); ARGUMENTS ctx The location where the computed key will be stored. in_key The supplied key. key_len The length of the su...
aes_prepareenckey(9)
NAME aes_prepareenckey - Prepare an AES key for encryption-only SYNOPSIS int aes_prepareenckey (struct aes_enckey *key , const u8 *in_key , size_t key_len ); ARGUMENTS key (output) The key structure to initialize in_key The raw AES key key_len Length of the raw key in bytes. Should b...
aes_preparekey(9)
NAME aes_preparekey - Prepare an AES key for encryption and decryption SYNOPSIS int aes_preparekey (struct aes_key *key , const u8 *in_key , size_t key_len ); ARGUMENTS key (output) The key structure to initialize in_key The raw AES key key_len Length of the raw key in bytes. Should ...
aescfb_decrypt(9)
NAME aescfb_decrypt - Perform AES-CFB decryption on a block of data SYNOPSIS void aescfb_decrypt (const struct aes_enckey *key , u8 *dst , const u8 *src , int len , const u8 iv[AES_BLOCK_SIZE] ); ARGUMENTS key The AES-CFB key schedule dst Pointer to the plaintext output buffer src ...
aescfb_encrypt(9)
NAME aescfb_encrypt - Perform AES-CFB encryption on a block of data SYNOPSIS void aescfb_encrypt (const struct aes_enckey *key , u8 *dst , const u8 *src , int len , const u8 iv[AES_BLOCK_SIZE] ); ARGUMENTS key The AES-CFB key schedule dst Pointer to the ciphertext output buffer src ...
aesgcm_decrypt(9)
NAME aesgcm_decrypt - Perform AES-GCM decryption on a block of data SYNOPSIS bool aesgcm_decrypt (const struct aesgcm_ctx *ctx , u8 *dst , const u8 *src , int crypt_len , const u8 *assoc , int assoc_len , const u8 iv[GCM_AES_IV_SIZE] , const u8 *authtag ); ARGUMENTS ctx The AES-GCM key schedule dst ...
aesgcm_encrypt(9)
NAME aesgcm_encrypt - Perform AES-GCM encryption on a block of data SYNOPSIS void aesgcm_encrypt (const struct aesgcm_ctx *ctx , u8 *dst , const u8 *src , int crypt_len , const u8 *assoc , int assoc_len , const u8 iv[GCM_AES_IV_SIZE] , u8 *authtag ); ARGUMENTS ctx The AES-GCM key schedule dst ...
aesgcm_expandkey(9)
NAME aesgcm_expandkey - Expands the AES and GHASH keys for the AES-GCM key schedule SYNOPSIS int aesgcm_expandkey (struct aesgcm_ctx *ctx , const u8 *key , unsigned int keysize , unsigned int authsize ); ARGUMENTS ctx The data structure that will hold the AES-GCM key schedule key The AES encry...
aesgcm_mac(9)
NAME aesgcm_mac - Generates the authentication tag using AES-GCM algorithm. SYNOPSIS void aesgcm_mac (const struct aesgcm_ctx *ctx , const u8 *src , int src_len , const u8 *assoc , int assoc_len , __be32 *ctr , u8 *authtag ); ARGUMENTS ctx The data structure that will hold the AES-GCM key schedule src...
af_alg_alloc_areq(9)
NAME af_alg_alloc_areq - allocate struct af_alg_async_req SYNOPSIS struct af_alg_async_req * af_alg_alloc_areq (struct sock *sk , unsigned int areqlen ); ARGUMENTS sk socket of connection to user space areqlen size of struct af_alg_async_req + crypto_*_reqsize RETURN allocated data structure or ...
af_alg_alloc_tsgl(9)
NAME af_alg_alloc_tsgl - allocate the TX SGL SYNOPSIS int af_alg_alloc_tsgl (struct sock *sk ); ARGUMENTS sk socket of connection to user space RETURN 0 upon success, < 0 upon error SEE ALSO Kernel file ./crypto/af_alg.c af_alg_count_tsgl(9), af_alg_pull_tsgl(9), af_alg_free_areq_sgls(9), af_alg_wait...
af_alg_async_cb(9)
NAME af_alg_async_cb - AIO callback handler SYNOPSIS void af_alg_async_cb (void *data , int err ); ARGUMENTS data async request completion data err if non-zero, error result to be returned via ki_complete; otherwise return the AIO output length via ki_complete. DESCRIPTION This handler cleans ...
af_alg_count_tsgl(9)
NAME af_alg_count_tsgl - Count number of TX SG entries SYNOPSIS unsigned int af_alg_count_tsgl (struct sock *sk , size_t bytes ); ARGUMENTS sk socket of connection to user space bytes Count the number of SG entries holding given number of bytes. DESCRIPTION The counting starts from the beginni...
af_alg_data_wakeup(9)
NAME af_alg_data_wakeup - wakeup caller when new data can be sent to kernel SYNOPSIS void af_alg_data_wakeup (struct sock *sk ); ARGUMENTS sk socket of connection to user space SEE ALSO Kernel file ./crypto/af_alg.c af_alg_alloc_tsgl(9), af_alg_count_tsgl(9), af_alg_pull_tsgl(9), af_alg_free_areq_sgls...
af_alg_free_areq_sgls(9)
NAME af_alg_free_areq_sgls - Release TX and RX SGLs of the request SYNOPSIS void af_alg_free_areq_sgls (struct af_alg_async_req *areq ); ARGUMENTS areq Request holding the TX and RX SGL SEE ALSO Kernel file ./crypto/af_alg.c af_alg_alloc_tsgl(9), af_alg_count_tsgl(9), af_alg_pull_tsgl(9), af_alg_wait_...
af_alg_free_resources(9)
NAME af_alg_free_resources - release resources required for crypto request SYNOPSIS void af_alg_free_resources (struct af_alg_async_req *areq ); ARGUMENTS areq Request holding the TX and RX SGL SEE ALSO Kernel file ./crypto/af_alg.c af_alg_alloc_tsgl(9), af_alg_count_tsgl(9), af_alg_pull_tsgl(9), af_alg_...
af_alg_get_rsgl(9)
NAME af_alg_get_rsgl - create the RX SGL for the output data from the crypto operation SYNOPSIS int af_alg_get_rsgl (struct sock *sk , struct msghdr *msg , int flags , struct af_alg_async_req *areq , size_t maxsize , size_t *outlen ); ARGUMENTS sk socket of connection to user space msg user s...
af_alg_poll(9)
NAME af_alg_poll - poll system call handler SYNOPSIS __poll_t af_alg_poll (struct file *file , struct socket *sock , poll_table *wait ); ARGUMENTS file file pointer sock socket to poll wait poll_table SEE ALSO Kernel file ./crypto/af_alg.c af_alg_alloc_tsgl(9), af_alg_count_t...
af_alg_pull_tsgl(9)
NAME af_alg_pull_tsgl - Release the specified buffers from TX SGL SYNOPSIS void af_alg_pull_tsgl (struct sock *sk , size_t used , struct scatterlist *dst ); ARGUMENTS sk socket of connection to user space used Number of bytes to pull from TX SGL dst If non-NULL, buffer is reass...
af_alg_sendmsg(9)
NAME af_alg_sendmsg - implementation of sendmsg system call handler SYNOPSIS int af_alg_sendmsg (struct socket *sock , struct msghdr *msg , size_t size , unsigned int ivsize ); ARGUMENTS sock socket of connection to user space msg message from user space size size of message from...
af_alg_wait_for_data(9)
NAME af_alg_wait_for_data - wait for availability of TX data SYNOPSIS int af_alg_wait_for_data (struct sock *sk , unsigned flags , unsigned min ); ARGUMENTS sk socket of connection to user space flags If MSG_DONTWAIT is set, then only report if function would sleep min Set to mi...
af_alg_wait_for_wmem(9)
NAME af_alg_wait_for_wmem - wait for availability of writable memory SYNOPSIS int af_alg_wait_for_wmem (struct sock *sk , unsigned int flags ); ARGUMENTS sk socket of connection to user space flags If MSG_DONTWAIT is set, then only report if function would sleep RETURN 0 when writable memory i...
af_alg_wmem_wakeup(9)
NAME af_alg_wmem_wakeup - wakeup caller when writable memory is available SYNOPSIS void af_alg_wmem_wakeup (struct sock *sk ); ARGUMENTS sk socket of connection to user space SEE ALSO Kernel file ./crypto/af_alg.c af_alg_alloc_tsgl(9), af_alg_count_tsgl(9), af_alg_pull_tsgl(9), af_alg_free_areq_sgls(9...
afe_port_send_usb_dev_param(9)
NAME afe_port_send_usb_dev_param - Send USB dev token SYNOPSIS int afe_port_send_usb_dev_param (struct q6afe_port *port , int cardidx , int pcmidx ); ARGUMENTS port Instance of afe port cardidx USB SND card index to reference pcmidx USB SND PCM device index to reference DESCRIPTION Th...
afm2afm(1)
NAME afm2afm - reencode an afm file SYNOPSIS afm2afm [-help] [-version] [-encoding=<encodingfile>] [-kpx=<kpxfile>] [-output=<outputfile>] <afmfile> DESCRIPTION afm2afm re-encodes an afm file. Metrics (including kerning data) for characters not present in the chosen encoding are excluded from the output, whic...
afm2pl(1)
NAME afm2pl - convert AFM font metrics to TeX pl font metrics SYNOPSIS afm2pl [-p encoding_file] [-o] [-e extension_factor] [-s slant_factor] [-f font_dimensions] [-k] [-m letter_spacing] [-l ligkern_spec] [-L ligkern_spec] [-n] input_file[.afm] [output_file[.pl]] afm2pl [--help] | [--version] DESCRIP...
afm2tfm(1)
NAME afm2tfm - convert Adobe font metrics to TeX font metrics DESCRIPTION PostScript fonts are (or should be) accompanied by font metric files such as Times-Roman.afm, which describes the characteristics of the font called Times-Roman. To use such fonts with TeX, we need TFM files that contain similar information. Th...
afs_syscall(2)
NAME afs_syscall, break, fattach, fdetach, ftime, getmsg, getpmsg, gtty, isastream, lock, madvise1, mpx, prof, profil, putmsg, putpmsg, security, stty, tuxcall, ulimit, vserver - unimplemented system calls SYNOPSIS Unimplemented system calls. DESCRIPTION These system calls are not implemented in the Linux kernel. RE...
after_state_ch(9)
NAME after_state_ch - Perform after state change actions that may sleep SYNOPSIS void after_state_ch (struct drbd_device *device , union drbd_state os , union drbd_state ns , enum chg_state_flags flags , struct drbd_state_change *state_change ); ARGUMENTS device DRBD device. os old state. ...
afu_dma_check_continuous_pages(9)
NAME afu_dma_check_continuous_pages - check if pages are continuous SYNOPSIS bool afu_dma_check_continuous_pages (struct dfl_afu_dma_region *region ); ARGUMENTS region dma memory region DESCRIPTION Return true if pages of given dma memory region have continuous physical address, otherwise return false. SEE ALS...
afu_dma_map_region(9)
NAME afu_dma_map_region - map memory region for dma SYNOPSIS int afu_dma_map_region (struct dfl_feature_dev_data *fdata , u64 user_addr , u64 length , u64 *iova ); ARGUMENTS fdata feature dev data user_addr address of the memory region length size of the memory region iova ...
afu_dma_pin_pages(9)
NAME afu_dma_pin_pages - pin pages of given dma memory region SYNOPSIS int afu_dma_pin_pages (struct dfl_feature_dev_data *fdata , struct dfl_afu_dma_region *region ); ARGUMENTS fdata feature dev data region dma memory region to be pinned DESCRIPTION Pin all the pages of given dfl_afu_dma_region. ...
afu_dma_region_add(9)
NAME afu_dma_region_add - add given dma region to rbtree SYNOPSIS int afu_dma_region_add (struct dfl_feature_dev_data *fdata , struct dfl_afu_dma_region *region ); ARGUMENTS fdata feature dev data region dma region to be added DESCRIPTION Return 0 for success, -EEXIST if dma region has already bee...