Xilinx KCU105 User Manual page 100

Pci express streaming data plane trd
Hide thumbs Also See for KCU105:
Table of Contents

Advertisement

Table D-1: APIs Provided by the XDMA Driver (Cont'd)
API Prototype
int
xlnx_stop_channel_IO (
ps_pcie_dma_chann_desc
_t *ptr_chann_desc,
bool do_rst);
void
xlnx_register_doorbell_cb
k(
ps_pcie_dma_chann_desc
_t *ptr_chann_desc,
func_doorbell_cbk_no_bl
ock ptr_fn_drbell_cbk);
PCIe Streaming Data Plane TRD
UG920 (v2017.1) June 01, 2017
Appendix D:
Details
This API is invoked to stop
I/Os asynchronously, and
results in a reset of the
DMA channel.
This is a register callback
to receive doorbell
(scratchpad) notifications.
www.xilinx.com
APIs Provided by the XDMA Driver in Linux
Parameters
ptr_chann_desc –
Channel descriptor
pointer
do_rst – Currently this has
to be always set to true.
ptr_chann_desc –
Channel descriptor
pointer
ptr_fn_drbell_cbk –
Function pointer supplied
by the application drive.
Same is invoked when a
software interrupt is
invoked (typically after
populating the
scratchpad) to notify the
host/Endpoint.
Return
Returns XLNX_SUCCESS
on success. On failure, a
negative value is returned.
Check "/* Xilinx DMA
driver status messages */"
in
ps_pcie_dma_driver.
h for more information on
error codes.
Void
100
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents