#include <stdio.h>#include <stdlib.h>#include <fcntl.h>#include <string.h>#include <errno.h>#include <poll.h>#include <sys/time.h>#include <sys/types.h>#include <sys/socket.h>#include <unistd.h>#include <ngc/core/ngcbDrv.h>Macros | |
| #define | _GNU_SOURCE |
| #define | _REENTRANT |
Functions | |
| int | ngcbDma0Open (const char *devName, ngcb_dma_p_t *dma, char *erms) |
| int | ngcbDma0Close (ngcb_dma_p_t *dma, char *erms) |
| int | ngcbDma0Alloc (ngcb_dma_p_t *dma, unsigned char **buffer, int num, size_t size, char *erms) |
| void | ngcbDma0Free (ngcb_dma_p_t *dma, unsigned char **buffer, int num) |
| int | ngcbDma0Clr (ngcb_dma_p_t *dma, char *erms) |
| int | ngcbDma0Init (ngcb_dma_p_t *dma, unsigned char **buffer, int num, size_t size, unsigned int *doneCount, char *erms) |
| int | ngcbDma0Stop (ngcb_dma_p_t *dma, char *erms) |
| int | ngcbDma0GetCnt (ngcb_dma_p_t *dma, unsigned int *cnt, char *erms) |
| int | ngcbDma0Wait (ngcb_dma_p_t *dma, uint64_t *ts, char *erms) |
| int | ngcbDma0Stat (ngcb_dma_p_t *dma, int *err, int *stat, char *erms) |
| int | ngcbDma0Overflow (ngcb_dma_p_t *dma, char *erms) |
| int | ngcbDma0IppCfg (ngcb_dma_p_t *dma, int id, int *param, unsigned int n, char *erms) |
| int | ngcbDma0DevRd (ngcb_dma_p_t *dma, unsigned int addr, unsigned int *value, char *erms) |
| int | ngcbDma0DevWr (ngcb_dma_p_t *dma, unsigned int addr, unsigned int value, char *erms) |
Variables | |
| ngcb_dma_api | ngcbDma0 |
| #define _GNU_SOURCE |
| #define _REENTRANT |
| int ngcbDma0Alloc | ( | ngcb_dma_p_t * | dma, |
| unsigned char ** | buffer, | ||
| int | num, | ||
| size_t | size, | ||
| char * | erms ) |
Template API for ngcbDmaAlloc().
| int ngcbDma0Close | ( | ngcb_dma_p_t * | dma, |
| char * | erms ) |
Template API for ngcbDmaClose().
| int ngcbDma0Clr | ( | ngcb_dma_p_t * | dma, |
| char * | erms ) |
Template API for ngcbDmaClr().
| int ngcbDma0DevRd | ( | ngcb_dma_p_t * | dma, |
| unsigned int | addr, | ||
| unsigned int * | value, | ||
| char * | erms ) |
Template API for ngcbDmaDevRd().
| int ngcbDma0DevWr | ( | ngcb_dma_p_t * | dma, |
| unsigned int | addr, | ||
| unsigned int | value, | ||
| char * | erms ) |
Template API for ngcbDmaDevWr().
| void ngcbDma0Free | ( | ngcb_dma_p_t * | dma, |
| unsigned char ** | buffer, | ||
| int | num ) |
Template API for ngcbDmaFree().
| int ngcbDma0GetCnt | ( | ngcb_dma_p_t * | dma, |
| unsigned int * | cnt, | ||
| char * | erms ) |
Template API for ngcbDmaGetCnt().
| int ngcbDma0Init | ( | ngcb_dma_p_t * | dma, |
| unsigned char ** | buffer, | ||
| int | num, | ||
| size_t | size, | ||
| unsigned int * | doneCount, | ||
| char * | erms ) |
Template API for ngcbDmaInit().
| int ngcbDma0IppCfg | ( | ngcb_dma_p_t * | dma, |
| int | id, | ||
| int * | param, | ||
| unsigned int | n, | ||
| char * | erms ) |
Template API for ngcbDmaIppCfg().
| int ngcbDma0Open | ( | const char * | devName, |
| ngcb_dma_p_t * | dma, | ||
| char * | erms ) |
Template API for ngcbDmaOpen().
| int ngcbDma0Overflow | ( | ngcb_dma_p_t * | dma, |
| char * | erms ) |
Template API for ngcbDmaOverflow().
| int ngcbDma0Stat | ( | ngcb_dma_p_t * | dma, |
| int * | err, | ||
| int * | stat, | ||
| char * | erms ) |
Template API for ngcbDmaStat().
| int ngcbDma0Stop | ( | ngcb_dma_p_t * | dma, |
| char * | erms ) |
Template API for ngcbDmaStop().
| int ngcbDma0Wait | ( | ngcb_dma_p_t * | dma, |
| uint64_t * | ts, | ||
| char * | erms ) |
Template API for ngcbDmaWait().
| ngcb_dma_api ngcbDma0 |
DMA template API