Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
gelic_udbg.c File Reference
#include <asm/io.h>
#include <asm/udbg.h>
#include <asm/lv1call.h>

Go to the source code of this file.

Data Structures

struct  gelic_descr
 
struct  debug_block
 
struct  ethhdr
 
struct  vlantag
 
struct  iphdr
 
struct  udphdr
 

Macros

#define GELIC_BUS_ID   1
 
#define GELIC_DEVICE_ID   0
 
#define GELIC_DEBUG_PORT   18194
 
#define GELIC_MAX_MESSAGE_SIZE   1000
 
#define GELIC_LV1_GET_MAC_ADDRESS   1
 
#define GELIC_LV1_GET_VLAN_ID   4
 
#define GELIC_LV1_VLAN_TX_ETHERNET_0   2
 
#define GELIC_DESCR_DMA_STAT_MASK   0xf0000000
 
#define GELIC_DESCR_DMA_CARDOWNED   0xa0000000
 
#define GELIC_DESCR_TX_DMA_IKE   0x00080000
 
#define GELIC_DESCR_TX_DMA_NO_CHKSUM   0x00000000
 
#define GELIC_DESCR_TX_DMA_FRAME_TAIL   0x00040000
 
#define GELIC_DESCR_DMA_CMD_NO_CHKSUM
 

Functions

struct gelic_descr __attribute__ ((aligned(32)))
 
void __init udbg_init_ps3gelic (void)
 
void udbg_shutdown_ps3gelic (void)
 
 EXPORT_SYMBOL (udbg_shutdown_ps3gelic)
 

Variables

__be32 buf_addr
 
__be32 buf_size
 
__be32 next_descr_addr
 
__be32 dmac_cmd_status
 
__be32 result_size
 
__be32 valid_size
 
__be32 data_status
 
__be32 data_error
 
struct debug_block __packed
 

Macro Definition Documentation

#define GELIC_BUS_ID   1

Definition at line 20 of file gelic_udbg.c.

#define GELIC_DEBUG_PORT   18194

Definition at line 22 of file gelic_udbg.c.

#define GELIC_DESCR_DMA_CARDOWNED   0xa0000000

Definition at line 30 of file gelic_udbg.c.

#define GELIC_DESCR_DMA_CMD_NO_CHKSUM
Value:
GELIC_DESCR_TX_DMA_IKE | \
GELIC_DESCR_TX_DMA_NO_CHKSUM)

Definition at line 36 of file gelic_udbg.c.

#define GELIC_DESCR_DMA_STAT_MASK   0xf0000000

Definition at line 29 of file gelic_udbg.c.

#define GELIC_DESCR_TX_DMA_FRAME_TAIL   0x00040000

Definition at line 34 of file gelic_udbg.c.

#define GELIC_DESCR_TX_DMA_IKE   0x00080000

Definition at line 32 of file gelic_udbg.c.

#define GELIC_DESCR_TX_DMA_NO_CHKSUM   0x00000000

Definition at line 33 of file gelic_udbg.c.

#define GELIC_DEVICE_ID   0

Definition at line 21 of file gelic_udbg.c.

#define GELIC_LV1_GET_MAC_ADDRESS   1

Definition at line 25 of file gelic_udbg.c.

#define GELIC_LV1_GET_VLAN_ID   4

Definition at line 26 of file gelic_udbg.c.

#define GELIC_LV1_VLAN_TX_ETHERNET_0   2

Definition at line 27 of file gelic_udbg.c.

#define GELIC_MAX_MESSAGE_SIZE   1000

Definition at line 23 of file gelic_udbg.c.

Function Documentation

EXPORT_SYMBOL ( udbg_shutdown_ps3gelic  )
void __init udbg_init_ps3gelic ( void  )

Definition at line 262 of file gelic_udbg.c.

void udbg_shutdown_ps3gelic ( void  )

Definition at line 268 of file gelic_udbg.c.

Variable Documentation

__be32 buf_addr

Definition at line 54 of file gelic_udbg.c.

__be32 buf_size

Definition at line 55 of file gelic_udbg.c.

__be32 data_error

Definition at line 61 of file gelic_udbg.c.

__be32 data_status

Definition at line 60 of file gelic_udbg.c.

__be32 dmac_cmd_status

Definition at line 57 of file gelic_udbg.c.

__be32 next_descr_addr

Definition at line 56 of file gelic_udbg.c.

__be32 result_size

Definition at line 58 of file gelic_udbg.c.

__be32 valid_size

Definition at line 59 of file gelic_udbg.c.