Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
mpc512x_shared.c File Reference
#include <linux/kernel.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/of_platform.h>
#include <linux/fsl-diu-fb.h>
#include <linux/bootmem.h>
#include <sysdev/fsl_soc.h>
#include <asm/cacheflush.h>
#include <asm/machdep.h>
#include <asm/ipic.h>
#include <asm/prom.h>
#include <asm/time.h>
#include <asm/mpc5121.h>
#include <asm/mpc52xx_psc.h>
#include "mpc512x.h"

Go to the source code of this file.

Data Structures

struct  fsl_diu_shared_fb
 

Macros

#define DIU_DIV_MASK   0x000000ff
 
#define DEFAULT_FIFO_SIZE   16
 
#define FIFOC(_base)
 

Functions

void mpc512x_restart (char *cmd)
 
u32 mpc512x_get_pixel_format (enum fsl_diu_monitor_port port, unsigned int bits_per_pixel)
 
void mpc512x_set_gamma_table (enum fsl_diu_monitor_port port, char *gamma_table_base)
 
void mpc512x_set_monitor_port (enum fsl_diu_monitor_port port)
 
void mpc512x_set_pixel_clock (unsigned int pixclock)
 
enum fsl_diu_monitor_port mpc512x_valid_monitor_port (enum fsl_diu_monitor_port port)
 
void mpc512x_release_bootmem (void)
 
void __init mpc512x_init_diu (void)
 
void __init mpc512x_setup_diu (void)
 
void __init mpc512x_init_IRQ (void)
 
void __init mpc512x_declare_of_platform_devices (void)
 
void __init mpc512x_psc_fifo_init (void)
 
void __init mpc512x_init (void)
 

Macro Definition Documentation

#define DEFAULT_FIFO_SIZE   16

Definition at line 373 of file mpc512x_shared.c.

#define DIU_DIV_MASK   0x000000ff

Definition at line 92 of file mpc512x_shared.c.

#define FIFOC (   _base)
Value:
((u32)(_base) + sizeof(struct mpc52xx_psc)))

Definition at line 390 of file mpc512x_shared.c.

Function Documentation

void __init mpc512x_declare_of_platform_devices ( void  )

Definition at line 358 of file mpc512x_shared.c.

u32 mpc512x_get_pixel_format ( enum fsl_diu_monitor_port  port,
unsigned int  bits_per_pixel 
)

Definition at line 69 of file mpc512x_shared.c.

void __init mpc512x_init ( void  )

Definition at line 449 of file mpc512x_shared.c.

void __init mpc512x_init_diu ( void  )

Definition at line 230 of file mpc512x_shared.c.

void __init mpc512x_init_IRQ ( void  )

Definition at line 331 of file mpc512x_shared.c.

void __init mpc512x_psc_fifo_init ( void  )

Definition at line 394 of file mpc512x_shared.c.

void mpc512x_release_bootmem ( void  )

Definition at line 204 of file mpc512x_shared.c.

void mpc512x_restart ( char cmd)

Definition at line 47 of file mpc512x_shared.c.

void mpc512x_set_gamma_table ( enum fsl_diu_monitor_port  port,
char gamma_table_base 
)

Definition at line 83 of file mpc512x_shared.c.

void mpc512x_set_monitor_port ( enum fsl_diu_monitor_port  port)

Definition at line 88 of file mpc512x_shared.c.

void mpc512x_set_pixel_clock ( unsigned int  pixclock)

Definition at line 93 of file mpc512x_shared.c.

void __init mpc512x_setup_diu ( void  )

Definition at line 299 of file mpc512x_shared.c.

enum fsl_diu_monitor_port mpc512x_valid_monitor_port ( enum fsl_diu_monitor_port  port)

Definition at line 187 of file mpc512x_shared.c.