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

Go to the source code of this file.

Data Structures

struct  petp
 

Macros

#define DROP_MSEC   16
 
#define DROP_PKTS_CNT   1
 

Functions

void t1_tp_destroy (struct petp *tp)
 
struct petp *__devinit t1_tp_create (adapter_t *adapter, struct tp_params *p)
 
void t1_tp_intr_enable (struct petp *tp)
 
void t1_tp_intr_disable (struct petp *tp)
 
void t1_tp_intr_clear (struct petp *tp)
 
int t1_tp_intr_handler (struct petp *tp)
 
void t1_tp_set_ip_checksum_offload (struct petp *tp, int enable)
 
void t1_tp_set_tcp_checksum_offload (struct petp *tp, int enable)
 
int t1_tp_reset (struct petp *tp, struct tp_params *p, unsigned int tp_clk)
 

Macro Definition Documentation

#define DROP_MSEC   16

Definition at line 14 of file tp.c.

#define DROP_PKTS_CNT   1

Definition at line 15 of file tp.c.

Function Documentation

struct petp* __devinit t1_tp_create ( adapter_t adapter,
struct tp_params p 
)
read

Definition at line 58 of file tp.c.

void t1_tp_destroy ( struct petp tp)

Definition at line 53 of file tp.c.

void t1_tp_intr_clear ( struct petp tp)

Definition at line 110 of file tp.c.

void t1_tp_intr_disable ( struct petp tp)

Definition at line 91 of file tp.c.

void t1_tp_intr_enable ( struct petp tp)

Definition at line 70 of file tp.c.

int t1_tp_intr_handler ( struct petp tp)

Definition at line 124 of file tp.c.

int t1_tp_reset ( struct petp tp,
struct tp_params p,
unsigned int  tp_clk 
)

Definition at line 164 of file tp.c.

void t1_tp_set_ip_checksum_offload ( struct petp tp,
int  enable 
)

Definition at line 150 of file tp.c.

void t1_tp_set_tcp_checksum_offload ( struct petp tp,
int  enable 
)

Definition at line 155 of file tp.c.