Home
last modified time | relevance | path

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

/linux-6.3-rc2/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()
79 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_mask() local
81 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_mask()
91 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_mask_ack() local
95 if (unlikely(TXx9_IRCR_EDGE(txx9irq[irq_nr].mode))) in txx9_irq_mask_ack()
101 unsigned int irq_nr = d->irq - TXX9_IRQ_BASE; in txx9_irq_set_type() local
117 crp = &txx9_ircptr->cr[(unsigned int)irq_nr / 8]; in txx9_irq_set_type()
119 ofs = (irq_nr & (8 - 1)) * 2; in txx9_irq_set_type()
[all …]
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/soc/ti/
A Dwkup_m3_ipc.c72 {.irq_nr = 16, .src = "PRCM"},
73 {.irq_nr = 35, .src = "USB0_PHY"},
75 {.irq_nr = 40, .src = "I2C0"},
78 {.irq_nr = 43, .src = "Timer0"},
79 {.irq_nr = 44, .src = "Timer1"},
80 {.irq_nr = 45, .src = "UART"},
81 {.irq_nr = 46, .src = "GPIO0"},
83 {.irq_nr = 49, .src = "WDT0"},
84 {.irq_nr = 50, .src = "WDT1"},
85 {.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-6.3-rc2/arch/arm/mach-pxa/
A Dirq.c144 pxa_init_irq_common(struct device_node *node, int irq_nr, in pxa_init_irq_common() argument
149 pxa_internal_irq_nr = irq_nr; in pxa_init_irq_common()
150 pxa_irq_domain = irq_domain_add_legacy(node, irq_nr, in pxa_init_irq_common()
157 for (n = 0; n < irq_nr; n += 32) { in pxa_init_irq_common()
169 void __init pxa_init_irq(int irq_nr, int (*fn)(struct irq_data *, unsigned int)) in pxa_init_irq() argument
171 BUG_ON(irq_nr > MAX_INTERNAL_IRQS); in pxa_init_irq()
175 pxa_init_irq_common(NULL, irq_nr, fn); in pxa_init_irq()
A Dirqs.h106 void pxa_init_irq(int irq_nr, int (*set_wake)(struct irq_data *, unsigned int));
/linux-6.3-rc2/arch/powerpc/platforms/powermac/
A Dpic.c64 static void __pmac_retrigger(unsigned int irq_nr) in __pmac_retrigger() argument
66 if (irq_nr >= max_real_irqs && pmac_irq_cascade > 0) { in __pmac_retrigger()
67 __set_bit(irq_nr, ppc_lost_interrupts); in __pmac_retrigger()
68 irq_nr = pmac_irq_cascade; in __pmac_retrigger()
71 if (!__test_and_set_bit(irq_nr, ppc_lost_interrupts)) { in __pmac_retrigger()
114 static void __pmac_set_irq_mask(unsigned int irq_nr, int nokicklost) in __pmac_set_irq_mask() argument
116 unsigned long bit = 1UL << (irq_nr & 0x1f); in __pmac_set_irq_mask()
117 int i = irq_nr >> 5; in __pmac_set_irq_mask()
119 if ((unsigned)irq_nr >= max_irqs) in __pmac_set_irq_mask()
138 __pmac_retrigger(irq_nr); in __pmac_set_irq_mask()
/linux-6.3-rc2/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-6.3-rc2/arch/mips/dec/
A Dint-handler.S225 bgez a0,handle_it # irq_nr >= 0?
226 # irq_nr < 0: it is an address
/linux-6.3-rc2/include/linux/
A Dwkup_m3_ipc.h46 int irq_nr; member
/linux-6.3-rc2/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()
/linux-6.3-rc2/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-6.3-rc2/arch/sparc/include/asm/
A Dleon.h241 void leon_enable_irq_cpu(unsigned int irq_nr, unsigned int cpu);

Completed in 37 milliseconds