Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
ep8248e.c File Reference
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/fsl_devices.h>
#include <linux/mdio-bitbang.h>
#include <linux/of_mdio.h>
#include <linux/slab.h>
#include <linux/of_platform.h>
#include <asm/io.h>
#include <asm/cpm2.h>
#include <asm/udbg.h>
#include <asm/machdep.h>
#include <asm/time.h>
#include <asm/mpc8260.h>
#include <asm/prom.h>
#include <sysdev/fsl_soc.h>
#include <sysdev/cpm2_pic.h>
#include "pq2.h"

Go to the source code of this file.

Data Structures

struct  cpm_pin
 

Macros

#define BCSR7_SCC2_ENABLE   0x10
 
#define BCSR8_PHY1_ENABLE   0x80
 
#define BCSR8_PHY1_POWER   0x40
 
#define BCSR8_PHY2_ENABLE   0x20
 
#define BCSR8_PHY2_POWER   0x10
 
#define BCSR8_MDIO_READ   0x04
 
#define BCSR8_MDIO_CLOCK   0x02
 
#define BCSR8_MDIO_DATA   0x01
 
#define BCSR9_USB_ENABLE   0x80
 
#define BCSR9_USB_POWER   0x40
 
#define BCSR9_USB_HOST   0x20
 
#define BCSR9_USB_FULL_SPEED_TARGET   0x10
 

Functions

 machine_device_initcall (ep8248e, declare_of_platform_devices)
 
 define_machine (ep8248e)
 

Macro Definition Documentation

#define BCSR7_SCC2_ENABLE   0x10

Definition at line 37 of file ep8248e.c.

#define BCSR8_MDIO_CLOCK   0x02

Definition at line 44 of file ep8248e.c.

#define BCSR8_MDIO_DATA   0x01

Definition at line 45 of file ep8248e.c.

#define BCSR8_MDIO_READ   0x04

Definition at line 43 of file ep8248e.c.

#define BCSR8_PHY1_ENABLE   0x80

Definition at line 39 of file ep8248e.c.

#define BCSR8_PHY1_POWER   0x40

Definition at line 40 of file ep8248e.c.

#define BCSR8_PHY2_ENABLE   0x20

Definition at line 41 of file ep8248e.c.

#define BCSR8_PHY2_POWER   0x10

Definition at line 42 of file ep8248e.c.

#define BCSR9_USB_ENABLE   0x80

Definition at line 47 of file ep8248e.c.

#define BCSR9_USB_FULL_SPEED_TARGET   0x10

Definition at line 50 of file ep8248e.c.

#define BCSR9_USB_HOST   0x20

Definition at line 49 of file ep8248e.c.

#define BCSR9_USB_POWER   0x40

Definition at line 48 of file ep8248e.c.

Function Documentation

define_machine ( ep8248e  )

Definition at line 325 of file ep8248e.c.

machine_device_initcall ( ep8248e  ,
declare_of_platform_devices   
)