Home
last modified time | relevance | path

Searched refs:EXT_IRQ0 (Results 1 – 4 of 4) sorted by relevance

/arch/h8300/platform/h8300h/
Dirq.c35 if (irq < EXT_IRQ0 || irq > EXT_IRQ5) in h8300_enable_irq_pin()
39 bitmask = 1 << (irq - EXT_IRQ0); in h8300_enable_irq_pin()
41 case EXT_IRQ0: in h8300_enable_irq_pin()
63 if (irq < EXT_IRQ0 || irq > EXT_IRQ5) in h8300_disable_irq_pin()
67 bitmask = 1 << (irq - EXT_IRQ0); in h8300_disable_irq_pin()
69 case EXT_IRQ0: in h8300_disable_irq_pin()
/arch/h8300/platform/h8s/
Dirq.c70 port = irq_assign_table1[irq - EXT_IRQ0].port_no; \
71 bit = irq_assign_table1[irq - EXT_IRQ0].bit_no; \
73 port = irq_assign_table0[irq - EXT_IRQ0].port_no; \
74 bit = irq_assign_table0[irq - EXT_IRQ0].bit_no; \
80 if (irq >= EXT_IRQ0 && irq <= EXT_IRQ15) { in h8300_enable_irq_pin()
81 unsigned short ptn = 1 << (irq - EXT_IRQ0); in h8300_enable_irq_pin()
95 if (irq >= EXT_IRQ0 && irq <= EXT_IRQ15) { in h8300_disable_irq_pin()
97 unsigned short ptn = 1 << (irq - EXT_IRQ0); in h8300_disable_irq_pin()
/arch/h8300/kernel/
Dirq.c37 return (irq >= EXT_IRQ0 && irq <= (EXT_IRQ0 + EXT_IRQS)); in is_ext_irq()
43 IER_REGS |= 1 << (data->irq - EXT_IRQ0); in h8300_enable_irq()
49 IER_REGS &= ~(1 << (data->irq - EXT_IRQ0)); in h8300_disable_irq()
84 base = rom_vector[EXT_IRQ0] & ADDR_MASK; in get_vector_address()
87 for (vec_no = EXT_IRQ1; vec_no <= EXT_IRQ0+EXT_IRQS; vec_no++) { in get_vector_address()
88 if ((base+(vec_no - EXT_IRQ0)*4) != (rom_vector[vec_no] & ADDR_MASK)) in get_vector_address()
93 base -= EXT_IRQ0*4; in get_vector_address()
/arch/h8300/include/asm/
Dirq.h8 #define EXT_IRQ0 12 macro
21 #define EXT_IRQ0 16 macro