Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ks8695_priv Struct Reference

Data Fields

int in_suspend
 
struct net_devicendev
 
struct devicedev
 
enum ks8695_dtype dtype
 
void __iomemio_regs
 
struct napi_struct napi
 
const charrx_irq_name
 
const chartx_irq_name
 
const charlink_irq_name
 
int rx_irq
 
int tx_irq
 
int link_irq
 
struct resourceregs_req
 
struct resourcephyiface_req
 
void __iomemphyiface_regs
 
voidring_base
 
dma_addr_t ring_base_dma
 
struct tx_ring_desctx_ring
 
int tx_ring_used
 
int tx_ring_next_slot
 
dma_addr_t tx_ring_dma
 
struct ks8695_skbuff tx_buffers [MAX_TX_DESC]
 
spinlock_t txq_lock
 
struct rx_ring_descrx_ring
 
dma_addr_t rx_ring_dma
 
struct ks8695_skbuff rx_buffers [MAX_RX_DESC]
 
int next_rx_desc_read
 
spinlock_t rx_lock
 
int msg_enable
 

Detailed Description

struct ks8695_priv - Private data for the KS8695 Ethernet : Flag to indicate if we're suspending/resuming : The net_device for this interface : The platform device object for this interface : The type of this device : The ioremapped registers for this interface : Add support NAPI for Rx : The textual name of the RX IRQ from the platform data : The textual name of the TX IRQ from the platform data : The textual name of the link IRQ from the platform data if available : The IRQ number for the RX IRQ : The IRQ number for the TX IRQ : The IRQ number for the link IRQ if available : The resource request for the registers region : The resource request for the phy/switch region if available : The ioremapped registers for the phy/switch if available : The base pointer of the dma coherent memory for the rings : The DMA mapped equivalent of ring_base : The pointer in ring_base of the TX ring : The number of slots in the TX ring which are occupied : The next slot to fill in the TX ring : The DMA mapped equivalent of tx_ring : The sk_buff mappings for the TX ring : A lock to protect the tx_buffers tx_ring_used etc variables : The pointer in ring_base of the RX ring : The DMA mapped equivalent of rx_ring : The sk_buff mappings for the RX ring : The next RX descriptor to read from on IRQ : A lock to protect Rx irq function : The flags for which messages to emit

Definition at line 158 of file ks8695net.c.

Field Documentation

struct device* dev

Definition at line 161 of file ks8695net.c.

Definition at line 162 of file ks8695net.c.

int in_suspend

Definition at line 159 of file ks8695net.c.

void __iomem* io_regs

Definition at line 163 of file ks8695net.c.

int link_irq

Definition at line 168 of file ks8695net.c.

const char * link_irq_name

Definition at line 167 of file ks8695net.c.

int msg_enable

Definition at line 189 of file ks8695net.c.

Definition at line 165 of file ks8695net.c.

Definition at line 160 of file ks8695net.c.

int next_rx_desc_read

Definition at line 186 of file ks8695net.c.

void __iomem* phyiface_regs

Definition at line 171 of file ks8695net.c.

struct resource * phyiface_req

Definition at line 170 of file ks8695net.c.

struct resource* regs_req

Definition at line 170 of file ks8695net.c.

void* ring_base

Definition at line 173 of file ks8695net.c.

dma_addr_t ring_base_dma

Definition at line 174 of file ks8695net.c.

Definition at line 185 of file ks8695net.c.

int rx_irq

Definition at line 168 of file ks8695net.c.

const char* rx_irq_name

Definition at line 167 of file ks8695net.c.

spinlock_t rx_lock

Definition at line 187 of file ks8695net.c.

Definition at line 183 of file ks8695net.c.

dma_addr_t rx_ring_dma

Definition at line 184 of file ks8695net.c.

Definition at line 180 of file ks8695net.c.

int tx_irq

Definition at line 168 of file ks8695net.c.

const char * tx_irq_name

Definition at line 167 of file ks8695net.c.

Definition at line 176 of file ks8695net.c.

dma_addr_t tx_ring_dma

Definition at line 179 of file ks8695net.c.

int tx_ring_next_slot

Definition at line 178 of file ks8695net.c.

int tx_ring_used

Definition at line 177 of file ks8695net.c.

spinlock_t txq_lock

Definition at line 181 of file ks8695net.c.


The documentation for this struct was generated from the following file: