internals.h (94bd217e2d683719ab21a4ac117d8a1b91cbedc9) | internals.h (f4e73bfcd9cca0b64cc8096175852936fb1d111f) |
---|---|
1#include <linux/sh_intc.h> 2#include <linux/irq.h> 3#include <linux/list.h> 4#include <linux/kernel.h> 5#include <linux/types.h> 6#include <linux/radix-tree.h> | 1#include <linux/sh_intc.h> 2#include <linux/irq.h> 3#include <linux/list.h> 4#include <linux/kernel.h> 5#include <linux/types.h> 6#include <linux/radix-tree.h> |
7#include <linux/sysdev.h> | 7#include <linux/device.h> |
8 9#define _INTC_MK(fn, mode, addr_e, addr_d, width, shift) \ 10 ((shift) | ((width) << 5) | ((fn) << 9) | ((mode) << 13) | \ 11 ((addr_e) << 16) | ((addr_d << 24))) 12 13#define _INTC_SHIFT(h) (h & 0x1f) 14#define _INTC_WIDTH(h) ((h >> 5) & 0xf) 15#define _INTC_FN(h) ((h >> 9) & 0xf) --- 30 unchanged lines hidden (view full) --- 46struct intc_subgroup_entry { 47 unsigned int pirq; 48 intc_enum enum_id; 49 unsigned long handle; 50}; 51 52struct intc_desc_int { 53 struct list_head list; | 8 9#define _INTC_MK(fn, mode, addr_e, addr_d, width, shift) \ 10 ((shift) | ((width) << 5) | ((fn) << 9) | ((mode) << 13) | \ 11 ((addr_e) << 16) | ((addr_d << 24))) 12 13#define _INTC_SHIFT(h) (h & 0x1f) 14#define _INTC_WIDTH(h) ((h >> 5) & 0xf) 15#define _INTC_FN(h) ((h >> 9) & 0xf) --- 30 unchanged lines hidden (view full) --- 46struct intc_subgroup_entry { 47 unsigned int pirq; 48 intc_enum enum_id; 49 unsigned long handle; 50}; 51 52struct intc_desc_int { 53 struct list_head list; |
54 struct sys_device sysdev; | 54 struct device dev; |
55 struct radix_tree_root tree; 56 raw_spinlock_t lock; 57 unsigned int index; 58 unsigned long *reg; 59#ifdef CONFIG_SMP 60 unsigned long *smp; 61#endif 62 unsigned int nr_reg; --- 89 unchanged lines hidden (view full) --- 152/* chip.c */ 153extern struct irq_chip intc_irq_chip; 154void _intc_enable(struct irq_data *data, unsigned long handle); 155 156/* core.c */ 157extern struct list_head intc_list; 158extern raw_spinlock_t intc_big_lock; 159extern unsigned int nr_intc_controllers; | 55 struct radix_tree_root tree; 56 raw_spinlock_t lock; 57 unsigned int index; 58 unsigned long *reg; 59#ifdef CONFIG_SMP 60 unsigned long *smp; 61#endif 62 unsigned int nr_reg; --- 89 unchanged lines hidden (view full) --- 152/* chip.c */ 153extern struct irq_chip intc_irq_chip; 154void _intc_enable(struct irq_data *data, unsigned long handle); 155 156/* core.c */ 157extern struct list_head intc_list; 158extern raw_spinlock_t intc_big_lock; 159extern unsigned int nr_intc_controllers; |
160extern struct sysdev_class intc_sysdev_class; | 160extern struct bus_type intc_subsys; |
161 162unsigned int intc_get_dfl_prio_level(void); 163unsigned int intc_get_prio_level(unsigned int irq); 164void intc_set_prio_level(unsigned int irq, unsigned int level); 165 166/* handle.c */ 167unsigned int intc_get_mask_handle(struct intc_desc *desc, 168 struct intc_desc_int *d, --- 17 unchanged lines hidden --- | 161 162unsigned int intc_get_dfl_prio_level(void); 163unsigned int intc_get_prio_level(unsigned int irq); 164void intc_set_prio_level(unsigned int irq, unsigned int level); 165 166/* handle.c */ 167unsigned int intc_get_mask_handle(struct intc_desc *desc, 168 struct intc_desc_int *d, --- 17 unchanged lines hidden --- |