Home
last modified time | relevance | path

Searched refs:pending (Results 1 – 25 of 106) sorted by relevance

12345

/arch/mips/pmcs-msp71xx/
Dmsp_irq.c57 u32 pending; in plat_irq_dispatch() local
59 pending = read_c0_status() & read_c0_cause(); in plat_irq_dispatch()
68 if (pending & C_IRQ4) /* do the peripherals first, that's the timer */ in plat_irq_dispatch()
71 else if (pending & C_IRQ0) in plat_irq_dispatch()
74 else if (pending & C_IRQ1) in plat_irq_dispatch()
77 else if (pending & C_IRQ2) in plat_irq_dispatch()
80 else if (pending & C_IRQ3) in plat_irq_dispatch()
83 else if (pending & C_IRQ5) in plat_irq_dispatch()
87 if (pending & C_IRQ5) in plat_irq_dispatch()
90 else if (pending & C_IRQ0) in plat_irq_dispatch()
[all …]
Dmsp_irq_slp.c85 u32 pending; in msp_slp_irq_dispatch() local
89 pending = *SLP_INT_STS_REG & *SLP_INT_MSK_REG; in msp_slp_irq_dispatch()
92 if (pending == (1 << (MSP_INT_PER - MSP_SLP_INTBASE))) { in msp_slp_irq_dispatch()
94 pending = *PER_INT_STS_REG & *PER_INT_MSK_REG; in msp_slp_irq_dispatch()
98 if (pending == 0x00000000) { in msp_slp_irq_dispatch()
105 do_IRQ(ffs(pending) + intbase - 1); in msp_slp_irq_dispatch()
Dmsp_irq_cic.c197 u32 pending; in msp_cic_irq_dispatch() local
200 pending = cic_status & cic_mask; in msp_cic_irq_dispatch()
201 if (pending & (1 << (MSP_INT_VPE0_TIMER - MSP_CIC_INTBASE))) { in msp_cic_irq_dispatch()
203 } else if (pending & (1 << (MSP_INT_VPE1_TIMER - MSP_CIC_INTBASE))) { in msp_cic_irq_dispatch()
205 } else if (pending & (1 << (MSP_INT_PER - MSP_CIC_INTBASE))) { in msp_cic_irq_dispatch()
207 } else if (pending) { in msp_cic_irq_dispatch()
208 do_IRQ(ffs(pending) + MSP_CIC_INTBASE - 1); in msp_cic_irq_dispatch()
Dmsp_irq_per.c123 u32 pending; in msp_per_irq_dispatch() local
125 pending = per_status & per_mask; in msp_per_irq_dispatch()
126 if (pending) { in msp_per_irq_dispatch()
127 do_IRQ(ffs(pending) + MSP_PER_INTBASE - 1); in msp_per_irq_dispatch()
/arch/mips/cobalt/
Dirq.c25 unsigned pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch() local
28 if (pending & CAUSEF_IP2) in plat_irq_dispatch()
30 else if (pending & CAUSEF_IP6) { in plat_irq_dispatch()
36 } else if (pending & CAUSEF_IP3) in plat_irq_dispatch()
38 else if (pending & CAUSEF_IP4) in plat_irq_dispatch()
40 else if (pending & CAUSEF_IP5) in plat_irq_dispatch()
42 else if (pending & CAUSEF_IP7) in plat_irq_dispatch()
/arch/mips/vr41xx/common/
Dirq.c98 unsigned int pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() local
100 if (pending & CAUSEF_IP7) in plat_irq_dispatch()
102 else if (pending & 0x7800) { in plat_irq_dispatch()
103 if (pending & CAUSEF_IP3) in plat_irq_dispatch()
105 else if (pending & CAUSEF_IP4) in plat_irq_dispatch()
107 else if (pending & CAUSEF_IP5) in plat_irq_dispatch()
109 else if (pending & CAUSEF_IP6) in plat_irq_dispatch()
111 } else if (pending & CAUSEF_IP2) in plat_irq_dispatch()
113 else if (pending & CAUSEF_IP0) in plat_irq_dispatch()
115 else if (pending & CAUSEF_IP1) in plat_irq_dispatch()
/arch/mips/sni/
Dpcit.c183 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; in pcit_hwint1() local
187 irq = ffs((pending >> 16) & 0x7f); in pcit_hwint1()
196 u32 pending = *(volatile u32 *)SNI_PCIT_INT_REG; in pcit_hwint0() local
200 irq = ffs((pending >> 16) & 0x3f); in pcit_hwint0()
209 u32 pending = read_c0_cause() & read_c0_status(); in sni_pcit_hwint() local
211 if (pending & C_IRQ1) in sni_pcit_hwint()
213 else if (pending & C_IRQ2) in sni_pcit_hwint()
215 else if (pending & C_IRQ3) in sni_pcit_hwint()
217 else if (pending & C_IRQ5) in sni_pcit_hwint()
223 u32 pending = read_c0_cause() & read_c0_status(); in sni_pcit_hwint_cplus() local
[all …]
/arch/mips/loongson64/fuloong-2e/
Dirq.c28 asmlinkage void mach_irq_dispatch(unsigned int pending) in mach_irq_dispatch() argument
30 if (pending & CAUSEF_IP7) in mach_irq_dispatch()
32 else if (pending & CAUSEF_IP6) /* perf counter loverflow */ in mach_irq_dispatch()
34 else if (pending & CAUSEF_IP5) in mach_irq_dispatch()
36 else if (pending & CAUSEF_IP2) in mach_irq_dispatch()
/arch/mips/ralink/
Dirq.c101 u32 pending = rt_intc_r32(INTC_REG_STATUS0); in ralink_intc_irq_handler() local
103 if (pending) { in ralink_intc_irq_handler()
105 generic_handle_irq(irq_find_mapping(domain, __ffs(pending))); in ralink_intc_irq_handler()
113 unsigned long pending; in plat_irq_dispatch() local
115 pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch()
117 if (pending & STATUSF_IP7) in plat_irq_dispatch()
120 else if (pending & STATUSF_IP5) in plat_irq_dispatch()
123 else if (pending & STATUSF_IP6) in plat_irq_dispatch()
126 else if (pending & STATUSF_IP4) in plat_irq_dispatch()
129 else if (pending & STATUSF_IP2) in plat_irq_dispatch()
/arch/mips/sibyte/sb1250/
Dirq.c144 u64 pending; in ack_sb1250_irq() local
152 pending = __raw_readq(IOADDR(A_IMR_REGISTER(sb1250_irq_owner[irq], in ack_sb1250_irq()
154 pending &= ((u64)1 << (irq)); in ack_sb1250_irq()
155 if (pending) { in ack_sb1250_irq()
168 __raw_writeq(pending, in ack_sb1250_irq()
309 unsigned int pending; in plat_irq_dispatch() local
321 pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch()
323 if (pending & CAUSEF_IP7) /* CPU performance counter interrupt */ in plat_irq_dispatch()
325 else if (pending & CAUSEF_IP4) in plat_irq_dispatch()
329 else if (pending & CAUSEF_IP3) in plat_irq_dispatch()
[all …]
/arch/mips/ath79/
Dirq.c32 u32 pending; in ath79_misc_irq_handler() local
34 pending = __raw_readl(base + AR71XX_RESET_REG_MISC_INT_STATUS) & in ath79_misc_irq_handler()
37 if (!pending) { in ath79_misc_irq_handler()
42 while (pending) { in ath79_misc_irq_handler()
43 int bit = __ffs(pending); in ath79_misc_irq_handler()
46 pending &= ~BIT(bit); in ath79_misc_irq_handler()
239 unsigned long pending; in plat_irq_dispatch() local
242 pending = read_c0_status() & read_c0_cause() & ST0_IM; in plat_irq_dispatch()
244 if (!pending) { in plat_irq_dispatch()
249 pending >>= CAUSEB_IP; in plat_irq_dispatch()
[all …]
/arch/mips/loongson32/common/
Dirq.c89 unsigned int pending; in plat_irq_dispatch() local
91 pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch()
93 if (pending & CAUSEF_IP7) in plat_irq_dispatch()
95 else if (pending & CAUSEF_IP2) in plat_irq_dispatch()
97 else if (pending & CAUSEF_IP3) in plat_irq_dispatch()
99 else if (pending & CAUSEF_IP4) in plat_irq_dispatch()
101 else if (pending & CAUSEF_IP5) in plat_irq_dispatch()
103 else if (pending & CAUSEF_IP6) in plat_irq_dispatch()
/arch/mips/loongson64/loongson-3/
Dirq.c27 void mach_irq_dispatch(unsigned int pending) in mach_irq_dispatch() argument
29 if (pending & CAUSEF_IP7) in mach_irq_dispatch()
32 else if (pending & CAUSEF_IP6) in mach_irq_dispatch()
35 else if (pending & CAUSEF_IP3) in mach_irq_dispatch()
37 else if (pending & CAUSEF_IP2) in mach_irq_dispatch()
/arch/mips/txx9/rbtx4938/
Dirq.c110 static int rbtx4938_irq_dispatch(int pending) in rbtx4938_irq_dispatch() argument
114 if (pending & STATUSF_IP7) in rbtx4938_irq_dispatch()
116 else if (pending & STATUSF_IP2) { in rbtx4938_irq_dispatch()
120 } else if (pending & STATUSF_IP1) in rbtx4938_irq_dispatch()
122 else if (pending & STATUSF_IP0) in rbtx4938_irq_dispatch()
/arch/mips/txx9/rbtx4927/
Dirq.c172 static int rbtx4927_irq_dispatch(int pending) in rbtx4927_irq_dispatch() argument
176 if (pending & STATUSF_IP7) /* cpu timer */ in rbtx4927_irq_dispatch()
178 else if (pending & STATUSF_IP2) { /* tx4927 pic */ in rbtx4927_irq_dispatch()
182 } else if (pending & STATUSF_IP0) /* user line 0 */ in rbtx4927_irq_dispatch()
184 else if (pending & STATUSF_IP1) /* user line 1 */ in rbtx4927_irq_dispatch()
/arch/mips/loongson64/lemote-2f/
Dirq.c76 void mach_irq_dispatch(unsigned int pending) in mach_irq_dispatch() argument
78 if (pending & CAUSEF_IP7) in mach_irq_dispatch()
80 else if (pending & CAUSEF_IP6) { /* North Bridge, Perf counter */ in mach_irq_dispatch()
83 } else if (pending & CAUSEF_IP3) /* CPU UART */ in mach_irq_dispatch()
85 else if (pending & CAUSEF_IP2) /* South Bridge */ in mach_irq_dispatch()
/arch/mips/sibyte/bcm1480/
Dirq.c156 u64 pending; in ack_bcm1480_irq() local
170 pending = __raw_readq(IOADDR(A_BCM1480_IMR_REGISTER(bcm1480_irq_owner[irq], in ack_bcm1480_irq()
172 pending &= ((u64)1 << (irq_dirty)); in ack_bcm1480_irq()
173 if (pending) { in ack_bcm1480_irq()
181 __raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(cpu_logical_map(i), in ack_bcm1480_irq()
185 …__raw_writeq(pending, IOADDR(A_BCM1480_IMR_REGISTER(0, R_BCM1480_IMR_LDT_INTERRUPT_CLR_H + (k*BCM1… in ack_bcm1480_irq()
348 unsigned int pending; in plat_irq_dispatch() local
350 pending = read_c0_cause() & read_c0_status(); in plat_irq_dispatch()
352 if (pending & CAUSEF_IP4) in plat_irq_dispatch()
355 else if (pending & CAUSEF_IP3) in plat_irq_dispatch()
[all …]
/arch/mips/loongson64/common/
Dirq.c40 unsigned int pending; in plat_irq_dispatch() local
42 pending = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch()
45 mach_irq_dispatch(pending); in plat_irq_dispatch()
/arch/mips/txx9/rbtx4939/
Dirq.c53 static int rbtx4939_irq_dispatch(int pending) in rbtx4939_irq_dispatch() argument
57 if (pending & CAUSEF_IP7) in rbtx4939_irq_dispatch()
67 } else if (pending & CAUSEF_IP0) in rbtx4939_irq_dispatch()
69 else if (pending & CAUSEF_IP1) in rbtx4939_irq_dispatch()
/arch/um/os-Linux/
Dsignal.c147 unsigned long pending = 1UL << sig; in hard_handler() local
162 bail = to_irq_stack(&pending); in hard_handler()
166 nested = pending & 1; in hard_handler()
167 pending &= ~1; in hard_handler()
169 while ((sig = ffs(pending)) != 0){ in hard_handler()
171 pending &= ~(1 << sig); in hard_handler()
182 pending = from_irq_stack(nested); in hard_handler()
183 } while (pending); in hard_handler()
/arch/blackfin/kernel/
Dirqchip.c69 unsigned short pending, other_ints; in maybe_lower_to_irq14() local
80 pending = bfin_read_IPEND() & ~0x8000; in maybe_lower_to_irq14()
81 other_ints = pending & (pending - 1); in maybe_lower_to_irq14()
/arch/mips/sgi-ip27/
Dip27-irq.c168 unsigned long pending = read_c0_cause() & read_c0_status(); in plat_irq_dispatch() local
171 if (pending & CAUSEF_IP4) in plat_irq_dispatch()
173 else if (pending & CAUSEF_IP2) /* PI_INT_PEND_0 or CC_PEND_{A|B} */ in plat_irq_dispatch()
175 else if (pending & CAUSEF_IP3) /* PI_INT_PEND_1 */ in plat_irq_dispatch()
177 else if (pending & CAUSEF_IP5) in plat_irq_dispatch()
179 else if (pending & CAUSEF_IP6) in plat_irq_dispatch()
/arch/mips/ath25/
Dar2315.c74 u32 pending = ar2315_rst_reg_read(AR2315_ISR) & in ar2315_misc_irq_handler() local
78 if (pending) { in ar2315_misc_irq_handler()
81 nr = __ffs(pending); in ar2315_misc_irq_handler()
133 u32 pending = read_c0_status() & read_c0_cause(); in ar2315_irq_dispatch() local
135 if (pending & CAUSEF_IP3) in ar2315_irq_dispatch()
138 else if (pending & CAUSEF_IP5) in ar2315_irq_dispatch()
141 else if (pending & CAUSEF_IP2) in ar2315_irq_dispatch()
143 else if (pending & CAUSEF_IP7) in ar2315_irq_dispatch()
Dar5312.c78 u32 pending = ar5312_rst_reg_read(AR5312_ISR) & in ar5312_misc_irq_handler() local
82 if (pending) { in ar5312_misc_irq_handler()
85 nr = __ffs(pending); in ar5312_misc_irq_handler()
130 u32 pending = read_c0_status() & read_c0_cause(); in ar5312_irq_dispatch() local
132 if (pending & CAUSEF_IP2) in ar5312_irq_dispatch()
134 else if (pending & CAUSEF_IP5) in ar5312_irq_dispatch()
136 else if (pending & CAUSEF_IP6) in ar5312_irq_dispatch()
138 else if (pending & CAUSEF_IP7) in ar5312_irq_dispatch()
/arch/mips/jazz/
Dirq.c95 unsigned int pending = read_c0_cause() & read_c0_status(); in plat_irq_dispatch() local
98 if (pending & IE_IRQ4) { in plat_irq_dispatch()
101 } else if (pending & IE_IRQ2) { in plat_irq_dispatch()
104 } else if (pending & IE_IRQ1) { in plat_irq_dispatch()

12345