id
stringlengths
4
63
text
stringlengths
153
8.81M
octep_vf_device_setup_cn93(9)
NAME octep_vf_device_setup_cn93 - Setup Octeon device. SYNOPSIS void octep_vf_device_setup_cn93 (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. DESCRIPTION - initialize hardware operations. - get target side pcie port number for the device. - set initial configuration an...
octep_vf_device_setup_cnxk(9)
NAME octep_vf_device_setup_cnxk - Setup Octeon device. SYNOPSIS void octep_vf_device_setup_cnxk (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. DESCRIPTION - initialize hardware operations. - get target side pcie port number for the device. - set initial configuration an...
octep_vf_disable_msix(9)
NAME octep_vf_disable_msix - disable MSI-x interrupts. SYNOPSIS void octep_vf_disable_msix (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. DESCRIPTION Disable MSI-x on the Octeon device. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c oc...
octep_vf_enable_ioq_irq(9)
NAME octep_vf_enable_ioq_irq - Enable MSI-x interrupt of a Tx/Rx queue. SYNOPSIS void octep_vf_enable_ioq_irq (struct octep_vf_iq *iq , struct octep_vf_oq *oq ); ARGUMENTS iq Octeon Tx queue data structure. oq Octeon Rx queue data structure. SEE ALSO Kernel file ./drivers/net/ethernet/mar...
octep_vf_enable_msix_range(9)
NAME octep_vf_enable_msix_range - enable MSI-x interrupts. SYNOPSIS int octep_vf_enable_msix_range (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. DESCRIPTION Allocate and enable all MSI-x interrupts (queue and non-queue interrupts) for the Octeon device. RETURN 0, on suc...
octep_vf_exit_module(9)
NAME octep_vf_exit_module - Module exit routine. SYNOPSIS void octep_vf_exit_module (void ); ARGUMENTS void no arguments DESCRIPTION unregister the driver with PCI subsystem and cleanup common resources. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c octep_vf_alloc_ioq_vec...
octep_vf_free_ioq_vectors(9)
NAME octep_vf_free_ioq_vectors - Free Tx/Rx Queue interrupt vector info. SYNOPSIS void octep_vf_free_ioq_vectors (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c octep_vf_alloc_ioq_vectors(9...
octep_vf_free_iq(9)
NAME octep_vf_free_iq - Free Tx queue resources. SYNOPSIS void octep_vf_free_iq (struct octep_vf_iq *iq ); ARGUMENTS iq Octeon Tx queue data structure. DESCRIPTION Free all the resources allocated for a Tx queue. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_tx.c octep_...
octep_vf_free_iqs(9)
NAME octep_vf_free_iqs - Free resources of all Tx queues. SYNOPSIS void octep_vf_free_iqs (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_tx.c octep_vf_iq_process_completions(9), octep_vf...
octep_vf_free_irqs(9)
NAME octep_vf_free_irqs - free all registered interrupts. SYNOPSIS void octep_vf_free_irqs (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. DESCRIPTION Free all queue and non-queue interrupts of the Octeon device. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeo...
octep_vf_free_oq(9)
NAME octep_vf_free_oq - Free Rx queue resources. SYNOPSIS int octep_vf_free_oq (struct octep_vf_oq *oq ); ARGUMENTS oq Octeon Rx queue data structure. DESCRIPTION Free all resources of a Rx queue. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.c octep_vf_oq_fill_ring_b...
octep_vf_free_oqs(9)
NAME octep_vf_free_oqs - Free resources of all Rx queues. SYNOPSIS void octep_vf_free_oqs (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.c octep_vf_oq_fill_ring_buffers(9), octep_vf_o...
octep_vf_get_stats64(9)
NAME octep_vf_get_stats64 - Get Octeon network device statistics. SYNOPSIS void octep_vf_get_stats64 (struct net_device *netdev , struct rtnl_link_stats64 *stats ); ARGUMENTS netdev kernel network device. stats pointer to stats structure to be filled in. SEE ALSO Kernel file ./drivers/net/ethern...
octep_vf_init_module(9)
NAME octep_vf_init_module - Module initialization. SYNOPSIS int octep_vf_init_module (void ); ARGUMENTS void no arguments DESCRIPTION create common resource for the driver and register PCI driver. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c octep_vf_alloc_ioq_vectors(9)...
octep_vf_ioq_intr_handler(9)
NAME octep_vf_ioq_intr_handler - handler for all Tx/Rx queue interrupts. SYNOPSIS irqreturn_t octep_vf_ioq_intr_handler (int irq , void *data ); ARGUMENTS irq Interrupt number. data interrupt data contains pointers to Tx/Rx queue private data and correspong NAPI context. DESCRIPTION this is co...
octep_vf_iq_free_pending(9)
NAME octep_vf_iq_free_pending - Free Tx buffers for pending completions. SYNOPSIS void octep_vf_iq_free_pending (struct octep_vf_iq *iq ); ARGUMENTS iq Octeon Tx queue data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_tx.c octep_vf_iq_process_completions(9), octep_vf_...
octep_vf_iq_full_check(9)
NAME octep_vf_iq_full_check - check if a Tx queue is full. SYNOPSIS int octep_vf_iq_full_check (struct octep_vf_iq *iq ); ARGUMENTS iq Octeon Tx queue data structure. RETURN 0, if the Tx queue is not full. 1, if the Tx queue is full. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep...
octep_vf_iq_process_completions(9)
NAME octep_vf_iq_process_completions - Process Tx queue completions. SYNOPSIS int octep_vf_iq_process_completions (struct octep_vf_iq *iq , u16 budget ); ARGUMENTS iq Octeon Tx queue data structure. budget max number of completions to be processed in one invocation. SEE ALSO Kernel file ./drive...
octep_vf_napi_add(9)
NAME octep_vf_napi_add - Add NAPI poll for all Tx/Rx queues. SYNOPSIS void octep_vf_napi_add (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c octep_vf_alloc_ioq_vectors(9), octep_vf_free_ioq_...
octep_vf_napi_delete(9)
NAME octep_vf_napi_delete - delete NAPI poll callback for all Tx/Rx queues. SYNOPSIS void octep_vf_napi_delete (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c octep_vf_alloc_ioq_vectors(9), ...
octep_vf_napi_disable(9)
NAME octep_vf_napi_disable - disable NAPI for all Tx/Rx queues. SYNOPSIS void octep_vf_napi_disable (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c octep_vf_alloc_ioq_vectors(9), octep_vf_fr...
octep_vf_napi_enable(9)
NAME octep_vf_napi_enable - enable NAPI for all Tx/Rx queues. SYNOPSIS void octep_vf_napi_enable (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c octep_vf_alloc_ioq_vectors(9), octep_vf_free_...
octep_vf_napi_poll(9)
NAME octep_vf_napi_poll - NAPI poll function for Tx/Rx. SYNOPSIS int octep_vf_napi_poll (struct napi_struct *napi , int budget ); ARGUMENTS napi pointer to napi context. budget max number of packets to be processed in single invocation. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon...
octep_vf_open(9)
NAME octep_vf_open - start the octeon network device. SYNOPSIS int octep_vf_open (struct net_device *netdev ); ARGUMENTS netdev pointer to kernel network device. DESCRIPTION setup Tx/Rx queues, interrupts and enable hardware operation of Tx/Rx queues and interrupts.. RETURN 0, on successfully setting up device...
octep_vf_oq_check_hw_for_pkts(9)
NAME octep_vf_oq_check_hw_for_pkts - Check for new Rx packets. SYNOPSIS int octep_vf_oq_check_hw_for_pkts (struct octep_vf_device *oct , struct octep_vf_oq *oq ); ARGUMENTS oct Octeon device private data structure. oq Octeon Rx queue data structure. RETURN packets received after previous che...
octep_vf_oq_dbell_init(9)
NAME octep_vf_oq_dbell_init - Initialize Rx queue doorbell. SYNOPSIS void octep_vf_oq_dbell_init (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. DESCRIPTION Write number of descriptors to Rx queue doorbell register. SEE ALSO Kernel file ./drivers/net/ethernet/marvel...
octep_vf_oq_fill_ring_buffers(9)
NAME octep_vf_oq_fill_ring_buffers - fill initial receive buffers for Rx ring. SYNOPSIS int octep_vf_oq_fill_ring_buffers (struct octep_vf_oq *oq ); ARGUMENTS oq Octeon Rx queue data structure. RETURN 0, if successfully filled receive buffers for all descriptors. -ENOMEM, if failed to allocate a buffer or ...
octep_vf_oq_free_ring_buffers(9)
NAME octep_vf_oq_free_ring_buffers - Free ring buffers. SYNOPSIS void octep_vf_oq_free_ring_buffers (struct octep_vf_oq *oq ); ARGUMENTS oq Octeon Rx queue data structure. DESCRIPTION Free receive buffers in unused Rx queue descriptors. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/oct...
octep_vf_oq_process_rx(9)
NAME octep_vf_oq_process_rx - Process Rx queue. SYNOPSIS int octep_vf_oq_process_rx (struct octep_vf_oq *oq , int budget ); ARGUMENTS oq Octeon Rx queue data structure. budget max number of packets can be processed in one invocation. DESCRIPTION Check for newly received packets and process them...
octep_vf_oq_refill(9)
NAME octep_vf_oq_refill - refill buffers for used Rx ring descriptors. SYNOPSIS int octep_vf_oq_refill (struct octep_vf_device *oct , struct octep_vf_oq *oq ); ARGUMENTS oct Octeon device private data structure. oq Octeon Rx queue data structure. RETURN number of descriptors successfully ref...
octep_vf_probe(9)
NAME octep_vf_probe - Octeon PCI device probe handler. SYNOPSIS int octep_vf_probe (struct pci_dev *pdev , const struct pci_device_id *ent ); ARGUMENTS pdev PCI device structure. ent entry in Octeon PCI device ID table. DESCRIPTION Initializes and enables the Octeon PCI device for network oper...
octep_vf_remove(9)
NAME octep_vf_remove - Remove Octeon PCI device from driver control. SYNOPSIS void octep_vf_remove (struct pci_dev *pdev ); ARGUMENTS pdev PCI device structure of the Octeon device. DESCRIPTION Cleanup all resources allocated for the Octeon device. Unregister from network device and disable the PCI device. ...
octep_vf_request_irqs(9)
NAME octep_vf_request_irqs - Register interrupt handlers. SYNOPSIS int octep_vf_request_irqs (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. DESCRIPTION Register handlers for all queue and non-queue interrupts. RETURN 0, on successful registration of all interrupt handler...
octep_vf_setup_iq(9)
NAME octep_vf_setup_iq - Setup a Tx queue. SYNOPSIS int octep_vf_setup_iq (struct octep_vf_device *oct , int q_no ); ARGUMENTS oct Octeon device private data structure. q_no Tx queue number to be setup. DESCRIPTION Allocate resources for a Tx queue. SEE ALSO Kernel file ./drivers/net/et...
octep_vf_setup_iqs(9)
NAME octep_vf_setup_iqs - setup resources for all Tx queues. SYNOPSIS int octep_vf_setup_iqs (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_tx.c octep_vf_iq_process_completions(9), octep_vf_iq_free_...
octep_vf_setup_irqs(9)
NAME octep_vf_setup_irqs - setup interrupts for the Octeon device. SYNOPSIS int octep_vf_setup_irqs (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. DESCRIPTION Allocate data structures to hold per interrupt information, allocate/enable MSI-x interrupt and register interrup...
octep_vf_setup_oq(9)
NAME octep_vf_setup_oq - Setup a Rx queue. SYNOPSIS int octep_vf_setup_oq (struct octep_vf_device *oct , int q_no ); ARGUMENTS oct Octeon device private data structure. q_no Rx queue number to be setup. DESCRIPTION Allocate resources for a Rx queue. SEE ALSO Kernel file ./drivers/net/et...
octep_vf_setup_oqs(9)
NAME octep_vf_setup_oqs - setup resources for all Rx queues. SYNOPSIS int octep_vf_setup_oqs (struct octep_vf_device *oct ); ARGUMENTS oct Octeon device private data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.c octep_vf_oq_fill_ring_buffers(9), octep_v...
octep_vf_start_xmit(9)
NAME octep_vf_start_xmit - Enqueue packet to Octoen hardware Tx Queue. SYNOPSIS netdev_tx_t octep_vf_start_xmit (struct sk_buff *skb , struct net_device *netdev ); ARGUMENTS skb packet skbuff pointer. netdev kernel network device. RETURN NETDEV_TX_BUSY, if Tx Queue is full. NETDEV_TX_OK, if suc...
octep_vf_stop(9)
NAME octep_vf_stop - stop the octeon network device. SYNOPSIS int octep_vf_stop (struct net_device *netdev ); ARGUMENTS netdev pointer to kernel network device. DESCRIPTION stop the device Tx/Rx operations, bring down the link and free up all resources allocated for Tx/Rx queues and interrupts. SEE ALSO Kernel...
octep_vf_tx_timeout(9)
NAME octep_vf_tx_timeout - Handle Tx Queue timeout. SYNOPSIS void octep_vf_tx_timeout (struct net_device *netdev , unsigned int txqueue ); ARGUMENTS netdev pointer to kernel network device. txqueue Timed out Tx queue number. DESCRIPTION Schedule a work to handle Tx queue timeout. SEE ALSO Kernel f...
octep_vf_tx_timeout_task(9)
NAME octep_vf_tx_timeout_task - work queue task to Handle Tx queue timeout. SYNOPSIS void octep_vf_tx_timeout_task (struct work_struct *work ); ARGUMENTS work pointer to Tx queue timeout work_struct DESCRIPTION Stop and start the device so that it frees up all queue resources and restarts the queues, that pot...
octep_vf_update_pkt(9)
NAME octep_vf_update_pkt - Update IQ/OQ IN/OUT_CNT registers. SYNOPSIS void octep_vf_update_pkt (struct octep_vf_iq *iq , struct octep_vf_oq *oq ); ARGUMENTS iq Octeon Tx queue data structure. oq Octeon Rx queue data structure. SEE ALSO Kernel file ./drivers/net/ethernet/marvell/octeon_ep...
octep_vfire_intr_handler(9)
NAME octep_vfire_intr_handler - common handler for vf input ring error interrupts. SYNOPSIS irqreturn_t octep_vfire_intr_handler (int irq , void *data ); ARGUMENTS irq Interrupt number. data interrupt data. DESCRIPTION this is common handler for vf input ring error interrupts. SEE ALSO Kernel...
octep_vfore_intr_handler(9)
NAME octep_vfore_intr_handler - common handler for vf output ring error interrupts. SYNOPSIS irqreturn_t octep_vfore_intr_handler (int irq , void *data ); ARGUMENTS irq Interrupt number. data interrupt data. DESCRIPTION this is common handler for vf output ring error interrupts. SEE ALSO Kern...
octnet_link_status_change(9)
NAME octnet_link_status_change - Routine to notify MTU change SYNOPSIS void octnet_link_status_change (struct work_struct *work ); ARGUMENTS work work_struct data structure SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_vf_main.c pcierror_quiesce_device(9), cleanup_aer_uncorrect_error_sta...
octnet_poll_check_txq_status(9)
NAME octnet_poll_check_txq_status - Poll routine for checking transmit queue status SYNOPSIS void octnet_poll_check_txq_status (struct work_struct *work ); ARGUMENTS work work_struct data structure SEE ALSO Kernel file ./drivers/net/ethernet/cavium/liquidio/lio_main.c octeon_console_debug_enabled(9), force_...
ocxl_afu_config(9)
NAME ocxl_afu_config - Get a pointer to the config for an AFU SYNOPSIS struct ocxl_afu_config * ocxl_afu_config (struct ocxl_afu *afu ); ARGUMENTS afu a pointer to the AFU to get the config for DESCRIPTION Returns a pointer to the AFU config SEE ALSO Kernel file ./include/misc/ocxl.h ocxl_function_open(9...
ocxl_afu_get(9)
NAME ocxl_afu_get - Take a reference to an AFU SYNOPSIS void ocxl_afu_get (struct ocxl_afu *afu ); ARGUMENTS afu The AFU to increment the reference count on SEE ALSO Kernel file ./include/misc/ocxl.h ocxl_function_open(9), ocxl_function_afu_list(9), ocxl_function_fetch_afu(9), ocxl_afu_put(9), ocxl_f...
ocxl_afu_get_private(9)
NAME ocxl_afu_get_private - Fetch the hardware specific information associated with an external OpenCAPI AFU. This may be consumed by an external OpenCAPI driver. SYNOPSIS void * ocxl_afu_get_private (struct ocxl_afu *afu ); ARGUMENTS afu The OpenCAPI AFU DESCRIPTION Returns the opaque pointer associated wit...
ocxl_afu_irq_alloc(9)
NAME ocxl_afu_irq_alloc - Allocate an IRQ associated with an AFU context SYNOPSIS int ocxl_afu_irq_alloc (struct ocxl_context *ctx , int *irq_id ); ARGUMENTS ctx the AFU context irq_id out, the IRQ ID DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./include/misc/oc...
ocxl_afu_irq_free(9)
NAME ocxl_afu_irq_free - Frees an IRQ associated with an AFU context SYNOPSIS int ocxl_afu_irq_free (struct ocxl_context *ctx , int irq_id ); ARGUMENTS ctx the AFU context irq_id the IRQ ID DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./include/misc/ocxl.h ocxl_...
ocxl_afu_irq_get_addr(9)
NAME ocxl_afu_irq_get_addr - Gets the address of the trigger page for an IRQ This can then be provided to an AFU which will write to that page to trigger the IRQ. SYNOPSIS u64 ocxl_afu_irq_get_addr (struct ocxl_context *ctx , int irq_id ); ARGUMENTS ctx The AFU context that the IRQ is associated with ...
ocxl_afu_put(9)
NAME ocxl_afu_put - Release a reference to an AFU SYNOPSIS void ocxl_afu_put (struct ocxl_afu *afu ); ARGUMENTS afu The AFU to decrement the reference count on SEE ALSO Kernel file ./include/misc/ocxl.h ocxl_function_open(9), ocxl_function_afu_list(9), ocxl_function_fetch_afu(9), ocxl_afu_get(9), ocx...
ocxl_afu_set_private(9)
NAME ocxl_afu_set_private - Assign opaque hardware specific information to an OpenCAPI AFU. SYNOPSIS void ocxl_afu_set_private (struct ocxl_afu *afu , void *private ); ARGUMENTS afu The OpenCAPI AFU private the opaque hardware specific information to assign to the driver SEE ALSO Kernel file ./...
ocxl_context_alloc(9)
NAME ocxl_context_alloc - Allocate an OpenCAPI context SYNOPSIS int ocxl_context_alloc (struct ocxl_context **context , struct ocxl_afu *afu , struct address_space *mapping ); ARGUMENTS context The OpenCAPI context to allocate, must be freed with ocxl_context_free afu The AFU the context belongs t...
ocxl_context_attach(9)
NAME ocxl_context_attach - Grant access to an MM to an OpenCAPI context SYNOPSIS int ocxl_context_attach (struct ocxl_context *ctx , u64 amr , struct mm_struct *mm ); ARGUMENTS ctx The OpenCAPI context to attach amr The value of the AMR register to restrict access mm The mm to...
ocxl_context_detach(9)
NAME ocxl_context_detach - Detach an MM from an OpenCAPI context SYNOPSIS int ocxl_context_detach (struct ocxl_context *ctx ); ARGUMENTS ctx The OpenCAPI context to attach DESCRIPTION Returns 0 on success, negative on failure SEE ALSO Kernel file ./include/misc/ocxl.h ocxl_function_open(9), ocxl_functio...
ocxl_context_free(9)
NAME ocxl_context_free - Free an OpenCAPI context SYNOPSIS void ocxl_context_free (struct ocxl_context *ctx ); ARGUMENTS ctx The OpenCAPI context to free SEE ALSO Kernel file ./include/misc/ocxl.h ocxl_function_open(9), ocxl_function_afu_list(9), ocxl_function_fetch_afu(9), ocxl_afu_get(9), ocxl_afu_put(...
ocxl_function_afu_list(9)
NAME ocxl_function_afu_list - Get the list of AFUs associated with a PCI function device Returns a list of struct ocxl_afu * SYNOPSIS struct list_head * ocxl_function_afu_list (struct ocxl_fn *fn ); ARGUMENTS fn The OpenCAPI function containing the AFUs SEE ALSO Kernel file ./include/misc/ocxl.h ocxl_fun...
ocxl_function_close(9)
NAME ocxl_function_close - Close an OpenCAPI function This will free any AFUs previously retrieved from the function, and detach and associated contexts. The contexts must by freed by the caller. SYNOPSIS void ocxl_function_close (struct ocxl_fn *fn ); ARGUMENTS fn The OpenCAPI function to close SEE ALSO Ke...
ocxl_function_config(9)
NAME ocxl_function_config - Get the configuration information for an OpenCAPI function SYNOPSIS const struct ocxl_fn_config * ocxl_function_config (struct ocxl_fn *fn ); ARGUMENTS fn The OpenCAPI function to get the config for DESCRIPTION Returns the function config, or NULL on error SEE ALSO Kernel file ...
ocxl_function_fetch_afu(9)
NAME ocxl_function_fetch_afu - Fetch an AFU instance from an OpenCAPI function SYNOPSIS struct ocxl_afu * ocxl_function_fetch_afu (struct ocxl_fn *fn , u8 afu_idx ); ARGUMENTS fn The OpenCAPI function to get the AFU from afu_idx The index of the AFU to get DESCRIPTION If successful, the AFU shou...
ocxl_function_open(9)
NAME ocxl_function_open - Open an OpenCAPI function on an OpenCAPI device SYNOPSIS struct ocxl_fn * ocxl_function_open (struct pci_dev *dev ); ARGUMENTS dev The PCI device that contains the function DESCRIPTION Returns an opaque pointer to the function, or an error pointer (check with IS_ERR) SEE ALSO Kerne...
ocxl_global_mmio_clear32(9)
NAME ocxl_global_mmio_clear32 - Set bits in a 32 bit global MMIO register SYNOPSIS int ocxl_global_mmio_clear32 (struct ocxl_afu *afu , size_t offset , enum ocxl_endian endian , u32 mask ); ARGUMENTS afu The AFU offset The Offset from the start of MMIO endian the endianness that the ...
ocxl_global_mmio_clear64(9)
NAME ocxl_global_mmio_clear64 - Set bits in a 64 bit global MMIO register SYNOPSIS int ocxl_global_mmio_clear64 (struct ocxl_afu *afu , size_t offset , enum ocxl_endian endian , u64 mask ); ARGUMENTS afu The AFU offset The Offset from the start of MMIO endian the endianness that the ...
ocxl_global_mmio_read32(9)
NAME ocxl_global_mmio_read32 - Read a 32 bit value from global MMIO SYNOPSIS int ocxl_global_mmio_read32 (struct ocxl_afu *afu , size_t offset , enum ocxl_endian endian , u32 *val ); ARGUMENTS afu The AFU offset The Offset from the start of MMIO endian the endianness that the MMIO da...
ocxl_global_mmio_read64(9)
NAME ocxl_global_mmio_read64 - Read a 64 bit value from global MMIO SYNOPSIS int ocxl_global_mmio_read64 (struct ocxl_afu *afu , size_t offset , enum ocxl_endian endian , u64 *val ); ARGUMENTS afu The AFU offset The Offset from the start of MMIO endian the endianness that the MMIO da...
ocxl_global_mmio_set32(9)
NAME ocxl_global_mmio_set32 - Set bits in a 32 bit global MMIO register SYNOPSIS int ocxl_global_mmio_set32 (struct ocxl_afu *afu , size_t offset , enum ocxl_endian endian , u32 mask ); ARGUMENTS afu The AFU offset The Offset from the start of MMIO endian the endianness that the MMIO...
ocxl_global_mmio_set64(9)
NAME ocxl_global_mmio_set64 - Set bits in a 64 bit global MMIO register SYNOPSIS int ocxl_global_mmio_set64 (struct ocxl_afu *afu , size_t offset , enum ocxl_endian endian , u64 mask ); ARGUMENTS afu The AFU offset The Offset from the start of MMIO endian the endianness that the MMIO...
ocxl_global_mmio_write32(9)
NAME ocxl_global_mmio_write32 - Write a 32 bit value to global MMIO SYNOPSIS int ocxl_global_mmio_write32 (struct ocxl_afu *afu , size_t offset , enum ocxl_endian endian , u32 val ); ARGUMENTS afu The AFU offset The Offset from the start of MMIO endian the endianness that the MMIO da...
ocxl_global_mmio_write64(9)
NAME ocxl_global_mmio_write64 - Write a 64 bit value to global MMIO SYNOPSIS int ocxl_global_mmio_write64 (struct ocxl_afu *afu , size_t offset , enum ocxl_endian endian , u64 val ); ARGUMENTS afu The AFU offset The Offset from the start of MMIO endian the endianness that the MMIO da...
ocxl_irq_set_handler(9)
NAME ocxl_irq_set_handler - Provide a callback to be called when an IRQ is triggered SYNOPSIS int ocxl_irq_set_handler (struct ocxl_context *ctx , int irq_id , irqreturn_t (*handler)(void *private) , void (*free_private)(void *private) , void *private ); ARGUMENTS ctx The AFU context that the IRQ is associate...
ocxl_link_update_pe(9)
NAME ocxl_link_update_pe - Update values within a Process Element SYNOPSIS int ocxl_link_update_pe (void *link_handle , int pasid , __u16 tid ); ARGUMENTS link_handle the link handle associated with the process element pasid the PASID for the AFU context tid the new thread id for the pro...
od(1)
NAME od - dump files in octal and other formats SYNOPSIS od [OPTION]... [FILE]... od [-abcdfilosx]... [FILE] [[+]OFFSET[.][b]] od --traditional [OPTION]... [FILE] [[+]OFFSET[.][b] [+][LABEL][.][b]] DESCRIPTION Write an unambiguous representation, octal bytes by default, of FILE to standard output. With more than one...
od(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 od — dump files in various formats SYNOPSIS od [-v] [-A a...
oem_cable(9)
NAME oem_cable - Dell/Sun serverworks cable detection SYNOPSIS int oem_cable (struct ata_port *ap ); ARGUMENTS ap ATA port to do cable detect DESCRIPTION Dell PowerEdge and Sun Cobalt 'Alpine' hide the 40/80 pin select for their interfaces in the top two bits of the subsystem ID. SEE ALSO Kernel file ./dri...
of_add_property(9)
NAME of_add_property - Add a property to a node SYNOPSIS int of_add_property (struct device_node *np , struct property *prop ); ARGUMENTS np Caller's Device Node prop Property to add SEE ALSO Kernel file ./drivers/of/base.c of_find_all_nodes(9), __of_device_is_compatible(9), of_machine_compat...
of_address_to_resource(9)
NAME of_address_to_resource - Translate device tree address and return as resource SYNOPSIS int of_address_to_resource (struct device_node *dev , int index , struct resource *r ); ARGUMENTS dev Caller's Device Node index Index into the array r Pointer to resource array DESCRIP...
of_aemif_parse_abus_config(9)
NAME of_aemif_parse_abus_config - parse CS configuration from DT SYNOPSIS int of_aemif_parse_abus_config (struct platform_device *pdev , struct device_node *np ); ARGUMENTS pdev platform device to parse for np device node ptr DESCRIPTION This function update the emif async bus configuration b...
of_alias_from_compatible(9)
NAME of_alias_from_compatible - Lookup appropriate alias for a device node depending on compatible SYNOPSIS int of_alias_from_compatible (const struct device_node *node , char *alias , int len ); ARGUMENTS node pointer to a device tree node alias Pointer to buffer that alias value will be copied ...
of_alias_get_highest_id(9)
NAME of_alias_get_highest_id - Get highest alias id for the given stem SYNOPSIS int of_alias_get_highest_id (const char *stem ); ARGUMENTS stem Alias stem to be examined DESCRIPTION The function travels the lookup table to get the highest alias id for the given alias stem. It returns the alias id if found. ...
of_alias_get_id(9)
NAME of_alias_get_id - Get alias id for the given device_node SYNOPSIS int of_alias_get_id (const struct device_node *np , const char *stem ); ARGUMENTS np Pointer to the given device_node stem Alias stem of the given device_node DESCRIPTION The function travels the lookup table to get the al...
of_alias_scan(9)
NAME of_alias_scan - Scan all properties of the 'aliases' node SYNOPSIS void of_alias_scan (void * (*dt_alloc)(u64 size, u64 align) ); ARGUMENTS dt_alloc An allocator that provides a virtual address to memory for storing the resulting tree DESCRIPTION The function scans all the properties of the 'aliases' node an...
of_attach_node(9)
NAME of_attach_node - Plug a device node into the tree and global list. SYNOPSIS int of_attach_node (struct device_node *np ); ARGUMENTS np Pointer to the caller's Device Node SEE ALSO Kernel file ./drivers/of/dynamic.c of_node_get(9), of_node_put(9), of_detach_node(9), of_node_release(9), __of_prop_dup...
of_bcm_voter_get(9)
NAME of_bcm_voter_get - gets a bcm voter handle from DT node SYNOPSIS struct bcm_voter * of_bcm_voter_get (struct device *dev , const char *name ); ARGUMENTS dev device pointer for the consumer device name name for the bcm voter device DESCRIPTION This function will match a device_node poin...
of_changeset_action(9)
NAME of_changeset_action - Add an action to the tail of the changeset list SYNOPSIS int of_changeset_action (struct of_changeset *ocs , unsigned long action , struct device_node *np , struct property *prop ); ARGUMENTS ocs changeset pointer action action to perform np Pointer to ...
of_changeset_add_prop_bool(9)
NAME of_changeset_add_prop_bool - Add a boolean property (i.e. a property without any values) to a changeset. SYNOPSIS int of_changeset_add_prop_bool (struct of_changeset *ocs , struct device_node *np , const char *prop_name ); ARGUMENTS ocs changeset pointer np device node pointer pr...
of_changeset_add_prop_string(9)
NAME of_changeset_add_prop_string - Add a string property to a changeset SYNOPSIS int of_changeset_add_prop_string (struct of_changeset *ocs , struct device_node *np , const char *prop_name , const char *str ); ARGUMENTS ocs changeset pointer np device node pointer prop_name name of...
of_changeset_add_prop_string_array(9)
NAME of_changeset_add_prop_string_array - Add a string list property to a changeset SYNOPSIS int of_changeset_add_prop_string_array (struct of_changeset *ocs , struct device_node *np , const char *prop_name , const char * const *str_array , size_t sz ); ARGUMENTS ocs changeset pointer np devi...
of_changeset_add_prop_u32_array(9)
NAME of_changeset_add_prop_u32_array - Add a property of 32 bit integers property to a changeset SYNOPSIS int of_changeset_add_prop_u32_array (struct of_changeset *ocs , struct device_node *np , const char *prop_name , const u32 *array , size_t sz ); ARGUMENTS ocs changeset pointer np device ...
of_changeset_apply(9)
NAME of_changeset_apply - Applies a changeset SYNOPSIS int of_changeset_apply (struct of_changeset *ocs ); ARGUMENTS ocs changeset pointer DESCRIPTION Applies a changeset to the live tree. Any side-effects of live tree state changes are applied here on success, like creation/destruction of devices and side-...
of_changeset_create_node(9)
NAME of_changeset_create_node - Dynamically create a device node and attach to a given changeset. SYNOPSIS struct device_node * of_changeset_create_node (struct of_changeset *ocs , struct device_node *parent , const char *full_name ); ARGUMENTS ocs Pointer to changeset parent Pointer to parent de...
of_changeset_destroy(9)
NAME of_changeset_destroy - Destroy a changeset SYNOPSIS void of_changeset_destroy (struct of_changeset *ocs ); ARGUMENTS ocs changeset pointer DESCRIPTION Destroys a changeset. Note that if a changeset is applied, its changes to the tree cannot be reverted. SEE ALSO Kernel file ./drivers/of/dynamic.c of...
of_changeset_init(9)
NAME of_changeset_init - Initialize a changeset for use SYNOPSIS void of_changeset_init (struct of_changeset *ocs ); ARGUMENTS ocs changeset pointer DESCRIPTION Initialize a changeset structure SEE ALSO Kernel file ./drivers/of/dynamic.c of_node_get(9), of_node_put(9), of_attach_node(9), of_detach_node...
of_changeset_revert(9)
NAME of_changeset_revert - Reverts an applied changeset SYNOPSIS int of_changeset_revert (struct of_changeset *ocs ); ARGUMENTS ocs changeset pointer DESCRIPTION Reverts a changeset returning the state of the tree to what it was before the application. Any side-effects like creation/destruction of devices a...
of_changeset_update_prop_string(9)
NAME of_changeset_update_prop_string - Add a string property update to a changeset SYNOPSIS int of_changeset_update_prop_string (struct of_changeset *ocs , struct device_node *np , const char *prop_name , const char *str ); ARGUMENTS ocs changeset pointer np device node pointer prop_n...
of_check_coupling_data(9)
NAME of_check_coupling_data - Parse rdev's coupling properties and check data consistency SYNOPSIS bool of_check_coupling_data (struct regulator_dev *rdev ); ARGUMENTS rdev pointer to regulator_dev whose data is checked DESCRIPTION Function checks if all the following conditions are met: - rdev's max_sprea...
of_clk_add_hw_provider(9)
NAME of_clk_add_hw_provider - Register a clock provider for a node SYNOPSIS int of_clk_add_hw_provider (struct device_node *np , struct clk_hw *(*get)(struct of_phandle_args *clkspec, void *data) , void *data ); ARGUMENTS np Device node pointer associated with clock provider get callback for ...
of_clk_add_hw_provider_kunit(9)
NAME of_clk_add_hw_provider_kunit - Test managed of_clk_add_hw_provider() SYNOPSIS int of_clk_add_hw_provider_kunit (struct kunit *test , struct device_node *np , struct clk_hw *(*get)(struct of_phandle_args *clkspec, void *data) , void *data ); ARGUMENTS test The test context np Device node p...