Home
last modified time | relevance | path

Searched refs:irq_nr (Results 1 – 20 of 20) sorted by relevance

/linux/arch/mips/txx9/generic/
A Dirq_tx4939.c58 if (irq_nr < 32) { in tx4939_irq_unmask()
59 irq_nr--; in tx4939_irq_unmask()
62 irq_nr -= 32; in tx4939_irq_unmask()
65 ofs = (irq_nr & 16) + (irq_nr & 1) * 8; in tx4939_irq_unmask()
77 irq_nr--; in tx4939_irq_mask()
80 irq_nr -= 32; in tx4939_irq_mask()
83 ofs = (irq_nr & 16) + (irq_nr & 1) * 8; in tx4939_irq_mask()
96 irq_nr--; in tx4939_irq_mask_ack()
131 irq_nr--; in tx4939_irq_set_type()
134 irq_nr -= 32; in tx4939_irq_set_type()
[all …]
/linux/arch/mips/kernel/
A Dirq_txx9.c68 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_unmask() local
70 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_unmask()
73 | (txx9irq[irq_nr].level << ofs), in txx9_irq_unmask()
84 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_mask() local
86 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_mask()
104 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_mask_ack() local
108 if (unlikely(TXx9_IRCR_EDGE(txx9irq[irq_nr].mode))) in txx9_irq_mask_ack()
114 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_set_type() local
130 crp = &txx9_ircptr->cr[(unsigned int)irq_nr / 8]; in txx9_irq_set_type()
132 ofs = (irq_nr & (8 - 1)) * 2; in txx9_irq_set_type()
[all …]
/linux/arch/powerpc/sysdev/
A Dcpm2_pic.c82 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_mask_irq() local
84 bit = irq_to_siubit[irq_nr]; in cpm2_mask_irq()
85 word = irq_to_siureg[irq_nr]; in cpm2_mask_irq()
94 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_unmask_irq() local
96 bit = irq_to_siubit[irq_nr]; in cpm2_unmask_irq()
97 word = irq_to_siureg[irq_nr]; in cpm2_unmask_irq()
106 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_ack() local
108 bit = irq_to_siubit[irq_nr]; in cpm2_ack()
109 word = irq_to_siureg[irq_nr]; in cpm2_ack()
119 bit = irq_to_siubit[irq_nr]; in cpm2_end_irq()
[all …]
A Di8259.c96 static void i8259_set_irq_mask(int irq_nr) in i8259_set_irq_mask() argument
/linux/arch/mips/rb532/
A Dirq.c81 static inline int irq_to_group(unsigned int irq_nr) in irq_to_group() argument
83 return (irq_nr - GROUP0_IRQ_BASE) >> 5; in irq_to_group()
114 unsigned int group, intr_bit, irq_nr = d->irq; in rb532_enable_irq() local
115 int ip = irq_nr - GROUP0_IRQ_BASE; in rb532_enable_irq()
119 enable_local_irq(irq_nr); in rb532_enable_irq()
135 unsigned int group, intr_bit, mask, irq_nr = d->irq; in rb532_disable_irq() local
136 int ip = irq_nr - GROUP0_IRQ_BASE; in rb532_disable_irq()
140 disable_local_irq(irq_nr); in rb532_disable_irq()
152 if (group == GPIO_MAPPED_IRQ_GROUP && irq_nr <= (GROUP4_IRQ_BASE + 13)) in rb532_disable_irq()
153 rb532_gpio_set_istat(0, irq_nr - GPIO_MAPPED_IRQ_BASE); in rb532_disable_irq()
/linux/drivers/soc/ti/
A Dwkup_m3_ipc.c52 {.irq_nr = 16, .src = "PRCM"},
53 {.irq_nr = 35, .src = "USB0_PHY"},
55 {.irq_nr = 40, .src = "I2C0"},
58 {.irq_nr = 43, .src = "Timer0"},
59 {.irq_nr = 44, .src = "Timer1"},
60 {.irq_nr = 45, .src = "UART"},
61 {.irq_nr = 46, .src = "GPIO0"},
63 {.irq_nr = 49, .src = "WDT0"},
64 {.irq_nr = 50, .src = "WDT1"},
65 {.irq_nr = 51, .src = "ADC_TSC"},
[all …]
A Dpm33xx.c68 static struct wkup_m3_wakeup_src wakeup_src = {.irq_nr = 0,
73 .irq_nr = 108, .src = "RTC Alarm",
77 .irq_nr = 0, .src = "Ext wakeup",
166 retrigger_irq = rtc_alarm_wakeup.irq_nr; in rtc_wake_src()
170 retrigger_irq = rtc_ext_wakeup.irq_nr; in rtc_wake_src()
/linux/arch/arm/mach-pxa/
A Dirq.c143 pxa_init_irq_common(struct device_node *node, int irq_nr, in pxa_init_irq_common() argument
148 pxa_internal_irq_nr = irq_nr; in pxa_init_irq_common()
149 pxa_irq_domain = irq_domain_add_legacy(node, irq_nr, in pxa_init_irq_common()
156 for (n = 0; n < irq_nr; n += 32) { in pxa_init_irq_common()
168 void __init pxa_init_irq(int irq_nr, int (*fn)(struct irq_data *, unsigned int)) in pxa_init_irq() argument
170 BUG_ON(irq_nr > MAX_INTERNAL_IRQS); in pxa_init_irq()
174 pxa_init_irq_common(NULL, irq_nr, fn); in pxa_init_irq()
/linux/arch/mips/txx9/jmr3927/
A Dirq.c53 unsigned int irq_nr = d->irq - JMR3927_IRQ_IOC; in mask_irq_ioc() local
55 unsigned int bit = 1 << irq_nr; in mask_irq_ioc()
63 unsigned int irq_nr = d->irq - JMR3927_IRQ_IOC; in unmask_irq_ioc() local
65 unsigned int bit = 1 << irq_nr; in unmask_irq_ioc()
/linux/arch/powerpc/platforms/powermac/
A Dpic.c61 static void __pmac_retrigger(unsigned int irq_nr) in __pmac_retrigger() argument
63 if (irq_nr >= max_real_irqs && pmac_irq_cascade > 0) { in __pmac_retrigger()
64 __set_bit(irq_nr, ppc_lost_interrupts); in __pmac_retrigger()
65 irq_nr = pmac_irq_cascade; in __pmac_retrigger()
68 if (!__test_and_set_bit(irq_nr, ppc_lost_interrupts)) { in __pmac_retrigger()
111 static void __pmac_set_irq_mask(unsigned int irq_nr, int nokicklost) in __pmac_set_irq_mask() argument
113 unsigned long bit = 1UL << (irq_nr & 0x1f); in __pmac_set_irq_mask()
114 int i = irq_nr >> 5; in __pmac_set_irq_mask()
116 if ((unsigned)irq_nr >= max_irqs) in __pmac_set_irq_mask()
135 __pmac_retrigger(irq_nr); in __pmac_set_irq_mask()
/linux/arch/mips/alchemy/common/
A Dirq.c878 unsigned int bit, irq_nr; in au1000_init_irq() local
889 for (irq_nr = AU1000_INTC0_INT_BASE; in au1000_init_irq()
890 (irq_nr < AU1000_INTC0_INT_BASE + 32); irq_nr++) in au1000_init_irq()
891 au1x_ic_settype(irq_get_irq_data(irq_nr), IRQ_TYPE_NONE); in au1000_init_irq()
893 for (irq_nr = AU1000_INTC1_INT_BASE; in au1000_init_irq()
894 (irq_nr < AU1000_INTC1_INT_BASE + 32); irq_nr++) in au1000_init_irq()
901 irq_nr = map->irq; in au1000_init_irq()
903 if (irq_nr >= AU1000_INTC1_INT_BASE) { in au1000_init_irq()
904 bit = irq_nr - AU1000_INTC1_INT_BASE; in au1000_init_irq()
907 bit = irq_nr - AU1000_INTC0_INT_BASE; in au1000_init_irq()
[all …]
/linux/arch/mips/dec/
A Dint-handler.S225 bgez a0,handle_it # irq_nr >= 0?
226 # irq_nr < 0: it is an address
/linux/include/linux/
A Dwkup_m3_ipc.h47 int irq_nr; member
/linux/drivers/irqchip/
A Dqcom-irq-combiner.c39 static inline int irq_nr(u32 reg, u32 bit) in irq_nr() function
71 hwirq = irq_nr(reg, bit); in combiner_handle_irq()
A Dirq-stm32-exti.c51 u32 irq_nr; member
221 .irq_nr = ARRAY_SIZE(stm32mp1_desc_irq),
234 for (i = 0; i < drv_data->irq_nr; i++) { in stm32_exti_get_desc()
/linux/drivers/mfd/
A Dasic3.c77 unsigned int irq_nr; member
394 asic->irq_nr = ret; in asic3_irq_probe()
417 irq_set_chained_handler_and_data(asic->irq_nr, asic3_irq_demux, asic); in asic3_irq_probe()
418 irq_set_irq_type(asic->irq_nr, IRQ_TYPE_EDGE_RISING); in asic3_irq_probe()
435 irq_set_chained_handler(asic->irq_nr, NULL); in asic3_irq_remove()
/linux/arch/arm/mach-pxa/include/mach/
A Dirqs.h106 void pxa_init_irq(int irq_nr, int (*set_wake)(struct irq_data *, unsigned int));
/linux/arch/sparc/kernel/
A Dleon_kernel.c492 void leon_enable_irq_cpu(unsigned int irq_nr, unsigned int cpu) in leon_enable_irq_cpu() argument
495 mask = leon_get_irqmask(irq_nr); in leon_enable_irq_cpu()
A Dpcic.c766 static inline unsigned long get_irqmask(int irq_nr) in get_irqmask() argument
768 return 1 << irq_nr; in get_irqmask()
/linux/arch/sparc/include/asm/
A Dleon.h241 void leon_enable_irq_cpu(unsigned int irq_nr, unsigned int cpu);

Completed in 45 milliseconds