Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
s_4bri.c File Reference
#include "platform.h"
#include "di_defs.h"
#include "pc.h"
#include "pr_pc.h"
#include "di.h"
#include "mi_pc.h"
#include "pc_maint.h"
#include "divasync.h"
#include "pc_init.h"
#include "io.h"
#include "helpers.h"
#include "dsrv4bri.h"
#include "dsp_defs.h"
#include "sdp_hdr.h"

Go to the source code of this file.

Macros

#define MAX_XLOG_SIZE   (64 * 1024)
 
#define FPGA_NAME_OFFSET   0x10
 
#define FPGA_PROG   0x0001 /* PROG enable low */
 
#define FPGA_BUSY   0x0002 /* BUSY high, DONE low */
 
#define FPGA_CS   0x000C /* Enable I/O pins */
 
#define FPGA_CCLK   0x0100
 
#define FPGA_DOUT   0x0400
 
#define FPGA_DIN   FPGA_DOUT /* bidirectional I/O */
 

Functions

void start_qBri_hardware (PISDN_ADAPTER IoAdapter)
 
int qBri_FPGA_download (PISDN_ADAPTER IoAdapter)
 
void prepare_qBri_functions (PISDN_ADAPTER IoAdapter)
 
void prepare_qBri2_functions (PISDN_ADAPTER IoAdapter)
 

Macro Definition Documentation

#define FPGA_BUSY   0x0002 /* BUSY high, DONE low */

Definition at line 269 of file s_4bri.c.

#define FPGA_CCLK   0x0100

Definition at line 271 of file s_4bri.c.

#define FPGA_CS   0x000C /* Enable I/O pins */

Definition at line 270 of file s_4bri.c.

#define FPGA_DIN   FPGA_DOUT /* bidirectional I/O */

Definition at line 273 of file s_4bri.c.

#define FPGA_DOUT   0x0400

Definition at line 272 of file s_4bri.c.

#define FPGA_NAME_OFFSET   0x10

Definition at line 184 of file s_4bri.c.

#define FPGA_PROG   0x0001 /* PROG enable low */

Definition at line 268 of file s_4bri.c.

#define MAX_XLOG_SIZE   (64 * 1024)

Definition at line 42 of file s_4bri.c.

Function Documentation

void prepare_qBri2_functions ( PISDN_ADAPTER  IoAdapter)

Definition at line 496 of file s_4bri.c.

void prepare_qBri_functions ( PISDN_ADAPTER  IoAdapter)

Definition at line 487 of file s_4bri.c.

int qBri_FPGA_download ( PISDN_ADAPTER  IoAdapter)

Definition at line 275 of file s_4bri.c.

void start_qBri_hardware ( PISDN_ADAPTER  IoAdapter)

Definition at line 128 of file s_4bri.c.