id
stringlengths
4
63
text
stringlengths
153
8.81M
objagg_hints_stats_get(9)
NAME objagg_hints_stats_get - obtains stats of the hints instance SYNOPSIS const struct objagg_stats * objagg_hints_stats_get (struct objagg_hints *objagg_hints ); ARGUMENTS objagg_hints hints instance NOTE all locking must be provided by the caller. The returned structure contains statistics of all objects curre...
objagg_obj_delta_priv(9)
NAME objagg_obj_delta_priv - obtains delta private for an object SYNOPSIS const void * objagg_obj_delta_priv (const struct objagg_obj *objagg_obj ); ARGUMENTS objagg_obj objagg object instance NOTE all locking must be provided by the caller. Returns user private delta pointer or NULL in case the passed object is r...
objagg_obj_get(9)
NAME objagg_obj_get - gets an object within objagg instance SYNOPSIS struct objagg_obj * objagg_obj_get (struct objagg *objagg , void *obj ); ARGUMENTS objagg objagg instance obj user-specific private object pointer NOTE all locking must be provided by the caller. Size of the "obj" memory is ...
objagg_obj_put(9)
NAME objagg_obj_put - puts an object within objagg instance SYNOPSIS void objagg_obj_put (struct objagg *objagg , struct objagg_obj *objagg_obj ); ARGUMENTS objagg objagg instance objagg_obj objagg object instance NOTE all locking must be provided by the caller. Symmetric to objagg_obj_get. SEE ALSO ...
objagg_obj_raw(9)
NAME objagg_obj_raw - obtains object user private pointer SYNOPSIS const void * objagg_obj_raw (const struct objagg_obj *objagg_obj ); ARGUMENTS objagg_obj objagg object instance NOTE all locking must be provided by the caller. Returns user private pointer as was passed to objagg_obj_get by "obj" arg. SEE ALSO Ke...
objagg_obj_root_priv(9)
NAME objagg_obj_root_priv - obtains root private for an object SYNOPSIS const void * objagg_obj_root_priv (const struct objagg_obj *objagg_obj ); ARGUMENTS objagg_obj objagg object instance NOTE all locking must be provided by the caller. Either the object is root itself when the private is returned directly, or t...
objagg_stats_get(9)
NAME objagg_stats_get - obtains stats of the objagg instance SYNOPSIS const struct objagg_stats * objagg_stats_get (struct objagg *objagg ); ARGUMENTS objagg objagg instance NOTE all locking must be provided by the caller. The returned structure contains statistics of all object currently in use, ordered by...
objagg_stats_put(9)
NAME objagg_stats_put - puts stats of the objagg instance SYNOPSIS void objagg_stats_put (const struct objagg_stats *objagg_stats ); ARGUMENTS objagg_stats objagg instance stats NOTE all locking must be provided by the caller. SEE ALSO Kernel file ./lib/objagg.c objagg_obj_root_priv(9), objagg_obj_delta_priv(9)...
objpool_drop(9)
NAME objpool_drop - discard the object and deref objpool SYNOPSIS int objpool_drop (void *obj , struct objpool_head *pool ); ARGUMENTS obj object ptr to be discarded pool object pool RETURN 0 if objpool was released; -EAGAIN if there are still outstanding objects DESCRIPTION objpool_drop is ...
objpool_fini(9)
NAME objpool_fini - deref object pool (also releasing unused objects) SYNOPSIS void objpool_fini (struct objpool_head *pool ); ARGUMENTS pool object pool to be dereferenced DESCRIPTION objpool_fini will try to release all remained free objects and then drop an extra reference of the objpool. If all objec...
objpool_free(9)
NAME objpool_free - release objpool forcely (all objects to be freed) SYNOPSIS void objpool_free (struct objpool_head *pool ); ARGUMENTS pool object pool to be released SEE ALSO Kernel file ./include/linux/objpool.h struct objpool_slot(9), struct objpool_head(9), objpool_init(9), objpool_pop(9), objpool_push(...
objpool_init(9)
NAME objpool_init - initialize objpool and pre-allocated objects SYNOPSIS int objpool_init (struct objpool_head *pool , int nr_objs , int object_size , gfp_t gfp , void *context , objpool_init_obj_cb objinit , objpool_fini_cb release ); ARGUMENTS pool the object pool to be initialized, declared by caller ...
objpool_pop(9)
NAME objpool_pop - allocate an object from objpool SYNOPSIS void * objpool_pop (struct objpool_head *pool ); ARGUMENTS pool object pool DESCRIPTION return value: object ptr or NULL if failed SEE ALSO Kernel file ./include/linux/objpool.h struct objpool_slot(9), struct objpool_head(9), objpool_init(9), objpoo...
objpool_push(9)
NAME objpool_push - reclaim the object and return back to objpool SYNOPSIS int objpool_push (void *obj , struct objpool_head *pool ); ARGUMENTS obj object ptr to be pushed to objpool pool object pool RETURN 0 or error code (it fails only when user tries to push the same object multiple times o...
ocelot_ifh_set_basic(9)
NAME ocelot_ifh_set_basic - Set basic information in Injection Frame Header SYNOPSIS void ocelot_ifh_set_basic (void *ifh , struct ocelot *ocelot , int port , u32 rew_op , struct sk_buff *skb ); ARGUMENTS ifh Pointer to Injection Frame Header memory ocelot Switch private data structure po...
ocelot_update_vlan_reclassify_rule(9)
NAME ocelot_update_vlan_reclassify_rule - Make switch aware only to bridge VLAN TPID SYNOPSIS int ocelot_update_vlan_reclassify_rule (struct ocelot *ocelot , int port ); ARGUMENTS ocelot Switch private data structure port Index of ingress port DESCRIPTION IEEE 802.1Q-2018 clauses "5.5 C-VLAN com...
ocelot_xmit_get_vlan_info(9)
NAME ocelot_xmit_get_vlan_info - Determine VLAN_TCI and TAG_TYPE for injected frame SYNOPSIS void ocelot_xmit_get_vlan_info (struct sk_buff *skb , struct net_device *br , u64 *vlan_tci , u64 *tag_type ); ARGUMENTS skb Pointer to socket buffer br Pointer to bridge device that the port is under...
ocfs2_find_resv_lhs(9)
NAME ocfs2_find_resv_lhs - find the window which contains goal SYNOPSIS struct ocfs2_alloc_reservation * ocfs2_find_resv_lhs (struct ocfs2_reservation_map *resmap , unsigned int goal ); ARGUMENTS resmap reservation map to search goal which bit to search for DESCRIPTION If a window containing that...
ocfs2_prep_new_orphaned_file(9)
NAME ocfs2_prep_new_orphaned_file - Prepare the orphan dir to receive a newly allocated file. This is different from the typical 'add to orphan dir' operation in that the inode does not yet exist. This is a problem because the orphan dir stringifies the inode block number to come up with it's dirent. Obviously if the...
ocfs2_prepare_orphan_dir(9)
NAME ocfs2_prepare_orphan_dir - Prepare an orphan directory for insertion of an orphan. SYNOPSIS int ocfs2_prepare_orphan_dir (struct ocfs2_super *osb , struct inode **ret_orphan_dir , u64 blkno , char *name , struct ocfs2_dir_lookup_result *lookup , bool dio ); ARGUMENTS osb ocfs2 file system ret_orp...
ocfs2_resmap_claimed_bits(9)
NAME ocfs2_resmap_claimed_bits - Tell the reservation code that bits were used. SYNOPSIS void ocfs2_resmap_claimed_bits (struct ocfs2_reservation_map *resmap , struct ocfs2_alloc_reservation *resv , u32 cstart , u32 clen ); ARGUMENTS resmap reservations bitmap resv optional reservation to recalcul...
ocfs2_resmap_init(9)
NAME ocfs2_resmap_init - Initialize fields of a reservations bitmap SYNOPSIS void ocfs2_resmap_init (struct ocfs2_super *osb , struct ocfs2_reservation_map *resmap ); ARGUMENTS osb struct ocfs2_super to be saved in resmap resmap struct ocfs2_reservation_map to initialize SEE ALSO Kernel file ./f...
ocfs2_resmap_restart(9)
NAME ocfs2_resmap_restart - "restart" a reservation bitmap SYNOPSIS void ocfs2_resmap_restart (struct ocfs2_reservation_map *resmap , unsigned int clen , char *disk_bitmap ); ARGUMENTS resmap reservations bitmap clen Number of valid bits in the bitmap disk_bitmap the disk bitmap this resma...
ocfs2_resmap_resv_bits(9)
NAME ocfs2_resmap_resv_bits - Return still-valid reservation bits SYNOPSIS int ocfs2_resmap_resv_bits (struct ocfs2_reservation_map *resmap , struct ocfs2_alloc_reservation *resv , int *cstart , int *clen ); ARGUMENTS resmap reservations bitmap resv reservation to base search from cstart ...
ocfs2_resmap_uninit(9)
NAME ocfs2_resmap_uninit - uninitialize a reservation bitmap structure SYNOPSIS void ocfs2_resmap_uninit (struct ocfs2_reservation_map *resmap ); ARGUMENTS resmap the struct ocfs2_reservation_map to uninitialize SEE ALSO Kernel file ./fs/ocfs2/reservations.h ocfs2_resv_discard(9), ocfs2_resmap_init(9), ocfs2_re...
ocfs2_resv_discard(9)
NAME ocfs2_resv_discard - truncate a reservation SYNOPSIS void ocfs2_resv_discard (struct ocfs2_reservation_map *resmap , struct ocfs2_alloc_reservation *resv ); ARGUMENTS resmap resv the reservation to truncate. DESCRIPTION After this function is called, the reservation will be empty, and unlinked fr...
ocfs2_vfs_reflink(9)
NAME ocfs2_vfs_reflink - Create a reference-counted link SYNOPSIS int ocfs2_vfs_reflink (struct dentry *old_dentry , struct inode *dir , struct dentry *new_dentry , bool preserve ); ARGUMENTS old_dentry source dentry + inode dir directory to create the target new_dentry target dentry ...
ocontext_to_sid(9)
NAME ocontext_to_sid - Helper to safely get sid for an ocontext SYNOPSIS int ocontext_to_sid (struct sidtab *sidtab , struct ocontext *c , size_t index , u32 *out_sid ); ARGUMENTS sidtab SID table c ocontext structure index index of the context entry (0 or 1) out_sid p...
ocores_poll_wait(9)
NAME ocores_poll_wait - Wait until is possible to process some data SYNOPSIS int ocores_poll_wait (struct ocores_i2c *i2c ); ARGUMENTS i2c ocores I2C device instance DESCRIPTION Used when the device is in polling mode (interrupts disabled). RETURN 0 on success, -ETIMEDOUT on timeout SEE ALSO Kernel file ./...
ocores_process_polling(9)
NAME ocores_process_polling - It handles an IRQ-less transfer SYNOPSIS int ocores_process_polling (struct ocores_i2c *i2c ); ARGUMENTS i2c ocores I2C device instance DESCRIPTION Even if IRQ are disabled, the I2C OpenCore IP behavior is exactly the same (only that IRQ are not produced). This means that we can...
ocores_process_timeout(9)
NAME ocores_process_timeout - Process timeout event SYNOPSIS void ocores_process_timeout (struct ocores_i2c *i2c ); ARGUMENTS i2c ocores I2C device instance SEE ALSO Kernel file ./drivers/i2c/busses/i2c-ocores.c ocores_wait(9), ocores_poll_wait(9), ocores_process_polling(9) April 2026 ...
ocores_wait(9)
NAME ocores_wait - Wait until something change in a given register SYNOPSIS int ocores_wait (struct ocores_i2c *i2c , int reg , u8 mask , u8 val , const unsigned long timeout ); ARGUMENTS i2c ocores I2C device instance reg register to query mask bitmask to apply on register valu...
ocs_aes_bypass_op(9)
NAME ocs_aes_bypass_op - Use OCS DMA to copy data. SYNOPSIS int ocs_aes_bypass_op (struct ocs_aes_dev *aes_dev , dma_addr_t dst_dma_list , dma_addr_t src_dma_list , u32 src_size ); ARGUMENTS aes_dev The OCS AES device to use. dst_dma_list The OCS DMA list mapping the memory where input ...
ocs_aes_ccm_op(9)
NAME ocs_aes_ccm_op - Perform CCM operation. SYNOPSIS int ocs_aes_ccm_op (struct ocs_aes_dev *aes_dev , enum ocs_cipher cipher , enum ocs_instruction instruction , dma_addr_t dst_dma_list , dma_addr_t src_dma_list , u32 src_size , u8 *iv , dma_addr_t adata_dma_list , u32 adata_size , u8 *in_tag , u32 tag_size ); ...
ocs_aes_gcm_op(9)
NAME ocs_aes_gcm_op - Perform GCM operation. SYNOPSIS int ocs_aes_gcm_op (struct ocs_aes_dev *aes_dev , enum ocs_cipher cipher , enum ocs_instruction instruction , dma_addr_t dst_dma_list , dma_addr_t src_dma_list , u32 src_size , const u8 *iv , dma_addr_t aad_dma_list , u32 aad_size , u8 *out_tag , u32 tag_size ); A...
ocs_aes_op(9)
NAME ocs_aes_op - Perform AES/SM4 operation. SYNOPSIS int ocs_aes_op (struct ocs_aes_dev *aes_dev , enum ocs_mode mode , enum ocs_cipher cipher , enum ocs_instruction instruction , dma_addr_t dst_dma_list , dma_addr_t src_dma_list , u32 src_size , u8 *iv , u32 iv_size ); ARGUMENTS aes_dev The OCS AES device to us...
ocs_aes_set_key(9)
NAME ocs_aes_set_key - Write key into OCS AES hardware. SYNOPSIS int ocs_aes_set_key (struct ocs_aes_dev *aes_dev , u32 key_size , const u8 *key , enum ocs_cipher cipher ); ARGUMENTS aes_dev The OCS AES device to write the key to. key_size The size of the key (in bytes). key The key to ...
ocs_create_linked_list_from_sg(9)
NAME ocs_create_linked_list_from_sg - Create OCS DMA linked list from SG list. SYNOPSIS int ocs_create_linked_list_from_sg (const struct ocs_aes_dev *aes_dev , struct scatterlist *sg , int sg_dma_count , struct ocs_dll_desc *dll_desc , size_t data_size , size_t data_offset ); ARGUMENTS aes_dev The OCS AES device ...
ocs_ecc_read_cx_out(9)
NAME ocs_ecc_read_cx_out - Read the CX data output buffer. SYNOPSIS void ocs_ecc_read_cx_out (struct ocs_ecc_dev *dev , void *cx_out , size_t byte_count ); ARGUMENTS dev The OCS ECC device to read from. cx_out The buffer where to store the CX value. Must be at least byte_count byte long. ...
ocs_ecc_read_cy_out(9)
NAME ocs_ecc_read_cy_out - Read the CX data output buffer. SYNOPSIS void ocs_ecc_read_cy_out (struct ocs_ecc_dev *dev , void *cy_out , size_t byte_count ); ARGUMENTS dev The OCS ECC device to read from. cy_out The buffer where to store the CY value. Must be at least byte_count byte long. ...
ocs_hcu_clear_key(9)
NAME ocs_hcu_clear_key - Clear key stored in OCS HMAC KEY registers. SYNOPSIS void ocs_hcu_clear_key (struct ocs_hcu_dev *hcu_dev ); ARGUMENTS hcu_dev The OCS HCU device whose key registers should be cleared. SEE ALSO Kernel file ./drivers/crypto/intel/keembay/ocs-hcu.c struct ocs_hcu_dma_entry(9), struct ocs...
ocs_hcu_digest(9)
NAME ocs_hcu_digest - Compute hash digest. SYNOPSIS int ocs_hcu_digest (struct ocs_hcu_dev *hcu_dev , enum ocs_hcu_algo algo , void *data , size_t data_len , u8 *dgst , size_t dgst_len ); ARGUMENTS hcu_dev The OCS HCU device to use. algo The hash algorithm to use. data The input data...
ocs_hcu_get_intermediate_data(9)
NAME ocs_hcu_get_intermediate_data - Get intermediate data. SYNOPSIS int ocs_hcu_get_intermediate_data (struct ocs_hcu_dev *hcu_dev , struct ocs_hcu_idata *data , enum ocs_hcu_algo algo ); ARGUMENTS hcu_dev The target HCU device. data Where to store the intermediate. algo The algorit...
ocs_hcu_hash_final(9)
NAME ocs_hcu_hash_final - Finalize hash computation. SYNOPSIS int ocs_hcu_hash_final (struct ocs_hcu_dev *hcu_dev , const struct ocs_hcu_hash_ctx *ctx , u8 *dgst , size_t dgst_len ); ARGUMENTS hcu_dev The OCS HCU device to use. ctx The OCS HCU hashing context. dgst The buffer where ...
ocs_hcu_hash_finup(9)
NAME ocs_hcu_hash_finup - Update and finalize hash computation. SYNOPSIS int ocs_hcu_hash_finup (struct ocs_hcu_dev *hcu_dev , const struct ocs_hcu_hash_ctx *ctx , const struct ocs_hcu_dma_list *dma_list , u8 *dgst , size_t dgst_len ); ARGUMENTS hcu_dev The OCS HCU device to use. ctx The OCS HCU h...
ocs_hcu_hash_init(9)
NAME ocs_hcu_hash_init - Initialize hash operation context. SYNOPSIS int ocs_hcu_hash_init (struct ocs_hcu_hash_ctx *ctx , enum ocs_hcu_algo algo ); ARGUMENTS ctx The context to initialize. algo The hashing algorithm to use. RETURN 0 on success, negative error code otherwise. SEE ALSO Kernel ...
ocs_hcu_hash_update(9)
NAME ocs_hcu_hash_update - Perform a hashing iteration. SYNOPSIS int ocs_hcu_hash_update (struct ocs_hcu_dev *hcu_dev , struct ocs_hcu_hash_ctx *ctx , const struct ocs_hcu_dma_list *dma_list ); ARGUMENTS hcu_dev The OCS HCU device to use. ctx The OCS HCU hashing context. dma_list The OC...
ocs_hcu_hmac(9)
NAME ocs_hcu_hmac - Compute HMAC. SYNOPSIS int ocs_hcu_hmac (struct ocs_hcu_dev *hcu_dev , enum ocs_hcu_algo algo , const u8 *key , size_t key_len , const struct ocs_hcu_dma_list *dma_list , u8 *dgst , size_t dgst_len ); ARGUMENTS hcu_dev The OCS HCU device to use. algo The hash algorithm to use wi...
ocs_hcu_hw_cfg(9)
NAME ocs_hcu_hw_cfg - Configure the HCU hardware. SYNOPSIS int ocs_hcu_hw_cfg (struct ocs_hcu_dev *hcu_dev , enum ocs_hcu_algo algo , bool use_hmac ); ARGUMENTS hcu_dev The HCU device to configure. algo The algorithm to be used by the HCU device. use_hmac Whether or not HW HMAC should be...
ocs_hcu_ll_dma_start(9)
NAME ocs_hcu_ll_dma_start - Start OCS HCU hashing via DMA SYNOPSIS int ocs_hcu_ll_dma_start (struct ocs_hcu_dev *hcu_dev , const struct ocs_hcu_dma_list *dma_list , bool finalize ); ARGUMENTS hcu_dev The OCS HCU device to use. dma_list The OCS DMA list mapping the data to hash. finalize Whet...
ocs_hcu_set_intermediate_data(9)
NAME ocs_hcu_set_intermediate_data - Set intermediate data. SYNOPSIS void ocs_hcu_set_intermediate_data (struct ocs_hcu_dev *hcu_dev , const struct ocs_hcu_idata *data , enum ocs_hcu_algo algo ); ARGUMENTS hcu_dev The target HCU device. data The intermediate data to be set. algo The ...
ocs_hcu_wait_busy(9)
NAME ocs_hcu_wait_busy - Wait for HCU OCS hardware to became usable. SYNOPSIS int ocs_hcu_wait_busy (struct ocs_hcu_dev *hcu_dev ); ARGUMENTS hcu_dev OCS HCU device to wait for. RETURN 0 if device free, -ETIMEOUT if device busy and internal timeout has expired. SEE ALSO Kernel file ./drivers/crypto/intel/keem...
ocs_hcu_write_key(9)
NAME ocs_hcu_write_key - Write key to OCS HMAC KEY registers. SYNOPSIS int ocs_hcu_write_key (struct ocs_hcu_dev *hcu_dev , const u8 *key , size_t len ); ARGUMENTS hcu_dev The OCS HCU device the key should be written to. key The key to be written. len The size of the key to write. ...
ocsp.1ssl(1)
NAME asn1parse, ca, ciphers, cmp, cms, crl, crl2pkcs7, dgst, dhparam, dsa, dsaparam, ec, ecparam, enc, engine, errstr, gendsa, genpkey, genrsa, info, kdf, mac, nseq, ocsp, passwd, pkcs12, pkcs7, pkcs8, pkey, pkeyparam, pkeyutl, prime, rand, rehash, req, rsa, rsautl, s_client, s_server, s_time, sess_id, smime, speed, sp...
ocspcheck(8)
NAME ocspcheck — check a certificate for validity against its OCSP responder SYNOPSIS ocspcheck [-Nv] [-C CAfile] [-i staplefile] [-o staplefile] file DESCRIPTION The ocspcheck utility validates a PEM format certificate against the OCSP responder encoded in the certificate specified by the file argument. Normally ...
oct_ptp_open(9)
NAME oct_ptp_open - Open PTP clock source SYNOPSIS void oct_ptp_open (struct net_device *netdev ); ARGUMENTS netdev network device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9), force_io_queues_off(9), pcierror_quiesce_device(9), cleanup_aer_uncorrect_e...
octave(1)
NAME octave - A high-level interactive programming language for numerical computations. SYNOPSIS octave [options]... [file] DESCRIPTION Octave is a high-level interactive scientific programming language. It has a powerful mathematics-oriented syntax for solving problems numerically, as well as built-in 2-D/3-D pl...
octave-cli(1)
NAME octave-cli - A high-level interactive language for numerical computations. SYNOPSIS octave-cli [options]... [file] DESCRIPTION Octave is a high-level language, primarily intended for numerical computations. It provides a convenient command line interface for solving linear and nonlinear problems numerically. o...
octave-config(1)
NAME octave-config - GNU Octave component and library information retrieval SYNOPSIS octave-config [OPTION]... DESCRIPTION octave-config is a tool to obtain directory information for .oct and .m files for octave(1). OPTIONS --m-site-dir Display the main directory for local, or site-specific, .m script files. ...
octeon_alloc_temp_buffer(9)
NAME octeon_alloc_temp_buffer - allocate a temporary buffer for USB transfer (if needed) SYNOPSIS int octeon_alloc_temp_buffer (struct urb *urb , gfp_t mem_flags ); ARGUMENTS urb URB. mem_flags Memory allocation flags. DESCRIPTION This function allocates a temporary bounce buffer whenever it's need...
octeon_board_type_string(9)
NAME octeon_board_type_string - Return a string representing the system type SYNOPSIS const char * octeon_board_type_string (void ); ARGUMENTS void no arguments RETURN system type string SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_simulation(9), octeon_is_pci_host(9), octeon_get_clock_r...
octeon_check_cpu_bist(9)
NAME octeon_check_cpu_bist - Check the hardware BIST results for a CPU SYNOPSIS void octeon_check_cpu_bist (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_simulation(9), octeon_is_pci_host(9), octeon_get_clock_rate(9), octeon_write_lcd(9), octeon_get_boo...
octeon_chip_specific_setup(9)
NAME octeon_chip_specific_setup - Identify the Octeon device and to map the BAR address space SYNOPSIS int octeon_chip_specific_setup (struct octeon_device *oct ); ARGUMENTS oct octeon device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9), force_io_qu...
octeon_console_debug_enabled(9)
NAME octeon_console_debug_enabled - determines if a given console has debug enabled. SYNOPSIS int octeon_console_debug_enabled (u32 console ); ARGUMENTS console console to check RETURN 1 = enabled. 0 otherwise SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c force_io_queues_off(9), ...
octeon_dbg_console_print(9)
NAME octeon_dbg_console_print - Debug console print function SYNOPSIS int octeon_dbg_console_print (struct octeon_device *oct , u32 console_num , char *prefix , char *suffix ); ARGUMENTS oct octeon device console_num console number prefix first portion of line to display suffix ...
octeon_delete_instr_queue(9)
NAME octeon_delete_instr_queue - SYNOPSIS int octeon_delete_instr_queue (struct octeon_device *octeon_dev , u32 iq_no ); ARGUMENTS octeon_dev -- undescribed -- iq_no -- undescribed -- DESCRIPTION param octeon_dev - pointer to the octeon device structure. param iq_no - queue to be de...
octeon_destroy_resources(9)
NAME octeon_destroy_resources - Destroy resources associated with octeon device SYNOPSIS void octeon_destroy_resources (struct octeon_device *oct ); ARGUMENTS oct octeon device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_erro...
octeon_device_init(9)
NAME octeon_device_init - Device initialization for each Octeon device that is probed SYNOPSIS int octeon_device_init (struct octeon_device *oct ); ARGUMENTS oct octeon device SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_error...
octeon_flush_cache_mm(9)
NAME octeon_flush_cache_mm - flush all memory associated with a memory context. SYNOPSIS void octeon_flush_cache_mm (struct mm_struct *mm ); ARGUMENTS mm Memory context to flush SEE ALSO Kernel file ./arch/mips/mm/c-octeon.c octeon_flush_icache_all_cores(9), octeon_flush_cache_range(9), octeon_flush_cache_p...
octeon_flush_cache_page(9)
NAME octeon_flush_cache_page - Flush a specific page of a vma SYNOPSIS void octeon_flush_cache_page (struct vm_area_struct *vma , unsigned long page , unsigned long pfn ); ARGUMENTS vma VMA to flush page for page Page to flush pfn Page frame number SEE ALSO Kernel file ./arch/m...
octeon_flush_cache_range(9)
NAME octeon_flush_cache_range - Flush a range out of a vma SYNOPSIS void octeon_flush_cache_range (struct vm_area_struct *vma , unsigned long start , unsigned long end ); ARGUMENTS vma VMA to flush start beginning address for flush end ending address for flush SEE ALSO Kernel fi...
octeon_flush_icache_all_cores(9)
NAME octeon_flush_icache_all_cores - Flush caches as necessary for all cores affected by a vma. If no vma is supplied, all cores are flushed. SYNOPSIS void octeon_flush_icache_all_cores (struct vm_area_struct *vma ); ARGUMENTS vma VMA to flush or NULL to flush all icaches. SEE ALSO Kernel file ./arch/mips/mm...
octeon_free_temp_buffer(9)
NAME octeon_free_temp_buffer - free a temporary buffer used by USB transfers. SYNOPSIS void octeon_free_temp_buffer (struct urb *urb ); ARGUMENTS urb URB. DESCRIPTION Frees a buffer allocated by octeon_alloc_temp_buffer. SEE ALSO Kernel file ./drivers/usb/host/octeon-hcd.c enum cvmx_usb_speed(9), enum ...
octeon_get_boot_coremask(9)
NAME octeon_get_boot_coremask - Get the coremask Linux was booted on. SYNOPSIS int octeon_get_boot_coremask (void ); ARGUMENTS void no arguments RETURN Core mask SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_simulation(9), octeon_is_pci_host(9), octeon_get_clock_rate(9), octeon_wri...
octeon_get_boot_uart(9)
NAME octeon_get_boot_uart - Return the console uart passed by the bootloader SYNOPSIS int octeon_get_boot_uart (void ); ARGUMENTS void no arguments RETURN uart number (0 or 1) SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_simulation(9), octeon_is_pci_host(9), octeon_get_clock_rate(9),...
octeon_get_clock_rate(9)
NAME octeon_get_clock_rate - Get the clock rate of Octeon SYNOPSIS uint64_t octeon_get_clock_rate (void ); ARGUMENTS void no arguments RETURN Clock rate in HZ SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_simulation(9), octeon_is_pci_host(9), octeon_write_lcd(9), octeon_get_boot_uart...
octeon_halt(9)
NAME octeon_halt - Halt the system SYNOPSIS void octeon_halt (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_simulation(9), octeon_is_pci_host(9), octeon_get_clock_rate(9), octeon_write_lcd(9), octeon_get_boot_uart(9), octeon_get_boot_coremask(9), octeon_...
octeon_has_crypto(9)
NAME octeon_has_crypto - Check if this OCTEON has crypto acceleration support. SYNOPSIS int octeon_has_crypto (void ); ARGUMENTS void no arguments RETURN Non-zero if the feature exists. Zero if the feature does not exist. SEE ALSO Kernel file ./arch/mips/include/asm/octeon/octeon-feature.h April 2026 ...
octeon_i2c_hlc_block_comp_read(9)
NAME octeon_i2c_hlc_block_comp_read - high-level-controller composite block read SYNOPSIS int octeon_i2c_hlc_block_comp_read (struct octeon_i2c *i2c , struct i2c_msg *msgs ); ARGUMENTS i2c The struct octeon_i2c msgs msg[0] contains address, place read data into msg[1] DESCRIPTION i2c core comm...
octeon_i2c_hlc_block_comp_write(9)
NAME octeon_i2c_hlc_block_comp_write - high-level-controller composite block write SYNOPSIS int octeon_i2c_hlc_block_comp_write (struct octeon_i2c *i2c , struct i2c_msg *msgs ); ARGUMENTS i2c The struct octeon_i2c msgs msg[0] contains address, msg[1] contains data to be written DESCRIPTION i2c...
octeon_i2c_hlc_int_enable78(9)
NAME octeon_i2c_hlc_int_enable78 - enable the ST interrupt SYNOPSIS void octeon_i2c_hlc_int_enable78 (struct octeon_i2c *i2c ); ARGUMENTS i2c The struct octeon_i2c DESCRIPTION The interrupt will be asserted when there is non-STAT_IDLE state in the SW_TWSI_EOP_TWSI_STAT register. SEE ALSO Kernel file ./drive...
octeon_i2c_hlc_wait(9)
NAME octeon_i2c_hlc_wait - wait for an HLC operation to complete SYNOPSIS int octeon_i2c_hlc_wait (struct octeon_i2c *i2c ); ARGUMENTS i2c The struct octeon_i2c RETURN 0 on success, otherwise -ETIMEDOUT. SEE ALSO Kernel file ./drivers/i2c/busses/i2c-octeon-core.c octeon_i2c_wait(9), octeon_i2c_sta...
octeon_i2c_int_enable(9)
NAME octeon_i2c_int_enable - enable the CORE interrupt SYNOPSIS void octeon_i2c_int_enable (struct octeon_i2c *i2c ); ARGUMENTS i2c The struct octeon_i2c DESCRIPTION The interrupt will be asserted when there is non-STAT_IDLE state in the SW_TWSI_EOP_TWSI_STAT register. SEE ALSO Kernel file ./drivers/i2c/bus...
octeon_i2c_int_enable78(9)
NAME octeon_i2c_int_enable78 - enable the CORE interrupt SYNOPSIS void octeon_i2c_int_enable78 (struct octeon_i2c *i2c ); ARGUMENTS i2c The struct octeon_i2c DESCRIPTION The interrupt will be asserted when there is non-STAT_IDLE state in the SW_TWSI_EOP_TWSI_STAT register. SEE ALSO Kernel file ./drivers/i2c...
octeon_i2c_is_otx2(9)
NAME octeon_i2c_is_otx2 - check for chip ID SYNOPSIS bool octeon_i2c_is_otx2 (struct pci_dev *pdev ); ARGUMENTS pdev PCI dev structure DESCRIPTION Returns true if the device is an OcteonTX2, false otherwise. SEE ALSO Kernel file ./drivers/i2c/busses/i2c-octeon-core.h octeon_i2c_reg_write(9), octeon_i2c_reg_r...
octeon_i2c_read(9)
NAME octeon_i2c_read - receive data from the bus via low-level controller SYNOPSIS int octeon_i2c_read (struct octeon_i2c *i2c , int target , u8 *data , u16 *rlength , bool recv_len ); ARGUMENTS i2c The struct octeon_i2c target Target address data Pointer to the location to store t...
octeon_i2c_read_int(9)
NAME octeon_i2c_read_int - read the OCTEON_REG_TWSI_INT register SYNOPSIS u64 octeon_i2c_read_int (struct octeon_i2c *i2c ); ARGUMENTS i2c The struct octeon_i2c DESCRIPTION Returns the value of the register. SEE ALSO Kernel file ./drivers/i2c/busses/i2c-octeon-core.h octeon_i2c_reg_write(9), octeon_i2c_reg_...
octeon_i2c_reg_read(9)
NAME octeon_i2c_reg_read - read lower bits of an I2C core register SYNOPSIS int octeon_i2c_reg_read (struct octeon_i2c *i2c , u64 eop_reg , int *error ); ARGUMENTS i2c The struct octeon_i2c eop_reg Register selector error -- undescribed -- DESCRIPTION Returns the data. The I2C core...
octeon_i2c_reg_write(9)
NAME octeon_i2c_reg_write - write an I2C core register SYNOPSIS void octeon_i2c_reg_write (struct octeon_i2c *i2c , u64 eop_reg , u8 data ); ARGUMENTS i2c The struct octeon_i2c eop_reg Register selector data Value to be written DESCRIPTION The I2C core registers are accessed indire...
octeon_i2c_start(9)
NAME octeon_i2c_start - send START to the bus SYNOPSIS int octeon_i2c_start (struct octeon_i2c *i2c ); ARGUMENTS i2c The struct octeon_i2c RETURN 0 on success, otherwise a negative errno. SEE ALSO Kernel file ./drivers/i2c/busses/i2c-octeon-core.c octeon_i2c_wait(9), octeon_i2c_hlc_wait(9), octeon_i2c_read(...
octeon_i2c_wait(9)
NAME octeon_i2c_wait - wait for the IFLG to be set SYNOPSIS int octeon_i2c_wait (struct octeon_i2c *i2c ); ARGUMENTS i2c The struct octeon_i2c RETURN 0 on success, otherwise a negative errno. SEE ALSO Kernel file ./drivers/i2c/busses/i2c-octeon-core.c octeon_i2c_hlc_wait(9), octeon_i2c_start(9), o...
octeon_i2c_write(9)
NAME octeon_i2c_write - send data to the bus via low-level controller SYNOPSIS int octeon_i2c_write (struct octeon_i2c *i2c , int target , const u8 *data , int length ); ARGUMENTS i2c The struct octeon_i2c target Target address data Pointer to the data to be sent length ...
octeon_i2c_write_int(9)
NAME octeon_i2c_write_int - write the OCTEON_REG_TWSI_INT register SYNOPSIS void octeon_i2c_write_int (struct octeon_i2c *i2c , u64 data ); ARGUMENTS i2c The struct octeon_i2c data Value to be written SEE ALSO Kernel file ./drivers/i2c/busses/i2c-octeon-core.h octeon_i2c_reg_write(9), octeon_i...
octeon_i2c_xfer(9)
NAME octeon_i2c_xfer - The driver's xfer function SYNOPSIS int octeon_i2c_xfer (struct i2c_adapter *adap , struct i2c_msg *msgs , int num ); ARGUMENTS adap Pointer to the i2c_adapter structure msgs Pointer to the messages to be processed num Length of the MSGS array RETURN the n...
octeon_init_instr_queue(9)
NAME octeon_init_instr_queue - SYNOPSIS int octeon_init_instr_queue (struct octeon_device *octeon_dev , union oct_txpciq txpciq , u32 num_descs ); ARGUMENTS octeon_dev -- undescribed -- txpciq -- undescribed -- num_descs -- undescribed -- DESCRIPTION param octeon_dev - pointer to the oct...
octeon_io_clk_delay(9)
NAME octeon_io_clk_delay - wait for a given number of io clock cycles to pass. SYNOPSIS void octeon_io_clk_delay (unsigned long count ); ARGUMENTS count The number of clocks to wait. DESCRIPTION We scale the wait by the clock ratio, and then wait for the corresponding number of core clocks. SEE ALSO Kernel fi...
octeon_is_pci_host(9)
NAME octeon_is_pci_host - Return true if Octeon is in PCI Host mode. This means Linux can control the PCI bus. SYNOPSIS int octeon_is_pci_host (void ); ARGUMENTS void no arguments RETURN Non-zero if Octeon is in host mode. SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_simulation(9), oc...
octeon_is_simulation(9)
NAME octeon_is_simulation - Return non-zero if we are currently running in the Octeon simulator SYNOPSIS int octeon_is_simulation (void ); ARGUMENTS void no arguments RETURN non-0 if running in the Octeon simulator, 0 otherwise SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_pci_host(9), ...
octeon_kill_core(9)
NAME octeon_kill_core - Permanently stop a core. SYNOPSIS void octeon_kill_core (void *arg ); ARGUMENTS arg Ignored. SEE ALSO Kernel file ./arch/mips/cavium-octeon/setup.c octeon_is_simulation(9), octeon_is_pci_host(9), octeon_get_clock_rate(9), octeon_write_lcd(9), octeon_get_boot_uart(9), octeon_get_boot_...
octeon_map_urb_for_dma(9)
NAME octeon_map_urb_for_dma - Octeon-specific map_urb_for_dma(). SYNOPSIS int octeon_map_urb_for_dma (struct usb_hcd *hcd , struct urb *urb , gfp_t mem_flags ); ARGUMENTS hcd USB HCD structure. urb URB. mem_flags Memory allocation flags. SEE ALSO Kernel file ./drivers/usb/host/oct...