Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/mips/txx9/generic/
Dirq_tx4939.c55 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in tx4939_irq_unmask() local
58 if (irq_nr < 32) { in tx4939_irq_unmask()
59 irq_nr--; in tx4939_irq_unmask()
60 lvlp = &tx4939_ircptr->lvl[(irq_nr % 16) / 2].r; in tx4939_irq_unmask()
62 irq_nr -= 32; in tx4939_irq_unmask()
63 lvlp = &tx4939_ircptr->lvl[8 + (irq_nr % 16) / 2].r; in tx4939_irq_unmask()
65 ofs = (irq_nr & 16) + (irq_nr & 1) * 8; in tx4939_irq_unmask()
67 | (tx4939irq[irq_nr].level << ofs), in tx4939_irq_unmask()
73 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in tx4939_irq_mask() local
76 if (irq_nr < 32) { in tx4939_irq_mask()
[all …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dirq_txx9.c68 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_unmask() local
69 u32 __iomem *ilrp = &txx9_ircptr->ilr[(irq_nr % 16 ) / 2]; in txx9_irq_unmask()
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
85 u32 __iomem *ilrp = &txx9_ircptr->ilr[(irq_nr % 16) / 2]; in txx9_irq_mask()
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()
109 __raw_writel(TXx9_IRSCR_EIClrE | irq_nr, &txx9_ircptr->scr); in txx9_irq_mask_ack()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
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()
117 unsigned int irq_nr = irqd_to_hwirq(d); in cpm2_end_irq() local
[all …]
Di8259.c96 static void i8259_set_irq_mask(int irq_nr) in i8259_set_irq_mask() argument
/kernel/linux/linux-5.10/arch/mips/rb532/
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()
/kernel/linux/linux-5.10/drivers/soc/ti/
Dwkup_m3_ipc.c52 {.irq_nr = 16, .src = "PRCM"},
53 {.irq_nr = 35, .src = "USB0_PHY"},
54 {.irq_nr = 36, .src = "USB1_PHY"},
55 {.irq_nr = 40, .src = "I2C0"},
56 {.irq_nr = 41, .src = "RTC Timer"},
57 {.irq_nr = 42, .src = "RTC Alarm"},
58 {.irq_nr = 43, .src = "Timer0"},
59 {.irq_nr = 44, .src = "Timer1"},
60 {.irq_nr = 45, .src = "UART"},
61 {.irq_nr = 46, .src = "GPIO0"},
[all …]
Dpm33xx.c67 static struct wkup_m3_wakeup_src wakeup_src = {.irq_nr = 0,
72 .irq_nr = 108, .src = "RTC Alarm",
76 .irq_nr = 0, .src = "Ext wakeup",
167 retrigger_irq = rtc_alarm_wakeup.irq_nr; in rtc_wake_src()
171 retrigger_irq = rtc_ext_wakeup.irq_nr; in rtc_wake_src()
/kernel/linux/linux-5.10/arch/mips/txx9/jmr3927/
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()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/
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()
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/
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()
/kernel/linux/linux-5.10/arch/mips/alchemy/common/
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()
895 au1x_ic_settype(irq_get_irq_data(irq_nr), IRQ_TYPE_NONE); 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()
[all …]
/kernel/linux/linux-5.10/arch/mips/dec/
Dint-handler.S225 bgez a0,handle_it # irq_nr >= 0?
226 # irq_nr < 0: it is an address
/kernel/linux/linux-5.10/include/linux/
Dwkup_m3_ipc.h47 int irq_nr; member
/kernel/linux/linux-5.10/drivers/irqchip/
Dqcom-irq-combiner.c39 static inline int irq_nr(u32 reg, u32 bit) in irq_nr() function
72 hwirq = irq_nr(reg, bit); in combiner_handle_irq()
Dirq-stm32-exti.c51 u32 irq_nr; member
214 .irq_nr = ARRAY_SIZE(stm32mp1_desc_irq),
227 for (i = 0; i < drv_data->irq_nr; i++) { in stm32_exti_get_desc()
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/
Dirqs.h106 void pxa_init_irq(int irq_nr, int (*set_wake)(struct irq_data *, unsigned int));
/kernel/linux/linux-5.10/drivers/mfd/
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()
/kernel/linux/linux-5.10/arch/sparc/kernel/
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()
Dpcic.c766 static inline unsigned long get_irqmask(int irq_nr) in get_irqmask() argument
768 return 1 << irq_nr; in get_irqmask()
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dleon.h241 void leon_enable_irq_cpu(unsigned int irq_nr, unsigned int cpu);