Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ctrl.c File Reference
#include <linux/types.h>
#include "2t3e3.h"
#include "ctrl.h"

Go to the source code of this file.

Functions

void t3e3_set_frame_type (struct channel *sc, u32 mode)
 
void t3e3_set_loopback (struct channel *sc, u32 mode)
 
void t3e3_reg_read (struct channel *sc, u32 *reg, u32 *val)
 
void t3e3_reg_write (struct channel *sc, u32 *reg)
 
void t3e3_port_get (struct channel *sc, t3e3_param_t *param)
 
void t3e3_port_set (struct channel *sc, t3e3_param_t *param)
 
void t3e3_port_get_stats (struct channel *sc, t3e3_stats_t *stats)
 
void t3e3_port_del_stats (struct channel *sc)
 
void t3e3_if_config (struct channel *sc, u32 cmd, char *set, t3e3_resp_t *ret, int *rlen)
 
void t3e3_sc_init (struct channel *sc)
 

Function Documentation

void t3e3_if_config ( struct channel sc,
u32  cmd,
char set,
t3e3_resp_t ret,
int rlen 
)

Definition at line 290 of file ctrl.c.

void t3e3_port_del_stats ( struct channel sc)

Definition at line 285 of file ctrl.c.

void t3e3_port_get ( struct channel sc,
t3e3_param_t param 
)

Definition at line 167 of file ctrl.c.

void t3e3_port_get_stats ( struct channel sc,
t3e3_stats_t stats 
)

Definition at line 219 of file ctrl.c.

void t3e3_port_set ( struct channel sc,
t3e3_param_t param 
)

Definition at line 172 of file ctrl.c.

void t3e3_reg_read ( struct channel sc,
u32 reg,
u32 val 
)

Definition at line 98 of file ctrl.c.

void t3e3_reg_write ( struct channel sc,
u32 reg 
)

Definition at line 135 of file ctrl.c.

void t3e3_sc_init ( struct channel sc)

Definition at line 333 of file ctrl.c.

void t3e3_set_frame_type ( struct channel sc,
u32  mode 
)

Definition at line 17 of file ctrl.c.

void t3e3_set_loopback ( struct channel sc,
u32  mode 
)

Definition at line 34 of file ctrl.c.