Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ft1000.h File Reference
#include "../ft1000.h"

Go to the source code of this file.

Data Structures

struct  ft1000_info
 

Macros

#define FT1000_DRV_VER   0x01010300
 
#define FT1000_DPRAM_BASE   0x0000 /* Dual Port RAM starting offset */
 
#define MAX_PH_ERR   300
 
#define SUCCESS   0x00
 
#define FAILURE   0x01
 

Functions

struct net_deviceinit_ft1000_card (struct pcmcia_device *link, void *ft1000_reset)
 
void stop_ft1000_card (struct net_device *dev)
 
int card_download (struct net_device *dev, const u8 *pFileStart, size_t FileLength)
 
void ft1000InitProc (struct net_device *dev)
 
void ft1000CleanupProc (struct net_device *dev)
 
u16 ft1000_read_dpram (struct net_device *dev, int offset)
 
void card_bootload (struct net_device *dev)
 
u16 ft1000_read_dpram_mag_16 (struct net_device *dev, int offset, int Index)
 
u32 ft1000_read_dpram_mag_32 (struct net_device *dev, int offset)
 
void ft1000_write_dpram_mag_32 (struct net_device *dev, int offset, u32 value)
 

Macro Definition Documentation

#define FAILURE   0x01

Definition at line 32 of file ft1000.h.

#define FT1000_DPRAM_BASE   0x0000 /* Dual Port RAM starting offset */

Definition at line 26 of file ft1000.h.

#define FT1000_DRV_VER   0x01010300

Definition at line 24 of file ft1000.h.

#define MAX_PH_ERR   300

Definition at line 29 of file ft1000.h.

#define SUCCESS   0x00

Definition at line 31 of file ft1000.h.

Function Documentation

void card_bootload ( struct net_device dev)

Definition at line 121 of file ft1000_dnld.c.

int card_download ( struct net_device dev,
const u8 pFileStart,
size_t  FileLength 
)

Definition at line 290 of file ft1000_dnld.c.

u16 ft1000_read_dpram ( struct net_device dev,
int  offset 
)

Definition at line 118 of file ft1000_hw.c.

u16 ft1000_read_dpram_mag_16 ( struct net_device dev,
int  offset,
int  Index 
)

Definition at line 171 of file ft1000_hw.c.

u32 ft1000_read_dpram_mag_32 ( struct net_device dev,
int  offset 
)

Definition at line 233 of file ft1000_hw.c.

void ft1000_write_dpram_mag_32 ( struct net_device dev,
int  offset,
u32  value 
)

Definition at line 261 of file ft1000_hw.c.

void ft1000CleanupProc ( struct net_device dev)

Definition at line 204 of file ft1000_proc.c.

void ft1000InitProc ( struct net_device dev)

Definition at line 191 of file ft1000_proc.c.

struct net_device* init_ft1000_card ( struct pcmcia_device *  link,
void ft1000_reset 
)
read

Definition at line 2099 of file ft1000_hw.c.

void stop_ft1000_card ( struct net_device dev)

Definition at line 2040 of file ft1000_hw.c.