Linux Kernel
3.7.1
|
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/kernel.h>
#include <linux/dma-mapping.h>
#include <linux/param.h>
#include <linux/string.h>
#include <linux/mm.h>
#include <linux/interrupt.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/slab.h>
#include <asm/page.h>
#include <asm/pgtable.h>
#include <asm/8xx_immap.h>
#include <asm/cpm1.h>
#include <asm/io.h>
#include <asm/tlbflush.h>
#include <asm/rheap.h>
#include <asm/prom.h>
#include <asm/cpm.h>
#include <asm/fs_pd.h>
Go to the source code of this file.
Data Structures | |
struct | cpm_ioport16 |
struct | cpm_ioport32b |
struct | cpm_ioport32e |
Macros | |
#define | CPM_MAP_SIZE (0x4000) |
#define | MAX_CR_CMD_LOOPS 10000 |
#define | BRG_INT_CLK (get_brgfreq()) |
#define | BRG_UART_CLK (BRG_INT_CLK/16) |
#define | BRG_UART_CLK_DIV16 (BRG_UART_CLK/16) |
Functions | |
int | cpm_get_irq (void) |
unsigned int | cpm_pic_init (void) |
void __init | cpm_reset (void) |
int | cpm_command (u32 command, u8 opcode) |
EXPORT_SYMBOL (cpm_command) | |
void | cpm_setbrg (uint brg, uint rate) |
void | cpm1_set_pin (enum cpm_port port, int pin, int flags) |
int | cpm1_clk_setup (enum cpm_clk_target target, int clock, int mode) |
Variables | |
cpm8xx_t __iomem * | cpmp |
immap_t __iomem * | mpc8xx_immr |
#define BRG_UART_CLK (BRG_INT_CLK/16) |
#define BRG_UART_CLK_DIV16 (BRG_UART_CLK/16) |
int cpm1_clk_setup | ( | enum cpm_clk_target | target, |
int | clock, | ||
int | mode | ||
) |
EXPORT_SYMBOL | ( | cpm_command | ) |