id
stringlengths
4
63
text
stringlengths
153
8.81M
xilinx_dma_free_descriptors(9)
NAME xilinx_dma_free_descriptors - Free channel descriptors SYNOPSIS void xilinx_dma_free_descriptors (struct xilinx_dma_chan *chan ); ARGUMENTS chan Driver specific DMA channel SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struct xilinx...
xilinx_dma_free_tx_descriptor(9)
NAME xilinx_dma_free_tx_descriptor - Free transaction descriptor SYNOPSIS void xilinx_dma_free_tx_descriptor (struct xilinx_dma_chan *chan , struct xilinx_dma_tx_descriptor *desc ); ARGUMENTS chan Driver specific DMA channel desc DMA transaction descriptor SEE ALSO Kernel file ./drivers/dma/xil...
xilinx_dma_free_tx_segment(9)
NAME xilinx_dma_free_tx_segment - Free transaction segment SYNOPSIS void xilinx_dma_free_tx_segment (struct xilinx_dma_chan *chan , struct xilinx_axidma_tx_segment *segment ); ARGUMENTS chan Driver specific DMA channel segment DMA transaction segment SEE ALSO Kernel file ./drivers/dma/xilinx/xilin...
xilinx_dma_get_metadata_ptr(9)
NAME xilinx_dma_get_metadata_ptr - Populate metadata pointer and payload length SYNOPSIS void * xilinx_dma_get_metadata_ptr (struct dma_async_tx_descriptor *tx , size_t *payload_len , size_t *max_len ); ARGUMENTS tx async transaction descriptor payload_len metadata payload length max_len ...
xilinx_dma_get_residue(9)
NAME xilinx_dma_get_residue - Compute residue for a given descriptor SYNOPSIS u32 xilinx_dma_get_residue (struct xilinx_dma_chan *chan , struct xilinx_dma_tx_descriptor *desc ); ARGUMENTS chan Driver specific dma channel desc dma transaction descriptor RETURN The number of residue bytes for the...
xilinx_dma_irq_handler(9)
NAME xilinx_dma_irq_handler - DMA Interrupt handler SYNOPSIS irqreturn_t xilinx_dma_irq_handler (int irq , void *data ); ARGUMENTS irq IRQ number data Pointer to the Xilinx DMA channel structure RETURN IRQ_HANDLED/IRQ_NONE SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_v...
xilinx_dma_issue_pending(9)
NAME xilinx_dma_issue_pending - Issue pending transactions SYNOPSIS void xilinx_dma_issue_pending (struct dma_chan *dchan ); ARGUMENTS dchan DMA channel SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struct xilinx_aximcdma_desc_hw(9), stru...
xilinx_dma_prep_dma_cyclic(9)
NAME xilinx_dma_prep_dma_cyclic - prepare descriptors for a DMA_SLAVE transaction SYNOPSIS struct dma_async_tx_descriptor * xilinx_dma_prep_dma_cyclic (struct dma_chan *dchan , dma_addr_t buf_addr , size_t buf_len , size_t period_len , enum dma_transfer_direction direction , unsigned long flags ); ARGUMENTS dchan ...
xilinx_dma_prep_peripheral_dma_vec(9)
NAME xilinx_dma_prep_peripheral_dma_vec - prepare descriptors for a DMA_SLAVE transaction from DMA vectors SYNOPSIS struct dma_async_tx_descriptor * xilinx_dma_prep_peripheral_dma_vec (struct dma_chan *dchan , const struct dma_vec *vecs , size_t nb , enum dma_transfer_direction direction , unsigned long flags ); ARGU...
xilinx_dma_prep_slave_sg(9)
NAME xilinx_dma_prep_slave_sg - prepare descriptors for a DMA_SLAVE transaction SYNOPSIS struct dma_async_tx_descriptor * xilinx_dma_prep_slave_sg (struct dma_chan *dchan , struct scatterlist *sgl , unsigned int sg_len , enum dma_transfer_direction direction , unsigned long flags , void *context ); ARGUMENTS dchan ...
xilinx_dma_probe(9)
NAME xilinx_dma_probe - Driver probe function SYNOPSIS int xilinx_dma_probe (struct platform_device *pdev ); ARGUMENTS pdev Pointer to the platform_device structure RETURN SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struct xilinx_aximc...
xilinx_dma_remove(9)
NAME xilinx_dma_remove - Driver remove function SYNOPSIS void xilinx_dma_remove (struct platform_device *pdev ); ARGUMENTS pdev Pointer to the platform_device structure SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struct xilinx...
xilinx_dma_reset(9)
NAME xilinx_dma_reset - Reset DMA channel SYNOPSIS int xilinx_dma_reset (struct xilinx_dma_chan *chan ); ARGUMENTS chan Driver specific DMA channel RETURN SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struct xilinx_aximcdma_desc_hw(9), s...
xilinx_dma_start(9)
NAME xilinx_dma_start - Start DMA channel SYNOPSIS void xilinx_dma_start (struct xilinx_dma_chan *chan ); ARGUMENTS chan Driver specific DMA channel SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struct xilinx_aximcdma_desc_hw(9), struct ...
xilinx_dma_start_transfer(9)
NAME xilinx_dma_start_transfer - Starts DMA transfer SYNOPSIS void xilinx_dma_start_transfer (struct xilinx_dma_chan *chan ); ARGUMENTS chan Driver specific channel struct pointer SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struct xili...
xilinx_dma_stop_transfer(9)
NAME xilinx_dma_stop_transfer - Halt DMA channel SYNOPSIS int xilinx_dma_stop_transfer (struct xilinx_dma_chan *chan ); ARGUMENTS chan Driver specific DMA channel RETURN SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struct xilinx_aximcdm...
xilinx_dma_terminate_all(9)
NAME xilinx_dma_terminate_all - Halt the channel and free descriptors SYNOPSIS int xilinx_dma_terminate_all (struct dma_chan *dchan ); ARGUMENTS dchan Driver specific DMA Channel pointer RETURN SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9)...
xilinx_dma_tx_status(9)
NAME xilinx_dma_tx_status - Get DMA transaction status SYNOPSIS enum dma_status xilinx_dma_tx_status (struct dma_chan *dchan , dma_cookie_t cookie , struct dma_tx_state *txstate ); ARGUMENTS dchan DMA channel cookie Transaction identifier txstate Transaction state RETURN DMA transactio...
xilinx_dma_tx_submit(9)
NAME xilinx_dma_tx_submit - Submit DMA transaction SYNOPSIS dma_cookie_t xilinx_dma_tx_submit (struct dma_async_tx_descriptor *tx ); ARGUMENTS tx Async transaction descriptor RETURN cookie value on success and failure value on error SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_...
xilinx_dpdma_alloc_chan_resources(9)
NAME xilinx_dpdma_alloc_chan_resources - Allocate resources for the channel SYNOPSIS int xilinx_dpdma_alloc_chan_resources (struct dma_chan *dchan ); ARGUMENTS dchan DMA channel DESCRIPTION Allocate a descriptor pool for the channel. RETURN 0 on success, or -ENOMEM if failed to allocate a pool. SEE ALSO Kern...
xilinx_dpdma_chan_alloc_sw_desc(9)
NAME xilinx_dpdma_chan_alloc_sw_desc - Allocate a software descriptor SYNOPSIS struct xilinx_dpdma_sw_desc * xilinx_dpdma_chan_alloc_sw_desc (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Allocate a software descriptor from the channel's descriptor pool. RETURN a software descrip...
xilinx_dpdma_chan_alloc_tx_desc(9)
NAME xilinx_dpdma_chan_alloc_tx_desc - Allocate a transaction descriptor SYNOPSIS struct xilinx_dpdma_tx_desc * xilinx_dpdma_chan_alloc_tx_desc (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Allocate a tx descriptor. RETURN a tx descriptor or NULL. SEE ALSO Kernel file ./drive...
xilinx_dpdma_chan_disable(9)
NAME xilinx_dpdma_chan_disable - Disable the channel SYNOPSIS void xilinx_dpdma_chan_disable (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Disable the channel and its interrupts. SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dpdma.c struct xilinx_dpdma_hw_desc(9), struct...
xilinx_dpdma_chan_done_irq(9)
NAME xilinx_dpdma_chan_done_irq - Handle hardware descriptor completion SYNOPSIS void xilinx_dpdma_chan_done_irq (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Handle completion of the currently active descriptor (chan->desc.active). As we currently support cyclic transfers only,...
xilinx_dpdma_chan_dump_tx_desc(9)
NAME xilinx_dpdma_chan_dump_tx_desc - Dump a tx descriptor SYNOPSIS void xilinx_dpdma_chan_dump_tx_desc (struct xilinx_dpdma_chan *chan , struct xilinx_dpdma_tx_desc *tx_desc ); ARGUMENTS chan DPDMA channel tx_desc tx descriptor to dump DESCRIPTION Dump contents of a tx descriptor SEE ALSO Kernel...
xilinx_dpdma_chan_enable(9)
NAME xilinx_dpdma_chan_enable - Enable the channel SYNOPSIS void xilinx_dpdma_chan_enable (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Enable the channel and its interrupts. Set the QoS values for video class. SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dpdma.c struct ...
xilinx_dpdma_chan_err(9)
NAME xilinx_dpdma_chan_err - Detect any channel error SYNOPSIS bool xilinx_dpdma_chan_err (struct xilinx_dpdma_chan *chan , u32 isr , u32 eisr ); ARGUMENTS chan DPDMA channel isr masked Interrupt Status Register eisr Error Interrupt Status Register RETURN true if any channel err...
xilinx_dpdma_chan_err_task(9)
NAME xilinx_dpdma_chan_err_task - Per channel tasklet for error handling SYNOPSIS void xilinx_dpdma_chan_err_task (struct tasklet_struct *t ); ARGUMENTS t pointer to the tasklet associated with this handler DESCRIPTION Per channel error handling tasklet. This function waits for the outstanding transaction ...
xilinx_dpdma_chan_free_sw_desc(9)
NAME xilinx_dpdma_chan_free_sw_desc - Free a software descriptor SYNOPSIS void xilinx_dpdma_chan_free_sw_desc (struct xilinx_dpdma_chan *chan , struct xilinx_dpdma_sw_desc *sw_desc ); ARGUMENTS chan DPDMA channel sw_desc software descriptor to free DESCRIPTION Free a software descriptor from the c...
xilinx_dpdma_chan_free_tx_desc(9)
NAME xilinx_dpdma_chan_free_tx_desc - Free a virtual DMA descriptor SYNOPSIS void xilinx_dpdma_chan_free_tx_desc (struct virt_dma_desc *vdesc ); ARGUMENTS vdesc virtual DMA descriptor DESCRIPTION Free the virtual DMA descriptor vdesc including its software descriptors. SEE ALSO Kernel file ./drivers/dma/xil...
xilinx_dpdma_chan_handle_err(9)
NAME xilinx_dpdma_chan_handle_err - DPDMA channel error handling SYNOPSIS void xilinx_dpdma_chan_handle_err (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION This function is called when any channel error or any global error occurs. The function disables the paused channel by errors...
xilinx_dpdma_chan_notify_no_ostand(9)
NAME xilinx_dpdma_chan_notify_no_ostand - Notify no outstanding transaction event SYNOPSIS int xilinx_dpdma_chan_notify_no_ostand (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Notify waiters for no outstanding event, so waiters can stop the channel safely. This function is supp...
xilinx_dpdma_chan_ostand(9)
NAME xilinx_dpdma_chan_ostand - Number of outstanding transactions SYNOPSIS u32 xilinx_dpdma_chan_ostand (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Read and return the number of outstanding transactions from register. RETURN Number of outstanding transactions from the status ...
xilinx_dpdma_chan_pause(9)
NAME xilinx_dpdma_chan_pause - Pause the channel SYNOPSIS void xilinx_dpdma_chan_pause (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Pause the channel. SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dpdma.c struct xilinx_dpdma_hw_desc(9), struct xilinx_dpdma_sw_desc(9), ...
xilinx_dpdma_chan_poll_no_ostand(9)
NAME xilinx_dpdma_chan_poll_no_ostand - Poll the outstanding transaction status SYNOPSIS int xilinx_dpdma_chan_poll_no_ostand (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Poll the outstanding transaction status, and return when there's no outstanding transaction. This functions ...
xilinx_dpdma_chan_prep_cyclic(9)
NAME xilinx_dpdma_chan_prep_cyclic - Prepare a cyclic dma descriptor SYNOPSIS struct dma_async_tx_descriptor * xilinx_dpdma_chan_prep_cyclic (struct xilinx_dpdma_chan *chan , dma_addr_t buf_addr , size_t buf_len , size_t period_len , unsigned long flags ); ARGUMENTS chan DPDMA channel buf_addr buffe...
xilinx_dpdma_chan_prep_interleaved_dma(9)
NAME xilinx_dpdma_chan_prep_interleaved_dma - Prepare an interleaved dma descriptor SYNOPSIS struct xilinx_dpdma_tx_desc * xilinx_dpdma_chan_prep_interleaved_dma (struct xilinx_dpdma_chan *chan , struct dma_interleaved_template *xt ); ARGUMENTS chan DPDMA channel xt dma interleaved template D...
xilinx_dpdma_chan_queue_transfer(9)
NAME xilinx_dpdma_chan_queue_transfer - Queue the next transfer SYNOPSIS void xilinx_dpdma_chan_queue_transfer (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Queue the next descriptor, if any, to the hardware. If the channel is stopped, start it first. Otherwise retrigger it with ...
xilinx_dpdma_chan_stop(9)
NAME xilinx_dpdma_chan_stop - Stop the channel SYNOPSIS int xilinx_dpdma_chan_stop (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Stop a previously paused channel by first waiting for completion of all outstanding transaction and then disabling the channel. RETURN 0 on success, o...
xilinx_dpdma_chan_unpause(9)
NAME xilinx_dpdma_chan_unpause - Unpause the channel SYNOPSIS void xilinx_dpdma_chan_unpause (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Unpause the channel. SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dpdma.c struct xilinx_dpdma_hw_desc(9), struct xilinx_dpdma_sw_d...
xilinx_dpdma_chan_vsync_irq(9)
NAME xilinx_dpdma_chan_vsync_irq - Handle hardware descriptor scheduling SYNOPSIS void xilinx_dpdma_chan_vsync_irq (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION At VSYNC the active descriptor may have been replaced by the pending descriptor. Detect this through the DESC_ID and pe...
xilinx_dpdma_chan_wait_no_ostand(9)
NAME xilinx_dpdma_chan_wait_no_ostand - Wait for the no outstanding irq SYNOPSIS int xilinx_dpdma_chan_wait_no_ostand (struct xilinx_dpdma_chan *chan ); ARGUMENTS chan DPDMA channel DESCRIPTION Wait for the no outstanding transaction interrupt. This functions can sleep for 50ms. RETURN 0 on success. On failu...
xilinx_dpdma_disable_irq(9)
NAME xilinx_dpdma_disable_irq - Disable interrupts SYNOPSIS void xilinx_dpdma_disable_irq (struct xilinx_dpdma_device *xdev ); ARGUMENTS xdev DPDMA device DESCRIPTION Disable interrupts. SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dpdma.c struct xilinx_dpdma_hw_desc(9), struct xilinx_dpdma_sw_desc...
xilinx_dpdma_enable_irq(9)
NAME xilinx_dpdma_enable_irq - Enable interrupts SYNOPSIS void xilinx_dpdma_enable_irq (struct xilinx_dpdma_device *xdev ); ARGUMENTS xdev DPDMA device DESCRIPTION Enable interrupts. SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dpdma.c struct xilinx_dpdma_hw_desc(9), struct xilinx_dpdma_sw_desc(9),...
xilinx_dpdma_err(9)
NAME xilinx_dpdma_err - Detect any global error SYNOPSIS bool xilinx_dpdma_err (u32 isr , u32 eisr ); ARGUMENTS isr Interrupt Status Register eisr Error Interrupt Status Register RETURN True if any global error occurs, or false otherwise. SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dpd...
xilinx_dpdma_free_chan_resources(9)
NAME xilinx_dpdma_free_chan_resources - Free all resources for the channel SYNOPSIS void xilinx_dpdma_free_chan_resources (struct dma_chan *dchan ); ARGUMENTS dchan DMA channel DESCRIPTION Free resources associated with the virtual DMA channel, and destroy the descriptor pool. SEE ALSO Kernel file ./drivers/d...
xilinx_dpdma_handle_err_irq(9)
NAME xilinx_dpdma_handle_err_irq - Handle DPDMA error interrupt SYNOPSIS void xilinx_dpdma_handle_err_irq (struct xilinx_dpdma_device *xdev , u32 isr , u32 eisr ); ARGUMENTS xdev DPDMA device isr masked Interrupt Status Register eisr Error Interrupt Status Register DESCRIPTION H...
xilinx_dpdma_sw_desc_set_dma_addrs(9)
NAME xilinx_dpdma_sw_desc_set_dma_addrs - Set DMA addresses in the descriptor SYNOPSIS void xilinx_dpdma_sw_desc_set_dma_addrs (struct xilinx_dpdma_device *xdev , struct xilinx_dpdma_sw_desc *sw_desc , struct xilinx_dpdma_sw_desc *prev , dma_addr_t dma_addr[] , unsigned int num_src_addr ); ARGUMENTS xdev DPDMA...
xilinx_dpdma_synchronize(9)
NAME xilinx_dpdma_synchronize - Synchronize callback execution SYNOPSIS void xilinx_dpdma_synchronize (struct dma_chan *dchan ); ARGUMENTS dchan DMA channel DESCRIPTION Synchronizing callback execution ensures that all previously issued transfers have completed and all associated callbacks have been called and...
xilinx_dpdma_terminate_all(9)
NAME xilinx_dpdma_terminate_all - Terminate the channel and descriptors SYNOPSIS int xilinx_dpdma_terminate_all (struct dma_chan *dchan ); ARGUMENTS dchan DMA channel DESCRIPTION Pause the channel without waiting for ongoing transfers to complete. Waiting for completion is performed by xilinx_dpdma_synchronize...
xilinx_mcdma_free_tx_segment(9)
NAME xilinx_mcdma_free_tx_segment - Free transaction segment SYNOPSIS void xilinx_mcdma_free_tx_segment (struct xilinx_dma_chan *chan , struct xilinx_aximcdma_tx_segment * segment ); ARGUMENTS chan Driver specific DMA channel segment DMA transaction segment SEE ALSO Kernel file ./drivers/dma/xilin...
xilinx_mcdma_irq_handler(9)
NAME xilinx_mcdma_irq_handler - MCDMA Interrupt handler SYNOPSIS irqreturn_t xilinx_mcdma_irq_handler (int irq , void *data ); ARGUMENTS irq IRQ number data Pointer to the Xilinx MCDMA channel structure RETURN IRQ_HANDLED/IRQ_NONE SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct ...
xilinx_mcdma_prep_slave_sg(9)
NAME xilinx_mcdma_prep_slave_sg - prepare descriptors for a DMA_SLAVE transaction SYNOPSIS struct dma_async_tx_descriptor * xilinx_mcdma_prep_slave_sg (struct dma_chan *dchan , struct scatterlist *sgl , unsigned int sg_len , enum dma_transfer_direction direction , unsigned long flags , void *context ); ARGUMENTS dcha...
xilinx_mcdma_start_transfer(9)
NAME xilinx_mcdma_start_transfer - Starts MCDMA transfer SYNOPSIS void xilinx_mcdma_start_transfer (struct xilinx_dma_chan *chan ); ARGUMENTS chan Driver specific channel struct pointer SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struc...
xilinx_pcie_clear_err_interrupts(9)
NAME xilinx_pcie_clear_err_interrupts - Clear Error Interrupts SYNOPSIS void xilinx_pcie_clear_err_interrupts (struct xilinx_pcie *pcie ); ARGUMENTS pcie PCIe port information SEE ALSO Kernel file ./drivers/pci/controller/pcie-xilinx.c struct xilinx_pcie(9), xilinx_pcie_valid_device(9), xilinx_pcie_map_bu...
xilinx_pcie_init_irq_domain(9)
NAME xilinx_pcie_init_irq_domain - Initialize IRQ domain SYNOPSIS int xilinx_pcie_init_irq_domain (struct xilinx_pcie *pcie ); ARGUMENTS pcie PCIe port information RETURN SEE ALSO Kernel file ./drivers/pci/controller/pcie-xilinx.c struct xilinx_pcie(9), xilinx_pcie_clear_err_interrupts(9), xilinx_pcie_val...
xilinx_pcie_init_port(9)
NAME xilinx_pcie_init_port - Initialize hardware SYNOPSIS void xilinx_pcie_init_port (struct xilinx_pcie *pcie ); ARGUMENTS pcie PCIe port information SEE ALSO Kernel file ./drivers/pci/controller/pcie-xilinx.c struct xilinx_pcie(9), xilinx_pcie_clear_err_interrupts(9), xilinx_pcie_valid_device(9), xilinx...
xilinx_pcie_intr_handler(9)
NAME xilinx_pcie_intr_handler - Interrupt Service Handler SYNOPSIS irqreturn_t xilinx_pcie_intr_handler (int irq , void *data ); ARGUMENTS irq IRQ number data PCIe port information RETURN IRQ_HANDLED on success and IRQ_NONE on failure SEE ALSO Kernel file ./drivers/pci/controller/pcie-xilinx...
xilinx_pcie_intx_map(9)
NAME xilinx_pcie_intx_map - Set the handler for the INTx and mark IRQ as valid SYNOPSIS int xilinx_pcie_intx_map (struct irq_domain *domain , unsigned int irq , irq_hw_number_t hwirq ); ARGUMENTS domain IRQ domain irq Virtual IRQ number hwirq HW interrupt number RETURN Always retur...
xilinx_pcie_map_bus(9)
NAME xilinx_pcie_map_bus - Get configuration base SYNOPSIS void __iomem * xilinx_pcie_map_bus (struct pci_bus *bus , unsigned int devfn , int where ); ARGUMENTS bus PCI Bus structure devfn Device/function where Offset from base RETURN Base address of the configuration space needed...
xilinx_pcie_parse_dt(9)
NAME xilinx_pcie_parse_dt - Parse Device tree SYNOPSIS int xilinx_pcie_parse_dt (struct xilinx_pcie *pcie ); ARGUMENTS pcie PCIe port information RETURN SEE ALSO Kernel file ./drivers/pci/controller/pcie-xilinx.c struct xilinx_pcie(9), xilinx_pcie_clear_err_interrupts(9), xilinx_pcie_valid_device(9)...
xilinx_pcie_probe(9)
NAME xilinx_pcie_probe - Probe function SYNOPSIS int xilinx_pcie_probe (struct platform_device *pdev ); ARGUMENTS pdev Platform device pointer RETURN SEE ALSO Kernel file ./drivers/pci/controller/pcie-xilinx.c struct xilinx_pcie(9), xilinx_pcie_clear_err_interrupts(9), xilinx_pcie_valid_device(9), xilinx_...
xilinx_pcie_valid_device(9)
NAME xilinx_pcie_valid_device - Check if a valid device is present on bus SYNOPSIS bool xilinx_pcie_valid_device (struct pci_bus *bus , unsigned int devfn ); ARGUMENTS bus PCI Bus structure devfn device/function RETURN SEE ALSO Kernel file ./drivers/pci/controller/pcie-xilinx.c struct xilinx_p...
xilinx_pl_dma_pcie_init_irq_domain(9)
NAME xilinx_pl_dma_pcie_init_irq_domain - Initialize IRQ domain SYNOPSIS int xilinx_pl_dma_pcie_init_irq_domain (struct pl_dma_pcie *port ); ARGUMENTS port PCIe port information RETURN SEE ALSO Kernel file ./drivers/pci/controller/pcie-xilinx-dma-pl.c struct xilinx_pl_dma_variant(9), struct pl_dma_pcie(9) Ap...
xilinx_timer_get_period(9)
NAME xilinx_timer_get_period - Get the current period of a counter SYNOPSIS unsigned int xilinx_timer_get_period (struct xilinx_timer_priv *priv , u32 tlr , u32 tcsr ); ARGUMENTS priv The timer's private data tlr The value of TLR for this counter tcsr The value of TCSR for this c...
xilinx_timer_tlr_cycles(9)
NAME xilinx_timer_tlr_cycles - Calculate the TLR for a period specified in clock cycles SYNOPSIS u32 xilinx_timer_tlr_cycles (struct xilinx_timer_priv *priv , u32 tcsr , u64 cycles ); ARGUMENTS priv The timer's private data tcsr The value of the TCSR register for this counter cycles ...
xilinx_vdma_alloc_tx_segment(9)
NAME xilinx_vdma_alloc_tx_segment - Allocate transaction segment SYNOPSIS struct xilinx_vdma_tx_segment * xilinx_vdma_alloc_tx_segment (struct xilinx_dma_chan *chan ); ARGUMENTS chan Driver specific DMA channel RETURN The allocated segment on success and NULL on failure. SEE ALSO Kernel file ./drivers/dma/xi...
xilinx_vdma_channel_set_config(9)
NAME xilinx_vdma_channel_set_config - Configure VDMA channel Run-time configuration for Axi VDMA, supports: . halt the channel . configure interrupt coalescing and inter-packet delay threshold . start/stop parking . enable genlock SYNOPSIS int xilinx_vdma_channel_set_config (struct dma_chan *dchan , struct xilinx_...
xilinx_vdma_dma_prep_interleaved(9)
NAME xilinx_vdma_dma_prep_interleaved - prepare a descriptor for a DMA_SLAVE transaction SYNOPSIS struct dma_async_tx_descriptor * xilinx_vdma_dma_prep_interleaved (struct dma_chan *dchan , struct dma_interleaved_template *xt , unsigned long flags ); ARGUMENTS dchan DMA channel xt Interleaved t...
xilinx_vdma_free_tx_segment(9)
NAME xilinx_vdma_free_tx_segment - Free transaction segment SYNOPSIS void xilinx_vdma_free_tx_segment (struct xilinx_dma_chan *chan , struct xilinx_vdma_tx_segment *segment ); ARGUMENTS chan Driver specific DMA channel segment DMA transaction segment SEE ALSO Kernel file ./drivers/dma/xilinx/xilin...
xilinx_vdma_start_transfer(9)
NAME xilinx_vdma_start_transfer - Starts VDMA transfer SYNOPSIS void xilinx_vdma_start_transfer (struct xilinx_dma_chan *chan ); ARGUMENTS chan Driver specific channel struct pointer SEE ALSO Kernel file ./drivers/dma/xilinx/xilinx_dma.c struct xilinx_vdma_desc_hw(9), struct xilinx_axidma_desc_hw(9), struct x...
xindex_is_subset(9)
NAME xindex_is_subset - helper for aa_path_link SYNOPSIS bool xindex_is_subset (u32 link , u32 target ); ARGUMENTS link link permission set target target permission set DESCRIPTION test target x permissions are equal OR a subset of link x permissions this is done as part of the subset test, where...
xindy(1)
NAME xindy - create sorted and tagged index from raw index SYNOPSIS xindy [-V?h] [-qv] [-d magic] [-o outfile.ind] [-t log] \ [-L lang] [-C codepage] [-M module] [-I input] \ [--interactive] [--mem-file=xindy.mem] \ [idx0 idx1 ...] GNU-Style Long Options for Short Options: -V / --version -? / -h / ...
xlnx_get_crypto_dev_data(9)
NAME xlnx_get_crypto_dev_data - Get crypto dev data of platform SYNOPSIS void * xlnx_get_crypto_dev_data (struct xlnx_feature *feature_map ); ARGUMENTS feature_map List of available feature map of all platform RETURN Returns crypto dev data, either address crypto dev or ERR PTR SEE ALSO Kernel file ./drivers/firm...
xlnx_register_event(9)
NAME xlnx_register_event - Register for the event. SYNOPSIS int xlnx_register_event (const enum pm_api_cb_id cb_type , const u32 node_id , const u32 event , const bool wake , event_cb_func_t cb_fun , void *data ); ARGUMENTS cb_type Type of callback from pm_api_cb_id, PM_NOTIFY_CB - for Error Events, PM_INIT_SUSPE...
xlnx_unregister_event(9)
NAME xlnx_unregister_event - Unregister for the event. SYNOPSIS int xlnx_unregister_event (const enum pm_api_cb_id cb_type , const u32 node_id , const u32 event , event_cb_func_t cb_fun , void *data ); ARGUMENTS cb_type Type of callback from pm_api_cb_id, PM_NOTIFY_CB - for Error Events, PM_INIT_SUSPEND_CB - for ...
xor_unlock_is_negative_byte(9)
NAME xor_unlock_is_negative_byte - XOR a single byte in memory and test if it is negative, for unlock. SYNOPSIS bool xor_unlock_is_negative_byte (unsigned long mask , volatile unsigned long *addr ); ARGUMENTS mask Change the bits which are set in this mask. addr The address of the word containin...
xp_raw_get_ctx(9)
NAME xp_raw_get_ctx - get &xdp_desc context SYNOPSIS struct xdp_desc_ctx xp_raw_get_ctx (const struct xsk_buff_pool *pool , u64 addr ); ARGUMENTS pool XSk buff pool desc address belongs to addr desc address (from userspace) DESCRIPTION Helper for getting desc's DMA address and metadata pointer,...
xpcs_config_eee_mult_fact(9)
NAME xpcs_config_eee_mult_fact - set the EEE clock multiplying factor SYNOPSIS void xpcs_config_eee_mult_fact (struct dw_xpcs *xpcs , u8 mult_fact ); ARGUMENTS xpcs pointer to a struct dw_xpcs instance mult_fact the multiplying factor DESCRIPTION Configure the EEE clock multiplying factor. This valu...
xpcs_create_fwnode(9)
NAME xpcs_create_fwnode - Create a DW xPCS instance from @fwnode SYNOPSIS struct dw_xpcs * xpcs_create_fwnode (struct fwnode_handle *fwnode ); ARGUMENTS fwnode fwnode handle poining to the DW XPCS device RETURN a pointer to the DW XPCS handle if successful, otherwise -ENODEV if the fwnode device is unavailable...
xpcs_create_mdiodev(9)
NAME xpcs_create_mdiodev - create a DW xPCS instance with the MDIO @addr SYNOPSIS struct dw_xpcs * xpcs_create_mdiodev (struct mii_bus *bus , int addr ); ARGUMENTS bus pointer to the MDIO-bus descriptor for the device to be looked at addr device MDIO-bus ID RETURN a pointer to the DW XPCS hand...
xprt_adjust_cwnd(9)
NAME xprt_adjust_cwnd - adjust transport congestion window SYNOPSIS void xprt_adjust_cwnd (struct rpc_xprt *xprt , struct rpc_task *task , int result ); ARGUMENTS xprt pointer to xprt task recently completed RPC request used to adjust window result result code of completed RPC reque...
xprt_adjust_timeout(9)
NAME xprt_adjust_timeout - adjust timeout values for next retransmit SYNOPSIS int xprt_adjust_timeout (struct rpc_rqst *req ); ARGUMENTS req RPC request containing parameters to use for the adjustment SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt...
xprt_complete_rqst(9)
NAME xprt_complete_rqst - called when reply processing is complete SYNOPSIS void xprt_complete_rqst (struct rpc_task *task , int copied ); ARGUMENTS task RPC request that recently completed copied actual number of bytes received from the transport DESCRIPTION Caller holds xprt->queue_lock. SEE A...
xprt_conditional_disconnect(9)
NAME xprt_conditional_disconnect - force a transport to disconnect SYNOPSIS void xprt_conditional_disconnect (struct rpc_xprt *xprt , unsigned int cookie ); ARGUMENTS xprt transport to disconnect cookie DESCRIPTION This attempts to break the connection if and only if 'cookie' matches the current tr...
xprt_connect(9)
NAME xprt_connect - schedule a transport connect operation SYNOPSIS void xprt_connect (struct rpc_task *task ); ARGUMENTS task RPC task that is requesting the connect SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ident(9), xprt_rese...
xprt_create_transport(9)
NAME xprt_create_transport - create an RPC transport SYNOPSIS struct rpc_xprt * xprt_create_transport (struct xprt_create *args ); ARGUMENTS args rpc transport creation arguments SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ident(9...
xprt_destroy(9)
NAME xprt_destroy - destroy an RPC transport, killing off all requests. SYNOPSIS void xprt_destroy (struct rpc_xprt *xprt ); ARGUMENTS xprt transport to destroy SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ident(9), xprt_reserve_xp...
xprt_destroy_backchannel(9)
NAME xprt_destroy_backchannel - Destroys the backchannel preallocated structures. SYNOPSIS void xprt_destroy_backchannel (struct rpc_xprt *xprt , unsigned int max_reqs ); ARGUMENTS xprt the transport holding the preallocated strucures max_reqs the maximum number of preallocated structures to destroy...
xprt_disconnect_done(9)
NAME xprt_disconnect_done - mark a transport as disconnected SYNOPSIS void xprt_disconnect_done (struct rpc_xprt *xprt ); ARGUMENTS xprt transport to flag for disconnect SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ident(9), xprt_r...
xprt_find_transport_ident(9)
NAME xprt_find_transport_ident - convert a netid into a transport identifier SYNOPSIS int xprt_find_transport_ident (const char *netid ); ARGUMENTS netid transport to load RETURN > 0: transport identifier -ENOENT: transport module not available SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_regi...
xprt_force_disconnect(9)
NAME xprt_force_disconnect - force a transport to disconnect SYNOPSIS void xprt_force_disconnect (struct rpc_xprt *xprt ); ARGUMENTS xprt transport to disconnect SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ident(9), xprt_reserve_x...
xprt_get(9)
NAME xprt_get - return a reference to an RPC transport. SYNOPSIS struct rpc_xprt * xprt_get (struct rpc_xprt *xprt ); ARGUMENTS xprt pointer to the transport SEE ALSO Kernel file ./net/sunrpc/xprt.c xprt_register_transport(9), xprt_unregister_transport(9), xprt_find_transport_ident(9), xprt_reserve_xprt(...
xprt_iter_destroy(9)
NAME xprt_iter_destroy - Destroys the xprt iterator SYNOPSIS void xprt_iter_destroy (struct rpc_xprt_iter *xpi ); ARGUMENTS xpi pointer to rpc_xprt_iter SEE ALSO Kernel file ./net/sunrpc/xprtmultipath.c rpc_xprt_switch_add_xprt(9), rpc_xprt_switch_remove_xprt(9), rpc_xprt_switch_get_main_xprt(...
xprt_iter_get_next(9)
NAME xprt_iter_get_next - Returns the next rpc_xprt following the cursor SYNOPSIS struct rpc_xprt * xprt_iter_get_next (struct rpc_xprt_iter *xpi ); ARGUMENTS xpi pointer to rpc_xprt_iter DESCRIPTION Returns a reference to the struct rpc_xprt that immediately follows the entry pointed to by the cursor. SEE ...
xprt_iter_init(9)
NAME xprt_iter_init - Initialise an xprt iterator SYNOPSIS void xprt_iter_init (struct rpc_xprt_iter *xpi , struct rpc_xprt_switch *xps ); ARGUMENTS xpi pointer to rpc_xprt_iter xps pointer to rpc_xprt_switch DESCRIPTION Initialises the iterator to use the default iterator ops as set in xps. ...
xprt_iter_init_listall(9)
NAME xprt_iter_init_listall - Initialise an xprt iterator SYNOPSIS void xprt_iter_init_listall (struct rpc_xprt_iter *xpi , struct rpc_xprt_switch *xps ); ARGUMENTS xpi pointer to rpc_xprt_iter xps pointer to rpc_xprt_switch DESCRIPTION Initialises the iterator to iterate once through the ent...
xprt_iter_xchg_switch(9)
NAME xprt_iter_xchg_switch - Atomically swap out the rpc_xprt_switch SYNOPSIS struct rpc_xprt_switch * xprt_iter_xchg_switch (struct rpc_xprt_iter *xpi , struct rpc_xprt_switch *newswitch ); ARGUMENTS xpi pointer to rpc_xprt_iter newswitch pointer to a new rpc_xprt_switch or NULL DESCRIPTION Swaps ...
xprt_iter_xprt(9)
NAME xprt_iter_xprt - Returns the rpc_xprt pointed to by the cursor SYNOPSIS struct rpc_xprt * xprt_iter_xprt (struct rpc_xprt_iter *xpi ); ARGUMENTS xpi pointer to rpc_xprt_iter DESCRIPTION Returns a pointer to the struct rpc_xprt that is currently pointed to by the cursor. Caller must be holding rcu_read_...
xprt_lookup_rqst(9)
NAME xprt_lookup_rqst - find an RPC request corresponding to an XID SYNOPSIS struct rpc_rqst * xprt_lookup_rqst (struct rpc_xprt *xprt , __be32 xid ); ARGUMENTS xprt transport on which the original request was transmitted xid RPC XID of incoming reply DESCRIPTION Caller holds xprt->queue_lock....