https://github.com/torvalds/linux
Raw File
Tip revision: 89ca3b881987f5a4be4c5dbaa7f0df12bbdde2fd authored by Linus Torvalds on 05 May 2014, 01:14:42 UTC
Linux 3.15-rc4
Tip revision: 89ca3b8
common.h
/*
 * linux/arch/arm/mach-clps711x/common.h
 *
 * Common bits.
 */

#include <linux/reboot.h>

#define CLPS711X_NR_GPIO	(4 * 8 + 3)
#define CLPS711X_GPIO(prt, bit)	((prt) * 8 + (bit))

extern void clps711x_map_io(void);
extern void clps711x_init_irq(void);
extern void clps711x_timer_init(void);
extern void clps711x_restart(enum reboot_mode mode, const char *cmd);
extern void clps711x_init_early(void);

/* drivers/irqchip/irq-clps711x.c */
void clps711x_intc_init(phys_addr_t, resource_size_t);
back to top