bcsr.c (7a996d3ab150bb0e1b71fa182f70199a703efdd1) | bcsr.c (ca4d3e6746bdcfccb517349bce2d2c5b5614fb6f) |
---|---|
1/* 2 * bcsr.h -- Db1xxx/Pb1xxx Devboard CPLD registers ("BCSR") abstraction. 3 * 4 * All Alchemy development boards (except, of course, the weird PB1000) 5 * have a few registers in a CPLD with standardised layout; they mostly 6 * only differ in base address. 7 * All registers are 16bits wide with 32bit spacing. 8 */ 9 10#include <linux/interrupt.h> 11#include <linux/module.h> 12#include <linux/spinlock.h> | 1/* 2 * bcsr.h -- Db1xxx/Pb1xxx Devboard CPLD registers ("BCSR") abstraction. 3 * 4 * All Alchemy development boards (except, of course, the weird PB1000) 5 * have a few registers in a CPLD with standardised layout; they mostly 6 * only differ in base address. 7 * All registers are 16bits wide with 32bit spacing. 8 */ 9 10#include <linux/interrupt.h> 11#include <linux/module.h> 12#include <linux/spinlock.h> |
13#include <linux/irq.h> |
|
13#include <asm/addrspace.h> 14#include <asm/io.h> 15#include <asm/mach-db1x00/bcsr.h> 16 17static struct bcsr_reg { 18 void __iomem *raddr; 19 spinlock_t lock; 20} bcsr_regs[BCSR_CNT]; --- 128 unchanged lines hidden --- | 14#include <asm/addrspace.h> 15#include <asm/io.h> 16#include <asm/mach-db1x00/bcsr.h> 17 18static struct bcsr_reg { 19 void __iomem *raddr; 20 spinlock_t lock; 21} bcsr_regs[BCSR_CNT]; --- 128 unchanged lines hidden --- |