bcp_rand_tests.h
868 Bytes
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
BCP RANDOM TESTS HEADER FILE: bcp_rand_tests.h
:set tabstop=4
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
#ifndef _BCP_RAND_TESTS
#define _BCP_RAND_TESTS
int bcp_ri_single_rw(int read, int times, int a3, int a4);
int bcp_ai_dma(int a0, int a1, int a2, int a3);
int bcp_rand_rdram(char *filename, int rw, int ram_addr,
int file_addr, int size, int file_size);
int bcp_sp_rand_pio(int dmem, int times, int a3, int a4);
int bcp_sp_rand_dma(int a1, int a2, int a3, int a4);
int bcp_ui_rand_pio(int times, int a2, int a3, int a4);
int hosts_setup(int usb0_host, int usb1_host, int bdt_addr0, int bdt_addr1);
int bcp_ui_rand_trans(int which, int a2, int a3, int a4);
int word_to_extra(unsigned int w);
unsigned int extra_to_word(int d);
#endif