TwiceAsNice  2019-02-18
Macros | Enumerations | Functions | Variables
main.h File Reference
#include "hpdi32_api.h"
Include dependency graph for main.h:
This graph shows which files directly or indirectly include this file:

Macros

#define VERSION   "1.08"
 
#define ARRAY_ELEMENTS(a)   (sizeof((a))/sizeof((a)[0]))
 
#define RX_WRITE_SAMPLES   1024
 

Enumerations

enum  fifo_info_t {
  FIFO_NONE, FIFO_SIZE_UNKNOWN, FIFO_SIZE_KNOWN, FIFO_NONE,
  FIFO_SIZE_UNKNOWN, FIFO_SIZE_KNOWN
}
 

Functions

int cable_config_tests (void *dev)
 
U32 dma_buf_api_auto_throughput_read_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dma_buf_api_auto_throughput_write_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dma_buf_api_man_throughput_read_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dma_buf_api_man_throughput_write_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dma_buf_user_auto_throughput_read_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dma_buf_user_auto_throughput_write_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dma_buf_user_man_throughput_read_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dma_buf_user_man_throughput_write_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dmdma_buf_api_throughput_read_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dmdma_buf_api_throughput_write_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dmdma_buf_user_throughput_read_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 dmdma_buf_user_throughput_write_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
int fifo_config_tests (void *dev)
 
void fifo_info_rx (fifo_info_t *info, U32 *size)
 
void fifo_info_tx (fifo_info_t *info, U32 *size)
 
int io_config_tests (void *dev)
 
int io_data_size_io_tests (void *dev)
 
int io_notify_tests (void *dev)
 
int io_read_throughput_tests (void *dev)
 
int io_write_read_tests (void *handle)
 
int io_write_throughput_tests (void *dev)
 
int irq_config_tests (void *dev)
 
int irq_notify_tests (void *dev)
 
int misc_config_tests (void *dev)
 
U32 pio_buf_api_throughput_read_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 pio_buf_api_throughput_write_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 pio_buf_user_throughput_read_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
U32 pio_buf_user_throughput_write_test (void *dev, U32 seconds, unsigned long *size, U32 *rate)
 
int reg_read_test (void *dev)
 
int reg_write_test (void *dev)
 
int rx_config_tests (void *dev)
 
U32 rx_write (void *dev, U32 samples)
 
int tx_config_tests (void *dev)
 
U32 tx_write (void *dev, U32 samples)
 
int special_tests (void *dev)
 

Variables

long rx_size
 
long tx_size
 

Macro Definition Documentation

◆ ARRAY_ELEMENTS

#define ARRAY_ELEMENTS (   a)    (sizeof((a))/sizeof((a)[0]))

◆ RX_WRITE_SAMPLES

#define RX_WRITE_SAMPLES   1024

◆ VERSION

#define VERSION   "1.08"

Enumeration Type Documentation

◆ fifo_info_t

Enumerator
FIFO_NONE 
FIFO_SIZE_UNKNOWN 
FIFO_SIZE_KNOWN 
FIFO_NONE 
FIFO_SIZE_UNKNOWN 
FIFO_SIZE_KNOWN 

Function Documentation

◆ cable_config_tests()

int cable_config_tests ( void *  dev)

◆ dma_buf_api_auto_throughput_read_test()

U32 dma_buf_api_auto_throughput_read_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dma_buf_api_auto_throughput_write_test()

U32 dma_buf_api_auto_throughput_write_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dma_buf_api_man_throughput_read_test()

U32 dma_buf_api_man_throughput_read_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dma_buf_api_man_throughput_write_test()

U32 dma_buf_api_man_throughput_write_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dma_buf_user_auto_throughput_read_test()

U32 dma_buf_user_auto_throughput_read_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dma_buf_user_auto_throughput_write_test()

U32 dma_buf_user_auto_throughput_write_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dma_buf_user_man_throughput_read_test()

U32 dma_buf_user_man_throughput_read_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dma_buf_user_man_throughput_write_test()

U32 dma_buf_user_man_throughput_write_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dmdma_buf_api_throughput_read_test()

U32 dmdma_buf_api_throughput_read_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dmdma_buf_api_throughput_write_test()

U32 dmdma_buf_api_throughput_write_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dmdma_buf_user_throughput_read_test()

U32 dmdma_buf_user_throughput_read_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ dmdma_buf_user_throughput_write_test()

U32 dmdma_buf_user_throughput_write_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ fifo_config_tests()

int fifo_config_tests ( void *  dev)

◆ fifo_info_rx()

void fifo_info_rx ( fifo_info_t info,
U32 *  size 
)

◆ fifo_info_tx()

void fifo_info_tx ( fifo_info_t info,
U32 *  size 
)

◆ io_config_tests()

int io_config_tests ( void *  dev)

◆ io_data_size_io_tests()

int io_data_size_io_tests ( void *  dev)

◆ io_notify_tests()

int io_notify_tests ( void *  dev)

◆ io_read_throughput_tests()

int io_read_throughput_tests ( void *  dev)

◆ io_write_read_tests()

int io_write_read_tests ( void *  handle)

◆ io_write_throughput_tests()

int io_write_throughput_tests ( void *  dev)

◆ irq_config_tests()

int irq_config_tests ( void *  dev)

◆ irq_notify_tests()

int irq_notify_tests ( void *  dev)

◆ misc_config_tests()

int misc_config_tests ( void *  dev)

◆ pio_buf_api_throughput_read_test()

U32 pio_buf_api_throughput_read_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ pio_buf_api_throughput_write_test()

U32 pio_buf_api_throughput_write_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ pio_buf_user_throughput_read_test()

U32 pio_buf_user_throughput_read_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ pio_buf_user_throughput_write_test()

U32 pio_buf_user_throughput_write_test ( void *  dev,
U32  seconds,
unsigned long size,
U32 *  rate 
)

◆ reg_read_test()

int reg_read_test ( void *  dev)

◆ reg_write_test()

int reg_write_test ( void *  dev)

◆ rx_config_tests()

int rx_config_tests ( void *  dev)

◆ rx_write()

U32 rx_write ( void *  dev,
U32  samples 
)

◆ special_tests()

int special_tests ( void *  dev)

◆ tx_config_tests()

int tx_config_tests ( void *  dev)

◆ tx_write()

U32 tx_write ( void *  dev,
U32  samples 
)

Variable Documentation

◆ rx_size

long rx_size

◆ tx_size

long tx_size