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

Go to the source code of this file.

Data Structures

struct  tp_mib_statistics
 

Macros

#define TP_MAX_RX_COALESCING_SIZE   16224U
 

Functions

struct petpt1_tp_create (adapter_t *adapter, struct tp_params *p)
 
void t1_tp_destroy (struct petp *tp)
 
void t1_tp_intr_disable (struct petp *tp)
 
void t1_tp_intr_enable (struct petp *tp)
 
void t1_tp_intr_clear (struct petp *tp)
 
int t1_tp_intr_handler (struct petp *tp)
 
void t1_tp_get_mib_statistics (adapter_t *adap, struct tp_mib_statistics *tps)
 
void t1_tp_set_tcp_checksum_offload (struct petp *tp, int enable)
 
void t1_tp_set_ip_checksum_offload (struct petp *tp, int enable)
 
int t1_tp_set_coalescing_size (struct petp *tp, unsigned int size)
 
int t1_tp_reset (struct petp *tp, struct tp_params *p, unsigned int tp_clk)
 

Macro Definition Documentation

#define TP_MAX_RX_COALESCING_SIZE   16224U

Definition at line 7 of file tp.h.

Function Documentation

struct petp* 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_get_mib_statistics ( adapter_t adap,
struct tp_mib_statistics tps 
)
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.

int t1_tp_set_coalescing_size ( struct petp tp,
unsigned int  size 
)
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.