id
stringlengths
4
63
text
stringlengths
153
8.81M
adf_cfg_add_key_value_param(9)
NAME adf_cfg_add_key_value_param - Add key-value config entry to config table. SYNOPSIS int adf_cfg_add_key_value_param (struct adf_accel_dev *accel_dev , const char *section_name , const char *key , const void *val , enum adf_cfg_val_type type ); ARGUMENTS accel_dev Pointer to acceleration device. section_...
adf_cfg_dev_add(9)
NAME adf_cfg_dev_add - Create an acceleration device configuration table. SYNOPSIS int adf_cfg_dev_add (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function creates a configuration table for the given acceleration device. The table stores device specific conf...
adf_cfg_dev_remove(9)
NAME adf_cfg_dev_remove - Clears acceleration device configuration table. SYNOPSIS void adf_cfg_dev_remove (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function removes configuration table from the given acceleration device and frees all allocated memory. To ...
adf_cfg_section_add(9)
NAME adf_cfg_section_add - Add config section entry to config table. SYNOPSIS int adf_cfg_section_add (struct adf_accel_dev *accel_dev , const char *name ); ARGUMENTS accel_dev Pointer to acceleration device. name Name of the section DESCRIPTION Function adds configuration section where key - value ...
adf_clean_vf_map(9)
NAME adf_clean_vf_map - Cleans VF id mappings SYNOPSIS void adf_clean_vf_map (bool vf ); ARGUMENTS vf flag indicating whether mappings is cleaned for vfs only or for vfs and pfs DESCRIPTION Function cleans internal ids for virtual functions. SEE ALSO Kernel file ./drivers/crypto/intel/qat/qat_common/ad...
adf_cleanup_etr_data(9)
NAME adf_cleanup_etr_data - Clear transport rings for acceleration device SYNOPSIS void adf_cleanup_etr_data (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function is the clears the communications channels (rings) of the acceleration device accel_dev. To be us...
adf_dbgfs_add(9)
NAME adf_dbgfs_add - add non-persistent debugfs entries SYNOPSIS void adf_dbgfs_add (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION This function creates debugfs entries that are not persistent through a device state change (from up to down or vice versa). SEE A...
adf_dbgfs_exit(9)
NAME adf_dbgfs_exit - remove persistent debugfs entries SYNOPSIS void adf_dbgfs_exit (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. SEE ALSO Kernel file ./drivers/crypto/intel/qat/qat_common/adf_dbgfs.c adf_dbgfs_init(9), adf_dbgfs_add(9), adf_dbgfs_rm(9) April 2026 ...
adf_dbgfs_init(9)
NAME adf_dbgfs_init - add persistent debugfs entries SYNOPSIS void adf_dbgfs_init (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION This function creates debugfs entries that are persistent through a device state change (from up to down or vice versa). SEE ALSO Ke...
adf_dbgfs_rm(9)
NAME adf_dbgfs_rm - remove non-persistent debugfs entries SYNOPSIS void adf_dbgfs_rm (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. SEE ALSO Kernel file ./drivers/crypto/intel/qat/qat_common/adf_dbgfs.c adf_dbgfs_init(9), adf_dbgfs_exit(9), adf_dbgfs_add(9) April 2026 ...
adf_dev_get(9)
NAME adf_dev_get - Increment accel_dev reference count SYNOPSIS int adf_dev_get (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Increment the accel_dev refcount and if this is the first time incrementing it during this period the accel_dev is in use, increment th...
adf_dev_in_use(9)
NAME adf_dev_in_use - Check whether accel_dev is currently in use SYNOPSIS int adf_dev_in_use (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION To be used by QAT device specific drivers. RETURN 1 when device is in use, 0 otherwise. SEE ALSO Kernel file ./driv...
adf_dev_init(9)
NAME adf_dev_init - Init data structures and services for the given accel device SYNOPSIS int adf_dev_init (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Initialize the ring data structures and the admin comms and arbitration services. RETURN 0 on success, erro...
adf_dev_measure_clock(9)
NAME adf_dev_measure_clock - measures device clock frequency SYNOPSIS int adf_dev_measure_clock (struct adf_accel_dev *accel_dev , u32 *frequency , u32 min , u32 max ); ARGUMENTS accel_dev Pointer to acceleration device. frequency Pointer to variable where result will be stored min Minimal...
adf_dev_put(9)
NAME adf_dev_put - Decrement accel_dev reference count SYNOPSIS void adf_dev_put (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Decrement the accel_dev refcount and if this is the last time decrementing it during this period the accel_dev is in use, decrement th...
adf_dev_shutdown(9)
NAME adf_dev_shutdown - shutdown acceleration services and data strucutures SYNOPSIS void adf_dev_shutdown (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device DESCRIPTION Cleanup the ring data structures and the admin comms and arbitration services. SEE ALSO Kernel file ./driver...
adf_dev_start(9)
NAME adf_dev_start - Start acceleration service for the given accel device SYNOPSIS int adf_dev_start (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function notifies all the registered services that the acceleration device is ready to be used. To be used by QA...
adf_dev_started(9)
NAME adf_dev_started - Check whether device has started SYNOPSIS int adf_dev_started (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION To be used by QAT device specific drivers. RETURN 1 when the device has started, 0 otherwise SEE ALSO Kernel file ./drivers/cr...
adf_dev_stop(9)
NAME adf_dev_stop - Stop acceleration service for the given accel device SYNOPSIS void adf_dev_stop (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function notifies all the registered services that the acceleration device is shuting down. To be used by QAT devi...
adf_devmgr_add_dev(9)
NAME adf_devmgr_add_dev - Add accel_dev to the acceleration framework SYNOPSIS int adf_devmgr_add_dev (struct adf_accel_dev *accel_dev , struct adf_accel_dev *pf ); ARGUMENTS accel_dev Pointer to acceleration device. pf Corresponding PF if the accel_dev is a VF DESCRIPTION Function adds accelerati...
adf_devmgr_in_reset(9)
NAME adf_devmgr_in_reset - Check whether device is in reset SYNOPSIS int adf_devmgr_in_reset (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION To be used by QAT device specific drivers. RETURN 1 when the device is being reset, 0 otherwise. SEE ALSO Kernel file ...
adf_devmgr_pci_to_accel_dev(9)
NAME adf_devmgr_pci_to_accel_dev - Get accel_dev associated with the pci_dev. SYNOPSIS struct adf_accel_dev * adf_devmgr_pci_to_accel_dev (struct pci_dev *pci_dev ); ARGUMENTS pci_dev Pointer to PCI device. DESCRIPTION Function returns acceleration device associated with the given PCI device. To be used by QAT ...
adf_devmgr_rm_dev(9)
NAME adf_devmgr_rm_dev - Remove accel_dev from the acceleration framework. SYNOPSIS void adf_devmgr_rm_dev (struct adf_accel_dev *accel_dev , struct adf_accel_dev *pf ); ARGUMENTS accel_dev Pointer to acceleration device. pf Corresponding PF if the accel_dev is a VF DESCRIPTION Function removes ac...
adf_devmgr_update_class_index(9)
NAME adf_devmgr_update_class_index - Update internal index SYNOPSIS void adf_devmgr_update_class_index (struct adf_hw_device_data *hw_data ); ARGUMENTS hw_data Pointer to internal device data. DESCRIPTION Function updates internal dev index for VFs SEE ALSO Kernel file ./drivers/crypto/intel/qat/qat_common/adf...
adf_disable_sriov(9)
NAME adf_disable_sriov - Disable SRIOV for the device SYNOPSIS void adf_disable_sriov (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to accel device. DESCRIPTION Function disables SRIOV for the accel device. RETURN 0 on success, error code otherwise. SEE ALSO Kernel file ./drivers/crypto/intel/q...
adf_enable_pf2vf_comms(9)
NAME adf_enable_pf2vf_comms - Function enables communication from pf to vf SYNOPSIS int adf_enable_pf2vf_comms (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device virtual function. DESCRIPTION This function carries out the necessary steps to setup and start the PFVF communication...
adf_enable_vf2pf_comms(9)
NAME adf_enable_vf2pf_comms - Function enables communication from vf to pf SYNOPSIS int adf_enable_vf2pf_comms (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device virtual function. RETURN 0 on success, error code otherwise. SEE ALSO Kernel file ./drivers/crypto/intel/qat/qat_com...
adf_flush_vf_wq(9)
NAME adf_flush_vf_wq - Flush workqueue for VF SYNOPSIS void adf_flush_vf_wq (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function disables the PF/VF interrupts on the VF so that no new messages are received and flushes the workqueue 'adf_vf_stop_wq'. RETURN v...
adf_fw_counters_dbgfs_add(9)
NAME adf_fw_counters_dbgfs_add - Create a debugfs file containing FW execution counters. SYNOPSIS void adf_fw_counters_dbgfs_add (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to a QAT acceleration device DESCRIPTION Function creates a file to display a table with statistics for the given QAT acc...
adf_fw_counters_dbgfs_rm(9)
NAME adf_fw_counters_dbgfs_rm - Remove the debugfs file containing FW counters. SYNOPSIS void adf_fw_counters_dbgfs_rm (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to a QAT acceleration device. DESCRIPTION Function removes the file providing the table of statistics for the given QAT acceleration...
adf_fw_counters_get(9)
NAME adf_fw_counters_get - Return FW counters for the provided device. SYNOPSIS struct adf_fw_counters * adf_fw_counters_get (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to a QAT acceleration device DESCRIPTION Allocates and returns a table of counters containing execution statistics for each ...
adf_gen2_dev_config(9)
NAME adf_gen2_dev_config - create dev config required to create instances SYNOPSIS int adf_gen2_dev_config (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function creates device configuration required to create instances RETURN 0 on success, error code otherwis...
adf_gen4_dev_config(9)
NAME adf_gen4_dev_config - create dev config required to create instances SYNOPSIS int adf_gen4_dev_config (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function creates device configuration required to create instances RETURN 0 on success, error code otherwis...
adf_init_admin_pm(9)
NAME adf_init_admin_pm - Function sends PM init message to FW SYNOPSIS int adf_init_admin_pm (struct adf_accel_dev *accel_dev , u32 idle_delay ); ARGUMENTS accel_dev Pointer to acceleration device. idle_delay QAT HW idle time before power gating is initiated. 000 - 64us 001 - 128us 010 - 256us 011 - 512us...
adf_init_etr_data(9)
NAME adf_init_etr_data - Initialize transport rings for acceleration device SYNOPSIS int adf_init_etr_data (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function is the initializes the communications channels (rings) to the acceleration device accel_dev. To be...
adf_init_misc_wq(9)
NAME adf_init_misc_wq - Init misc workqueue SYNOPSIS int adf_init_misc_wq (void ); ARGUMENTS void no arguments RETURN 0 on success, error code otherwise. SEE ALSO Kernel file ./drivers/crypto/intel/qat/qat_common/adf_isr.c adf_isr_resource_free(9), adf_isr_resource_alloc(9) April 2026 ...
adf_init_vf_wq(9)
NAME adf_init_vf_wq - Init workqueue for VF SYNOPSIS int adf_init_vf_wq (void ); ARGUMENTS void no arguments RETURN 0 on success, error code otherwise. SEE ALSO Kernel file ./drivers/crypto/intel/qat/qat_common/adf_vf_isr.c adf_vf_isr_resource_free(9), adf_vf_isr_resource_alloc(9), adf_flush_vf_wq(9) April ...
adf_isr_resource_alloc(9)
NAME adf_isr_resource_alloc - Allocate IRQ for acceleration device SYNOPSIS int adf_isr_resource_alloc (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function allocates interrupts for acceleration device. RETURN 0 on success, error code otherwise. SEE ALSO Ker...
adf_isr_resource_free(9)
NAME adf_isr_resource_free - Free IRQ for acceleration device SYNOPSIS void adf_isr_resource_free (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function frees interrupts for acceleration device. SEE ALSO Kernel file ./drivers/crypto/intel/qat/qat_common/adf_is...
adf_recv_pf2vf_msg(9)
NAME adf_recv_pf2vf_msg - receive a PF to VF message SYNOPSIS struct pfvf_message adf_recv_pf2vf_msg (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device DESCRIPTION This function allows the VF to receive a message from the PF. RETURN a valid message on success, zero otherwise. ...
adf_recv_vf2pf_msg(9)
NAME adf_recv_vf2pf_msg - receive a VF to PF message SYNOPSIS struct pfvf_message adf_recv_vf2pf_msg (struct adf_accel_dev *accel_dev , u8 vf_nr ); ARGUMENTS accel_dev Pointer to acceleration device vf_nr Number of the VF from where the message will be received DESCRIPTION This function allows the PF...
adf_rl_add_sla(9)
NAME adf_rl_add_sla - handles the creation of an SLA SYNOPSIS int adf_rl_add_sla (struct adf_accel_dev *accel_dev , struct adf_rl_sla_input_data *sla_in ); ARGUMENTS accel_dev pointer to acceleration device structure sla_in pointer to user input data required to add an SLA RETURN * 0 - ok * -...
adf_rl_get_capability_remaining(9)
NAME adf_rl_get_capability_remaining - returns the remaining SLA value (CIR) for selected service or provided sla_id SYNOPSIS int adf_rl_get_capability_remaining (struct adf_accel_dev *accel_dev , enum adf_base_services srv , int sla_id ); ARGUMENTS accel_dev pointer to acceleration device structure srv ...
adf_rl_get_sla(9)
NAME adf_rl_get_sla - returns an existing SLA data SYNOPSIS int adf_rl_get_sla (struct adf_accel_dev *accel_dev , struct adf_rl_sla_input_data *sla_in ); ARGUMENTS accel_dev pointer to acceleration device structure sla_in pointer to user data where SLA info will be stored DESCRIPTION The sla_id for wh...
adf_rl_get_sla_arr_of_type(9)
NAME adf_rl_get_sla_arr_of_type - Returns a pointer to SLA type specific array SYNOPSIS u32 adf_rl_get_sla_arr_of_type (struct adf_rl *rl_data , enum rl_node_type type , struct rl_sla ***sla_arr ); ARGUMENTS rl_data pointer to ratelimiting data type SLA type sla_arr pointer to variable ...
adf_rl_remove_sla(9)
NAME adf_rl_remove_sla - removes provided sla_id SYNOPSIS int adf_rl_remove_sla (struct adf_accel_dev *accel_dev , u32 sla_id ); ARGUMENTS accel_dev pointer to acceleration device structure sla_id ID of the cluster or root to which we want assign an new SLA RETURN * 0 - ok * -EINVAL - wron...
adf_rl_remove_sla_all(9)
NAME adf_rl_remove_sla_all - removes all SLAs from device SYNOPSIS void adf_rl_remove_sla_all (struct adf_accel_dev *accel_dev , bool incl_default ); ARGUMENTS accel_dev pointer to acceleration device structure incl_default set to true if default SLAs also should be removed SEE ALSO Kern...
adf_rl_update_sla(9)
NAME adf_rl_update_sla - handles the update of an SLA SYNOPSIS int adf_rl_update_sla (struct adf_accel_dev *accel_dev , struct adf_rl_sla_input_data *sla_in ); ARGUMENTS accel_dev pointer to acceleration device structure sla_in pointer to user input data required to update an SLA RETURN * 0 -...
adf_send_admin_init(9)
NAME adf_send_admin_init - Function sends init message to FW SYNOPSIS int adf_send_admin_init (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function sends admin init message to the FW RETURN 0 on success, error code otherwise. SEE ALSO Kernel file ./drivers/c...
adf_send_pf2vf_msg(9)
NAME adf_send_pf2vf_msg - send PF to VF message SYNOPSIS int adf_send_pf2vf_msg (struct adf_accel_dev *accel_dev , u8 vf_nr , struct pfvf_message msg ); ARGUMENTS accel_dev Pointer to acceleration device vf_nr VF number to which the message will be sent msg Message to send DESCRIPTION...
adf_send_vf2pf_blkmsg_req(9)
NAME adf_send_vf2pf_blkmsg_req - retrieve block message SYNOPSIS int adf_send_vf2pf_blkmsg_req (struct adf_accel_dev *accel_dev , u8 type , u8 *buffer , unsigned int *buffer_len ); ARGUMENTS accel_dev Pointer to acceleration VF device. type The block message type, see adf_pfvf_msg.h for allowed value...
adf_send_vf2pf_msg(9)
NAME adf_send_vf2pf_msg - send VF to PF message SYNOPSIS int adf_send_vf2pf_msg (struct adf_accel_dev *accel_dev , struct pfvf_message msg ); ARGUMENTS accel_dev Pointer to acceleration device msg Message to send DESCRIPTION This function allows the VF to send a message to the PF. RETURN 0 on succ...
adf_send_vf2pf_req(9)
NAME adf_send_vf2pf_req - send VF2PF request message SYNOPSIS int adf_send_vf2pf_req (struct adf_accel_dev *accel_dev , struct pfvf_message msg , struct pfvf_message *resp ); ARGUMENTS accel_dev Pointer to acceleration device. msg Request message to send resp Returned PF response DES...
adf_sriov_configure(9)
NAME adf_sriov_configure - Enable SRIOV for the device SYNOPSIS int adf_sriov_configure (struct pci_dev *pdev , int numvfs ); ARGUMENTS pdev Pointer to PCI device. numvfs Number of virtual functions (VFs) to enable. DESCRIPTION Note that the numvfs parameter is ignored and all VFs supported by th...
adf_tl_dbgfs_add(9)
NAME adf_tl_dbgfs_add - Add telemetry's debug fs entries. SYNOPSIS void adf_tl_dbgfs_add (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Creates telemetry's debug fs folder and attributes in QAT debug fs root. SEE ALSO Kernel file ./drivers/crypto/intel/qat/qat_...
adf_tl_dbgfs_rm(9)
NAME adf_tl_dbgfs_rm - Remove telemetry's debug fs entries. SYNOPSIS void adf_tl_dbgfs_rm (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Removes telemetry's debug fs folder and attributes from QAT debug fs root. SEE ALSO Kernel file ./drivers/crypto/intel/qat/q...
adf_vf2pf_notify_init(9)
NAME adf_vf2pf_notify_init - send init msg to PF SYNOPSIS int adf_vf2pf_notify_init (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration VF device. DESCRIPTION Function sends an init message from the VF to a PF RETURN 0 on success, error code otherwise. SEE ALSO Kernel file ./drivers/c...
adf_vf2pf_notify_shutdown(9)
NAME adf_vf2pf_notify_shutdown - send shutdown msg to PF SYNOPSIS void adf_vf2pf_notify_shutdown (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration VF device. DESCRIPTION Function sends a shutdown message from the VF to a PF RETURN void SEE ALSO Kernel file ./drivers/crypto/intel/qat...
adf_vf_isr_resource_alloc(9)
NAME adf_vf_isr_resource_alloc - Allocate IRQ for acceleration device SYNOPSIS int adf_vf_isr_resource_alloc (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function allocates interrupts for acceleration device virtual function. RETURN 0 on success, error code o...
adf_vf_isr_resource_free(9)
NAME adf_vf_isr_resource_free - Free IRQ for acceleration device SYNOPSIS void adf_vf_isr_resource_free (struct adf_accel_dev *accel_dev ); ARGUMENTS accel_dev Pointer to acceleration device. DESCRIPTION Function frees interrupts for acceleration device virtual function. SEE ALSO Kernel file ./drivers/crypto/inte...
adi_axi_pcore_ver_gteq(9)
NAME adi_axi_pcore_ver_gteq - check if a version is satisfied SYNOPSIS bool adi_axi_pcore_ver_gteq (u32 version , u32 major , u32 minor ); ARGUMENTS version the full version read from the hardware major the major version to compare against minor the minor version to compare against DE...
adis_init(9)
NAME adis_init - Initialize adis device structure SYNOPSIS int adis_init (struct adis *adis , struct iio_dev *indio_dev , struct spi_device *spi , const struct adis_data *data ); ARGUMENTS adis The adis device indio_dev The iio device spi The spi device data Chip specif...
adis_read_reg(9)
NAME adis_read_reg - read N bytes from register SYNOPSIS int adis_read_reg (struct adis *adis , unsigned int reg , unsigned int *val , unsigned int size ); ARGUMENTS adis The adis device reg The address of the lower of the two registers val The value read back from the device ...
adis_read_reg_16(9)
NAME adis_read_reg_16 - read 2 bytes from a 16-bit register SYNOPSIS int adis_read_reg_16 (struct adis *adis , unsigned int reg , u16 *val ); ARGUMENTS adis The adis device reg The address of the lower of the two registers val The value read back from the device RETURN 0 on suc...
adis_read_reg_32(9)
NAME adis_read_reg_32 - read 4 bytes from a 32-bit register SYNOPSIS int adis_read_reg_32 (struct adis *adis , unsigned int reg , u32 *val ); ARGUMENTS adis The adis device reg The address of the lower of the two registers val The value read back from the device RETURN 0 on suc...
adis_reset(9)
NAME adis_reset - Reset the device SYNOPSIS int adis_reset (struct adis *adis ); ARGUMENTS adis The adis device RETURN 0 on success, a negative error code otherwise SEE ALSO Kernel file ./include/linux/iio/imu/adis.h struct adis_data(9), struct adis_ops(9), struct adis(9), __adis_write_reg_8(9), __adis_...
adis_single_conversion(9)
NAME adis_single_conversion - Performs a single sample conversion SYNOPSIS int adis_single_conversion (struct iio_dev *indio_dev , const struct iio_chan_spec *chan , unsigned int error_mask , int *val ); ARGUMENTS indio_dev The IIO device chan The IIO channel error_mask Mask for the error bi...
adis_update_bits(9)
NAME adis_update_bits - Wrapper macro for adis_update_bits_base - Locked version SYNOPSIS adis_update_bits (adis , reg , mask , val ); ARGUMENTS adis The adis device reg The address of the lower of the two registers mask Bitmask to change val Value to be written ...
adis_update_bits_base(9)
NAME adis_update_bits_base - ADIS Update bits function - Locked version SYNOPSIS int adis_update_bits_base (struct adis *adis , unsigned int reg , const u32 mask , const u32 val , u8 size ); ARGUMENTS adis The adis device reg The address of the lower of the two registers mask Bit...
adis_write_reg(9)
NAME adis_write_reg - write N bytes to register SYNOPSIS int adis_write_reg (struct adis *adis , unsigned int reg , unsigned int val , unsigned int size ); ARGUMENTS adis The adis device reg The address of the lower of the two registers val The value to write to device (up to 4 ...
adis_write_reg_16(9)
NAME adis_write_reg_16 - Write 2 bytes to a pair of registers SYNOPSIS int adis_write_reg_16 (struct adis *adis , unsigned int reg , u16 val ); ARGUMENTS adis The adis device reg The address of the lower of the two registers val Value to be written RETURN 0 on success, a negati...
adis_write_reg_32(9)
NAME adis_write_reg_32 - write 4 bytes to four registers SYNOPSIS int adis_write_reg_32 (struct adis *adis , unsigned int reg , u32 val ); ARGUMENTS adis The adis device reg The address of the lower of the four register val Value to be written RETURN 0 on success, a negative er...
adis_write_reg_8(9)
NAME adis_write_reg_8 - Write single byte to a register SYNOPSIS int adis_write_reg_8 (struct adis *adis , unsigned int reg , u8 val ); ARGUMENTS adis The adis device reg The address of the register to be written val The value to write RETURN 0 on success, a negative error code...
adj_for_padding(9)
NAME adj_for_padding - adjust overlap to account for padding. SYNOPSIS unsigned char * adj_for_padding (unsigned char *buf_b , unsigned char *buf_a , size_t len_a ); ARGUMENTS buf_b second buffer buf_a first buffer len_a size of first buffer DESCRIPTION buf_a might have up to 7 byte...
adjtime(3)
NAME adjtime - correct the time to synchronize the system clock LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/time.h> int adjtime(const struct timeval *delta, struct timeval *olddelta); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): adjtime(): Si...
adjtime_config(5)
NAME adjtime_config - information about hardware clock setting and drift factor SYNOPSIS /etc/adjtime DESCRIPTION The file /etc/adjtime contains descriptive information about the hardware mode clock setting and clock drift factor. The file is read and write by hwclock(8); and read by programs like rtcwake to get RTC ...
adjtimex(2)
NAME adjtimex, clock_adjtime, ntp_adjtime - tune kernel clock LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <sys/timex.h> int adjtimex(struct timex *buf); int clock_adjtime(clockid_t clk_id, struct timex *buf); int ntp_adjtime(struct timex *buf); DESCRIPTION Linux uses David L. ...
adjust_by_scaled_ppm(9)
NAME adjust_by_scaled_ppm - Adjust a base increment by scaled parts per million SYNOPSIS u64 adjust_by_scaled_ppm (u64 base , long scaled_ppm ); ARGUMENTS base the base increment value to adjust scaled_ppm scaled parts per million frequency adjustment DESCRIPTION Helper function which calculates a ne...
adjust_free_block_count(9)
NAME adjust_free_block_count - Adjust the free block count and (if needed) reprioritize the slab. SYNOPSIS void adjust_free_block_count (struct vdo_slab *slab , bool incremented ); ARGUMENTS slab The slab. incremented True if the free block count went up. SEE ALSO Kernel file ./drivers/md/dm-vdo/sla...
adjust_fs_space(9)
NAME adjust_fs_space - Adjusts the free space available due to gfs2_grow SYNOPSIS void adjust_fs_space (struct inode *inode ); ARGUMENTS inode the rindex inode SEE ALSO Kernel file ./fs/gfs2/aops.c gfs2_get_block_noalloc(9), gfs2_write_jdata_folio(9), __gfs2_jdata_write_folio(9), gfs2_jdata_writeback(9...
adjust_historical_crosststamp(9)
NAME adjust_historical_crosststamp - adjust crosstimestamp previous to current interval SYNOPSIS int adjust_historical_crosststamp (struct system_time_snapshot *history , u64 partial_history_cycles , u64 total_history_cycles , bool discontinuity , struct system_device_crosststamp *ts ); ARGUMENTS history Snapshot...
adjust_jiffies(9)
NAME adjust_jiffies - Adjust the system "loops_per_jiffy". SYNOPSIS void adjust_jiffies (unsigned long val , struct cpufreq_freqs *ci ); ARGUMENTS val CPUFREQ_PRECHANGE or CPUFREQ_POSTCHANGE. ci Frequency change information. DESCRIPTION This function alters the system "loops_per_jiffy" fo...
adjust_lpt_heap(9)
NAME adjust_lpt_heap - move a changed heap entry up or down the heap. SYNOPSIS void adjust_lpt_heap (struct ubifs_info *c , struct ubifs_lpt_heap *heap , struct ubifs_lprops *lprops , int hpos , int cat ); ARGUMENTS c UBIFS file-system description object heap LEB category heap lprops ...
adjust_resource(9)
NAME adjust_resource - modify a resource's start and size SYNOPSIS int adjust_resource (struct resource *res , resource_size_t start , resource_size_t size ); ARGUMENTS res resource to modify start new start value size new size DESCRIPTION Given an existing resource, change its s...
adjust_slab_journal_block_reference(9)
NAME adjust_slab_journal_block_reference - Adjust the reference count for a slab journal block. SYNOPSIS void adjust_slab_journal_block_reference (struct slab_journal *journal , sequence_number_t sequence_number , int adjustment ); ARGUMENTS journal The slab journal. sequence_number The...
adm_dma_free_desc(9)
NAME adm_dma_free_desc - free descriptor memory SYNOPSIS void adm_dma_free_desc (struct virt_dma_desc *vd ); ARGUMENTS vd virtual descriptor SEE ALSO Kernel file ./drivers/dma/qcom/qcom_adm.c adm_free_chan(9), adm_get_blksize(9), adm_process_fc_descriptors(9), adm_process_non_fc_descriptors(9), ...
adm_dma_irq(9)
NAME adm_dma_irq - irq handler for ADM controller SYNOPSIS irqreturn_t adm_dma_irq (int irq , void *data ); ARGUMENTS irq IRQ of interrupt data callback data DESCRIPTION IRQ handler for the bam controller SEE ALSO Kernel file ./drivers/dma/qcom/qcom_adm.c adm_free_chan(9), adm_get_blksize(...
adm_dma_xlate(9)
NAME adm_dma_xlate - SYNOPSIS struct dma_chan * adm_dma_xlate (struct of_phandle_args *dma_spec , struct of_dma *ofdma ); ARGUMENTS dma_spec pointer to DMA specifier as found in the device tree ofdma pointer to DMA controller data DESCRIPTION This can use either 1-cell or 2-cell formats, the first c...
adm_free_chan(9)
NAME adm_free_chan - Frees dma resources associated with the specific channel SYNOPSIS void adm_free_chan (struct dma_chan *chan ); ARGUMENTS chan dma channel DESCRIPTION Free all allocated descriptors associated with this channel SEE ALSO Kernel file ./drivers/dma/qcom/qcom_adm.c adm_get_blksize(9), adm...
adm_get_blksize(9)
NAME adm_get_blksize - Get block size from burst value SYNOPSIS int adm_get_blksize (unsigned int burst ); ARGUMENTS burst Burst size of transaction SEE ALSO Kernel file ./drivers/dma/qcom/qcom_adm.c adm_free_chan(9), adm_process_fc_descriptors(9), adm_process_non_fc_descriptors(9), adm_prep_slave_sg(9), adm_t...
adm_issue_pending(9)
NAME adm_issue_pending - starts pending transactions SYNOPSIS void adm_issue_pending (struct dma_chan *chan ); ARGUMENTS chan dma channel DESCRIPTION Issues all pending transactions and starts DMA SEE ALSO Kernel file ./drivers/dma/qcom/qcom_adm.c adm_free_chan(9), adm_get_blksize(9), adm_process_f...
adm_prep_slave_sg(9)
NAME adm_prep_slave_sg - Prep slave sg transaction SYNOPSIS struct dma_async_tx_descriptor * adm_prep_slave_sg (struct dma_chan *chan , struct scatterlist *sgl , unsigned int sg_len , enum dma_transfer_direction direction , unsigned long flags , void *context ); ARGUMENTS chan dma channel sgl s...
adm_process_fc_descriptors(9)
NAME adm_process_fc_descriptors - Process descriptors for flow controlled xfers SYNOPSIS void * adm_process_fc_descriptors (struct adm_chan *achan , void *desc , struct scatterlist *sg , u32 crci , u32 burst , enum dma_transfer_direction direction ); ARGUMENTS achan ADM channel desc Descriptor me...
adm_process_non_fc_descriptors(9)
NAME adm_process_non_fc_descriptors - Process descriptors for non-fc xfers SYNOPSIS void * adm_process_non_fc_descriptors (struct adm_chan *achan , void *desc , struct scatterlist *sg , enum dma_transfer_direction direction ); ARGUMENTS achan ADM channel desc Descriptor memory pointer sg ...
adm_start_dma(9)
NAME adm_start_dma - start next transaction SYNOPSIS void adm_start_dma (struct adm_chan *achan ); ARGUMENTS achan ADM dma channel SEE ALSO Kernel file ./drivers/dma/qcom/qcom_adm.c adm_free_chan(9), adm_get_blksize(9), adm_process_fc_descriptors(9), adm_process_non_fc_descriptors(9), adm_prep_slave_sg(9),...
adm_terminate_all(9)
NAME adm_terminate_all - terminate all transactions on a channel SYNOPSIS int adm_terminate_all (struct dma_chan *chan ); ARGUMENTS chan dma channel DESCRIPTION Dequeues and frees all transactions, aborts current transaction No callbacks are done SEE ALSO Kernel file ./drivers/dma/qcom/qcom_adm.c adm_free_...
adm_tx_status(9)
NAME adm_tx_status - returns status of transaction SYNOPSIS enum dma_status adm_tx_status (struct dma_chan *chan , dma_cookie_t cookie , struct dma_tx_state *txstate ); ARGUMENTS chan dma channel cookie transaction cookie txstate DMA transaction state DESCRIPTION Return status of dma ...
admin(1p)
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 admin — create and administer SCCS files (DEVELOPMENT) SY...
adp_state_show(9)
NAME adp_state_show - SysFS callback for adapter state show SYNOPSIS ssize_t adp_state_show (struct device *dev , struct device_attribute *attr , char *buf ); ARGUMENTS dev class device attr Device attributes buf Buffer to copy RETURN sysfs_emit return after copying adapter sta...
ads1018_calc_delay(9)
NAME ads1018_calc_delay - Calculates a suitable delay for a single-shot reading SYNOPSIS u32 ads1018_calc_delay (unsigned int hz ); ARGUMENTS hz Sampling frequency DESCRIPTION Calculates an appropriate delay for a single shot reading given a sampling frequency. RETURN Delay in microseconds (Always greater ...