Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
octeon-ethernet.h File Reference
#include <linux/of.h>

Go to the source code of this file.

Data Structures

struct  octeon_ethernet
 

Functions

int cvm_oct_free_work (void *work_queue_entry)
 
int cvm_oct_rgmii_init (struct net_device *dev)
 
void cvm_oct_rgmii_uninit (struct net_device *dev)
 
int cvm_oct_rgmii_open (struct net_device *dev)
 
int cvm_oct_rgmii_stop (struct net_device *dev)
 
int cvm_oct_sgmii_init (struct net_device *dev)
 
void cvm_oct_sgmii_uninit (struct net_device *dev)
 
int cvm_oct_sgmii_open (struct net_device *dev)
 
int cvm_oct_sgmii_stop (struct net_device *dev)
 
int cvm_oct_spi_init (struct net_device *dev)
 
void cvm_oct_spi_uninit (struct net_device *dev)
 
int cvm_oct_xaui_init (struct net_device *dev)
 
void cvm_oct_xaui_uninit (struct net_device *dev)
 
int cvm_oct_xaui_open (struct net_device *dev)
 
int cvm_oct_xaui_stop (struct net_device *dev)
 
int cvm_oct_common_init (struct net_device *dev)
 
void cvm_oct_common_uninit (struct net_device *dev)
 

Variables

int always_use_pow
 
int pow_send_group
 
int pow_receive_group
 
char pow_send_list []
 
struct net_devicecvm_oct_device []
 
struct workqueue_structcvm_oct_poll_queue
 
atomic_t cvm_oct_poll_queue_stopping
 
u64 cvm_oct_tx_poll_interval
 
int max_rx_cpus
 
int rx_napi_weight
 

Function Documentation

int cvm_oct_common_init ( struct net_device dev)

cvm_oct_common_init - per network device initialization : Device to initialize

Returns Zero on success

Definition at line 448 of file ethernet.c.

void cvm_oct_common_uninit ( struct net_device dev)

Definition at line 495 of file ethernet.c.

int cvm_oct_free_work ( void work_queue_entry)

cvm_oct_free_work- Free a work queue entry

: Work queue entry to free

Returns Zero on success, Negative on failure.

Definition at line 197 of file ethernet.c.

int cvm_oct_rgmii_init ( struct net_device dev)

Definition at line 334 of file ethernet-rgmii.c.

int cvm_oct_rgmii_open ( struct net_device dev)

Definition at line 294 of file ethernet-rgmii.c.

int cvm_oct_rgmii_stop ( struct net_device dev)

Definition at line 315 of file ethernet-rgmii.c.

void cvm_oct_rgmii_uninit ( struct net_device dev)

Definition at line 391 of file ethernet-rgmii.c.

int cvm_oct_sgmii_init ( struct net_device dev)

Definition at line 112 of file ethernet-sgmii.c.

int cvm_oct_sgmii_open ( struct net_device dev)

Definition at line 42 of file ethernet-sgmii.c.

int cvm_oct_sgmii_stop ( struct net_device dev)

Definition at line 63 of file ethernet-sgmii.c.

void cvm_oct_sgmii_uninit ( struct net_device dev)

Definition at line 124 of file ethernet-sgmii.c.

int cvm_oct_spi_init ( struct net_device dev)

Definition at line 290 of file ethernet-spi.c.

void cvm_oct_spi_uninit ( struct net_device dev)

Definition at line 311 of file ethernet-spi.c.

int cvm_oct_xaui_init ( struct net_device dev)

Definition at line 111 of file ethernet-xaui.c.

int cvm_oct_xaui_open ( struct net_device dev)

Definition at line 42 of file ethernet-xaui.c.

int cvm_oct_xaui_stop ( struct net_device dev)

Definition at line 62 of file ethernet-xaui.c.

void cvm_oct_xaui_uninit ( struct net_device dev)

Definition at line 122 of file ethernet-xaui.c.

Variable Documentation

int always_use_pow

Definition at line 86 of file ethernet.c.

struct net_device* cvm_oct_device[]

Array of every ethernet device owned by this driver indexed by the ipd input port number.

Definition at line 134 of file ethernet.c.

struct workqueue_struct* cvm_oct_poll_queue

cvm_oct_poll_queue - Workqueue for polling operations.

Definition at line 121 of file ethernet.c.

atomic_t cvm_oct_poll_queue_stopping

cvm_oct_poll_queue_stopping - flag to indicate polling should stop.

Set to one right before cvm_oct_poll_queue is destroyed.

Definition at line 128 of file ethernet.c.

u64 cvm_oct_tx_poll_interval

Definition at line 136 of file ethernet.c.

int max_rx_cpus

Definition at line 108 of file ethernet.c.

int pow_receive_group

Definition at line 71 of file ethernet.c.

int pow_send_group

Definition at line 79 of file ethernet.c.

char pow_send_list[]

Definition at line 98 of file ethernet.c.

int rx_napi_weight

Definition at line 114 of file ethernet.c.