Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
platform.h File Reference

Go to the source code of this file.

Data Structures

struct  ep93xx_eth_data
 

Macros

#define EP93XX_CHIP_REV_D0   3
 
#define EP93XX_CHIP_REV_D1   4
 
#define EP93XX_CHIP_REV_E0   5
 
#define EP93XX_CHIP_REV_E1   6
 
#define EP93XX_CHIP_REV_E2   7
 

Functions

void ep93xx_map_io (void)
 
void ep93xx_init_irq (void)
 
unsigned int ep93xx_chip_revision (void)
 
void ep93xx_register_flash (unsigned int width, resource_size_t start, resource_size_t size)
 
void ep93xx_register_eth (struct ep93xx_eth_data *data, int copy_addr)
 
void ep93xx_register_i2c (struct i2c_gpio_platform_data *data, struct i2c_board_info *devices, int num)
 
void ep93xx_register_spi (struct ep93xx_spi_info *info, struct spi_board_info *devices, int num)
 
void ep93xx_register_fb (struct ep93xxfb_mach_info *data)
 
void ep93xx_register_pwm (int pwm0, int pwm1)
 
int ep93xx_pwm_acquire_gpio (struct platform_device *pdev)
 
void ep93xx_pwm_release_gpio (struct platform_device *pdev)
 
void ep93xx_register_keypad (struct ep93xx_keypad_platform_data *data)
 
int ep93xx_keypad_acquire_gpio (struct platform_device *pdev)
 
void ep93xx_keypad_release_gpio (struct platform_device *pdev)
 
void ep93xx_register_i2s (void)
 
int ep93xx_i2s_acquire (void)
 
void ep93xx_i2s_release (void)
 
void ep93xx_register_ac97 (void)
 
void ep93xx_register_ide (void)
 
int ep93xx_ide_acquire_gpio (struct platform_device *pdev)
 
void ep93xx_ide_release_gpio (struct platform_device *pdev)
 
void ep93xx_init_devices (void)
 
void ep93xx_restart (char, const char *)
 
void ep93xx_init_late (void)
 

Variables

struct sys_timer ep93xx_timer
 

Macro Definition Documentation

#define EP93XX_CHIP_REV_D0   3

Definition at line 24 of file platform.h.

#define EP93XX_CHIP_REV_D1   4

Definition at line 25 of file platform.h.

#define EP93XX_CHIP_REV_E0   5

Definition at line 26 of file platform.h.

#define EP93XX_CHIP_REV_E1   6

Definition at line 27 of file platform.h.

#define EP93XX_CHIP_REV_E2   7

Definition at line 28 of file platform.h.

Function Documentation

unsigned int ep93xx_chip_revision ( void  )

ep93xx_chip_revision() - returns the EP93xx chip revision

See <mach/platform.h> for more information.

Definition at line 230 of file core.c.

int ep93xx_i2s_acquire ( void  )

Definition at line 732 of file core.c.

void ep93xx_i2s_release ( void  )

Definition at line 754 of file core.c.

int ep93xx_ide_acquire_gpio ( struct platform_device pdev)

Definition at line 824 of file core.c.

void ep93xx_ide_release_gpio ( struct platform_device pdev)

Definition at line 875 of file core.c.

void ep93xx_init_devices ( void  )

Definition at line 896 of file core.c.

void ep93xx_init_irq ( void  )

Definition at line 180 of file core.c.

void ep93xx_init_late ( void  )

Definition at line 934 of file core.c.

int ep93xx_keypad_acquire_gpio ( struct platform_device pdev)

Definition at line 655 of file core.c.

void ep93xx_keypad_release_gpio ( struct platform_device pdev)

Definition at line 686 of file core.c.

void ep93xx_map_io ( void  )

Definition at line 68 of file core.c.

int ep93xx_pwm_acquire_gpio ( struct platform_device pdev)

Definition at line 535 of file core.c.

void ep93xx_pwm_release_gpio ( struct platform_device pdev)

Definition at line 564 of file core.c.

void ep93xx_register_ac97 ( void  )

Definition at line 775 of file core.c.

void ep93xx_register_eth ( struct ep93xx_eth_data data,
int  copy_addr 
)

ep93xx_register_eth - Register the built-in ethernet platform device. : platform specific ethernet configuration (__initdata) : flag indicating that the MAC address should be copied from the IndAd registers (as programmed by the bootloader)

Definition at line 383 of file core.c.

void ep93xx_register_fb ( struct ep93xxfb_mach_info data)

ep93xx_register_fb - Register the framebuffer platform device. : platform specific framebuffer configuration (__initdata)

Definition at line 617 of file core.c.

void ep93xx_register_flash ( unsigned int  width,
resource_size_t  start,
resource_size_t  size 
)

ep93xx_register_flash() - Register the external flash device. : bank width in octets : resource start address : resource size

Definition at line 341 of file core.c.

void ep93xx_register_i2c ( struct i2c_gpio_platform_data data,
struct i2c_board_info devices,
int  num 
)

ep93xx_register_i2c - Register the i2c platform device. : platform specific i2c-gpio configuration (__initdata) : platform specific i2c bus device information (__initdata) : the number of devices on the i2c bus

Definition at line 412 of file core.c.

void ep93xx_register_i2s ( void  )

Definition at line 720 of file core.c.

void ep93xx_register_ide ( void  )

Definition at line 819 of file core.c.

void ep93xx_register_keypad ( struct ep93xx_keypad_platform_data data)

ep93xx_register_keypad - Register the keypad platform device. : platform specific keypad configuration (__initdata)

Definition at line 649 of file core.c.

void ep93xx_register_pwm ( int  pwm0,
int  pwm1 
)

Definition at line 525 of file core.c.

void ep93xx_register_spi ( struct ep93xx_spi_info info,
struct spi_board_info devices,
int  num 
)

ep93xx_register_spi() - registers spi platform device : ep93xx board specific spi master info (__initdata) : SPI devices to register (__initdata) : number of SPI devices to register

This function registers platform device for the EP93xx SPI controller and also makes sure that SPI pins are muxed so that I2S is not using those pins.

Definition at line 468 of file core.c.

void ep93xx_restart ( char  ,
const char  
)

Definition at line 922 of file core.c.

Variable Documentation

struct sys_timer ep93xx_timer

Definition at line 171 of file core.c.