source: svn/newcon3bcm2_21bu/toolchain/mipsel-linux-uclibc/include/asm/jmr3927/irq.h

Last change on this file was 76, checked in by megakiss, 10 years ago

1W 대기전력을 만족시키기 위하여 POWEROFF시 튜너를 Standby 상태로 함

  • Property svn:executable set to *
File size: 1.4 KB
Line 
1/*
2 *  linux/include/asm-mips/tx3927/irq.h
3 *
4 * This file is subject to the terms and conditions of the GNU General Public
5 * License.  See the file "COPYING" in the main directory of this archive
6 * for more details.
7 *
8 * Copyright (C) 2001 Toshiba Corporation
9 */
10#ifndef __ASM_TX3927_IRQ_H
11#define __ASM_TX3927_IRQ_H
12
13#ifndef __ASSEMBLY__
14
15#include <asm/irq.h>
16
17struct tb_irq_space {
18        struct tb_irq_space* next;
19        int start_irqno;
20        int nr_irqs;
21        void (*mask_func)(int irq_nr, int space_id);
22        void (*unmask_func)(int irq_no, int space_id);
23        const char *name;
24        int space_id;
25        int can_share;
26};
27extern struct tb_irq_space* tb_irq_spaces;
28
29static __inline__ void add_tb_irq_space(struct tb_irq_space* sp)
30{
31        sp->next = tb_irq_spaces;
32        tb_irq_spaces = sp;
33}
34
35
36struct pt_regs;
37extern void
38toshibaboards_spurious(struct pt_regs *regs, int irq);
39extern void
40toshibaboards_irqdispatch(struct pt_regs *regs, int irq);
41
42extern struct irqaction *
43toshibaboards_get_irq_action(int irq);
44extern int
45toshibaboards_setup_irq(int irq, struct irqaction * new);
46
47
48#ifdef CONFIG_TX_BRANCH_LIKELY_BUG_WORKAROUND
49extern void tx_branch_likely_bug_fixup(struct pt_regs *regs);
50#endif
51
52extern int (*toshibaboards_gen_iack)(void);
53
54#endif /* !__ASSEMBLY__ */
55
56#define NR_ISA_IRQS 16
57#define TB_IRQ_IS_ISA(irq)      \
58        (0 <= (irq) && (irq) < NR_ISA_IRQS)
59#define TB_IRQ_TO_ISA_IRQ(irq)  (irq)
60
61#endif /* __ASM_TX3927_IRQ_H */
Note: See TracBrowser for help on using the repository browser.