Lines Matching refs:nile4_irq
26 void nile4_map_irq(int nile4_irq, int cpu_irq) in nile4_map_irq() argument
31 if (nile4_irq >= 8) { in nile4_map_irq()
33 nile4_irq -= 8; in nile4_map_irq()
36 t &= ~(7 << (nile4_irq * 4)); in nile4_map_irq()
37 t |= cpu_irq << (nile4_irq * 4); in nile4_map_irq()
59 void nile4_enable_irq(unsigned int nile4_irq) in nile4_enable_irq() argument
63 nile4_irq-=irq_base; in nile4_enable_irq()
68 if (nile4_irq >= 8) { in nile4_enable_irq()
70 nile4_irq -= 8; in nile4_enable_irq()
75 t |= 8 << (nile4_irq * 4); in nile4_enable_irq()
80 void nile4_disable_irq(unsigned int nile4_irq) in nile4_disable_irq() argument
84 nile4_irq-=irq_base; in nile4_disable_irq()
87 if (nile4_irq >= 8) { in nile4_disable_irq()
89 nile4_irq -= 8; in nile4_disable_irq()
92 t &= ~(8 << (nile4_irq * 4)); in nile4_disable_irq()
149 void nile4_clear_irq(int nile4_irq) in nile4_clear_irq() argument
151 nile4_irq-=irq_base; in nile4_clear_irq()
152 ddb_out32(DDB_INTCLR, 1 << nile4_irq); in nile4_clear_irq()