Home
last modified time | relevance | path

Searched refs:intc (Results 1 – 25 of 457) sorted by relevance

12345678910>>...19

/linux-5.19.10/drivers/irqchip/
Dirq-pruss-intc.c122 struct pruss_intc *intc; member
126 static inline u32 pruss_intc_read_reg(struct pruss_intc *intc, unsigned int reg) in pruss_intc_read_reg() argument
128 return readl_relaxed(intc->base + reg); in pruss_intc_read_reg()
131 static inline void pruss_intc_write_reg(struct pruss_intc *intc, in pruss_intc_write_reg() argument
134 writel_relaxed(val, intc->base + reg); in pruss_intc_write_reg()
137 static void pruss_intc_update_cmr(struct pruss_intc *intc, unsigned int evt, in pruss_intc_update_cmr() argument
145 val = pruss_intc_read_reg(intc, PRU_INTC_CMR(idx)); in pruss_intc_update_cmr()
148 pruss_intc_write_reg(intc, PRU_INTC_CMR(idx), val); in pruss_intc_update_cmr()
150 dev_dbg(intc->dev, "SYSEV%u -> CH%d (CMR%d 0x%08x)\n", evt, ch, in pruss_intc_update_cmr()
151 idx, pruss_intc_read_reg(intc, PRU_INTC_CMR(idx))); in pruss_intc_update_cmr()
[all …]
Dirq-bcm7038-l1.c80 static inline unsigned int reg_status(struct bcm7038_l1_chip *intc, in reg_status() argument
83 return (0 * intc->n_words + word) * sizeof(u32); in reg_status()
86 static inline unsigned int reg_mask_status(struct bcm7038_l1_chip *intc, in reg_mask_status() argument
89 return (1 * intc->n_words + word) * sizeof(u32); in reg_mask_status()
92 static inline unsigned int reg_mask_set(struct bcm7038_l1_chip *intc, in reg_mask_set() argument
95 return (2 * intc->n_words + word) * sizeof(u32); in reg_mask_set()
98 static inline unsigned int reg_mask_clr(struct bcm7038_l1_chip *intc, in reg_mask_clr() argument
101 return (3 * intc->n_words + word) * sizeof(u32); in reg_mask_clr()
122 struct bcm7038_l1_chip *intc = irq_desc_get_handler_data(desc); in bcm7038_l1_irq_handle() local
128 cpu = intc->cpus[cpu_logical_map(smp_processor_id())]; in bcm7038_l1_irq_handle()
[all …]
Dirq-bcm6345-l1.c90 static inline unsigned int reg_enable(struct bcm6345_l1_chip *intc, in reg_enable() argument
94 return (1 * intc->n_words - word - 1) * sizeof(u32); in reg_enable()
96 return (0 * intc->n_words + word) * sizeof(u32); in reg_enable()
100 static inline unsigned int reg_status(struct bcm6345_l1_chip *intc, in reg_status() argument
104 return (2 * intc->n_words - word - 1) * sizeof(u32); in reg_status()
106 return (1 * intc->n_words + word) * sizeof(u32); in reg_status()
110 static inline unsigned int cpu_for_irq(struct bcm6345_l1_chip *intc, in cpu_for_irq() argument
113 return cpumask_first_and(&intc->cpumask, irq_data_get_affinity_mask(d)); in cpu_for_irq()
118 struct bcm6345_l1_chip *intc = irq_desc_get_handler_data(desc); in bcm6345_l1_irq_handle() local
124 cpu = intc->cpus[cpu_logical_map(smp_processor_id())]; in bcm6345_l1_irq_handle()
[all …]
Dirq-ingenic.c36 struct ingenic_intc_data *intc = irq_get_handler_data(irq); in intc_cascade() local
37 struct irq_domain *domain = intc->domain; in intc_cascade()
42 for (i = 0; i < intc->num_chips; i++) { in intc_cascade()
63 struct ingenic_intc_data *intc; in ingenic_intc_of_init() local
70 intc = kzalloc(sizeof(*intc), GFP_KERNEL); in ingenic_intc_of_init()
71 if (!intc) { in ingenic_intc_of_init()
82 err = irq_set_handler_data(parent_irq, intc); in ingenic_intc_of_init()
86 intc->num_chips = num_chips; in ingenic_intc_of_init()
87 intc->base = of_iomap(node, 0); in ingenic_intc_of_init()
88 if (!intc->base) { in ingenic_intc_of_init()
[all …]
Dirq-bcm2836.c23 static struct bcm2836_arm_irqchip_intc intc __read_mostly;
29 void __iomem *reg = intc.base + reg_offset + 4 * cpu; in bcm2836_arm_irqchip_mask_per_cpu_irq()
38 void __iomem *reg = intc.base + reg_offset + 4 * cpu; in bcm2836_arm_irqchip_unmask_per_cpu_irq()
65 writel(1 << smp_processor_id(), intc.base + LOCAL_PM_ROUTING_CLR); in bcm2836_arm_irqchip_mask_pmu_irq()
70 writel(1 << smp_processor_id(), intc.base + LOCAL_PM_ROUTING_SET); in bcm2836_arm_irqchip_unmask_pmu_irq()
142 stat = readl_relaxed(intc.base + LOCAL_IRQ_PENDING0 + 4 * cpu); in bcm2836_arm_irqchip_handle_irq()
146 generic_handle_domain_irq(intc.domain, hwirq); in bcm2836_arm_irqchip_handle_irq()
161 mbox_val = readl_relaxed(intc.base + LOCAL_MAILBOX0_CLR0 + 16 * cpu); in bcm2836_arm_irqchip_handle_ipi()
175 intc.base + LOCAL_MAILBOX0_CLR0 + 16 * cpu); in bcm2836_arm_irqchip_ipi_ack()
182 void __iomem *mailbox0_base = intc.base + LOCAL_MAILBOX0_SET0; in bcm2836_arm_irqchip_ipi_send_mask()
[all …]
Dirq-bcm2835.c87 static struct armctrl_ic intc __read_mostly;
94 writel_relaxed(HWIRQ_BIT(d->hwirq), intc.disable[HWIRQ_BANK(d->hwirq)]); in armctrl_mask_irq()
99 writel_relaxed(HWIRQ_BIT(d->hwirq), intc.enable[HWIRQ_BANK(d->hwirq)]); in armctrl_unmask_irq()
145 intc.domain = irq_domain_add_linear(node, MAKE_HWIRQ(NR_BANKS, 0), in armctrl_of_init()
147 if (!intc.domain) in armctrl_of_init()
151 intc.pending[b] = base + reg_pending[b]; in armctrl_of_init()
152 intc.enable[b] = base + reg_enable[b]; in armctrl_of_init()
153 intc.disable[b] = base + reg_disable[b]; in armctrl_of_init()
156 irq = irq_create_mapping(intc.domain, MAKE_HWIRQ(b, i)); in armctrl_of_init()
163 reg = readl_relaxed(intc.enable[b]); in armctrl_of_init()
[all …]
/linux-5.19.10/Documentation/devicetree/bindings/interrupt-controller/
Dingenic,intc.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/ingenic,intc.yaml#
19 - ingenic,jz4740-intc
20 - ingenic,jz4760-intc
21 - ingenic,jz4780-intc
24 - ingenic,jz4775-intc
25 - ingenic,jz4770-intc
26 - ingenic,jz4760b-intc
27 - const: ingenic,jz4760-intc
29 - const: ingenic,x1000-intc
30 - const: ingenic,jz4780-intc
[all …]
Dmrvl,intc.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/mrvl,intc.yaml#
19 const: marvell,orion-intc
22 - mrvl,intc-nr-irqs
28 - mrvl,mmp-intc
29 - mrvl,mmp2-intc
39 - marvell,mmp3-intc
40 - mrvl,mmp2-mux-intc
49 const: mrvl,mmp2-mux-intc
70 - mrvl,mmp-intc
71 - mrvl,mmp2-intc
[all …]
Dcsky,apb-intc.txt8 - csky,apb-intc is used in a lot of csky fpgas and socs, it support 64 irq nums.
9 - csky,dual-apb-intc consists of 2 apb-intc and 128 irq nums supported.
10 - csky,gx6605s-intc is gx6605s soc internal irq interrupt controller, 64 irq nums.
13 intc node bindings definition
23 Definition: must be "csky,apb-intc"
24 "csky,dual-apb-intc"
25 "csky,gx6605s-intc"
43 intc: interrupt-controller@500000 {
44 compatible = "csky,apb-intc";
50 intc: interrupt-controller@500000 {
[all …]
Dti,omap-intc-irq.txt1 Omap2/3 intc controller
3 On TI omap2 and 3 the intc interrupt controller can provide
8 "ti,omap2-intc"
9 "ti,omap3-intc"
10 "ti,dm814-intc"
11 "ti,dm816-intc"
12 "ti,am33xx-intc"
16 source, should be 1 for intc
23 intc: interrupt-controller@48200000 {
24 compatible = "ti,omap3-intc";
Drenesas,irqc.yaml27 - renesas,intc-ex-r8a774a1 # RZ/G2M
28 - renesas,intc-ex-r8a774b1 # RZ/G2N
29 - renesas,intc-ex-r8a774c0 # RZ/G2E
30 - renesas,intc-ex-r8a774e1 # RZ/G2H
31 - renesas,intc-ex-r8a7795 # R-Car H3
32 - renesas,intc-ex-r8a7796 # R-Car M3-W
33 - renesas,intc-ex-r8a77961 # R-Car M3-W+
34 - renesas,intc-ex-r8a77965 # R-Car M3-N
35 - renesas,intc-ex-r8a77970 # R-Car V3M
36 - renesas,intc-ex-r8a77980 # R-Car V3H
[all …]
Dbrcm,l2-intc.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/brcm,l2-intc.yaml#
20 - brcm,hif-spi-l2-intc
21 - brcm,upg-aux-aon-l2-intc
22 - const: brcm,l2-intc
25 - brcm,bcm2711-l2-intc
26 - const: brcm,l2-intc
28 - const: brcm,bcm7271-l2-intc
30 - const: brcm,l2-intc
66 compatible = "brcm,l2-intc";
70 interrupt-parent = <&intc>;
Damlogic,meson-gpio-intc.txt12 - compatible : must have "amlogic,meson8-gpio-intc" and either
13 "amlogic,meson8-gpio-intc" for meson8 SoCs (S802) or
14 "amlogic,meson8b-gpio-intc" for meson8b SoCs (S805) or
15 "amlogic,meson-gxbb-gpio-intc" for GXBB SoCs (S905) or
16 "amlogic,meson-gxl-gpio-intc" for GXL SoCs (S905X, S912)
17 "amlogic,meson-axg-gpio-intc" for AXG SoCs (A113D, A113X)
18 "amlogic,meson-g12a-gpio-intc" for G12A SoCs (S905D2, S905X2, S905Y2)
19 "amlogic,meson-sm1-gpio-intc" for SM1 SoCs (S905D3, S905X3, S905Y3)
20 "amlogic,meson-a1-gpio-intc" for A1 SoCs (A113L)
21 "amlogic,meson-s4-gpio-intc" for S4 SoCs (S802X2, S905Y4, S805X2G, S905W2)
[all …]
Dallwinner,sun6i-a31-r-intc.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/allwinner,sun6i-a31-r-intc.yaml#
26 - const: allwinner,sun6i-a31-r-intc
29 - allwinner,sun8i-a83t-r-intc
30 - allwinner,sun8i-h3-r-intc
31 - allwinner,sun50i-a64-r-intc
32 - const: allwinner,sun6i-a31-r-intc
33 - const: allwinner,sun50i-h6-r-intc
59 compatible = "allwinner,sun50i-a64-r-intc",
60 "allwinner,sun6i-a31-r-intc";
/linux-5.19.10/arch/m68k/coldfire/
DMakefile19 obj-$(CONFIG_M5206) += m5206.o intc.o reset.o
20 obj-$(CONFIG_M5206e) += m5206.o intc.o reset.o
21 obj-$(CONFIG_M520x) += m520x.o intc-simr.o reset.o
22 obj-$(CONFIG_M523x) += m523x.o dma_timer.o intc-2.o reset.o
23 obj-$(CONFIG_M5249) += m5249.o intc.o intc-5249.o reset.o
24 obj-$(CONFIG_M525x) += m525x.o intc.o intc-525x.o reset.o
25 obj-$(CONFIG_M527x) += m527x.o intc-2.o reset.o
26 obj-$(CONFIG_M5272) += m5272.o intc-5272.o
27 obj-$(CONFIG_M528x) += m528x.o intc-2.o reset.o
28 obj-$(CONFIG_M5307) += m5307.o intc.o reset.o
[all …]
/linux-5.19.10/arch/arm/boot/dts/
Darm-realview-pba8.dts45 interrupt-parent = <&intc>;
51 intc: interrupt-controller@1e000000 { label
62 interrupt-parent = <&intc>;
67 interrupt-parent = <&intc>;
80 interrupt-parent = <&intc>;
85 interrupt-parent = <&intc>;
90 interrupt-parent = <&intc>;
95 interrupt-parent = <&intc>;
100 interrupt-parent = <&intc>;
105 interrupt-parent = <&intc>;
[all …]
Darm-realview-pbx-a9.dts89 interrupt-parent = <&intc>;
96 interrupt-parent = <&intc>;
102 interrupt-parent = <&intc>;
109 intc: interrupt-controller@1f000000 { label
120 interrupt-parent = <&intc>;
125 interrupt-parent = <&intc>;
130 interrupt-parent = <&intc>;
135 interrupt-parent = <&intc>;
140 interrupt-parent = <&intc>;
145 interrupt-parent = <&intc>;
[all …]
Darm-realview-eb.dts51 intc: interrupt-controller@10040000 { label
68 interrupt-parent = <&intc>;
73 interrupt-parent = <&intc>;
78 interrupt-parent = <&intc>;
83 interrupt-parent = <&intc>;
89 interrupt-parent = <&intc>;
94 interrupt-parent = <&intc>;
99 interrupt-parent = <&intc>;
104 interrupt-parent = <&intc>;
109 interrupt-parent = <&intc>;
[all …]
Darm-realview-eb-mp.dtsi41 intc: interrupt-controller@1f000100 { label
58 interrupt-parent = <&intc>;
65 interrupt-parent = <&intc>;
94 interrupt-parent = <&intc>;
101 interrupt-parent = <&intc>;
108 interrupt-parent = <&intc>;
123 interrupt-parent = <&intc>;
128 interrupt-parent = <&intc>;
133 interrupt-parent = <&intc>;
138 interrupt-parent = <&intc>;
[all …]
/linux-5.19.10/arch/arm/mach-s3c/
Dirq-s3c24xx.c49 struct s3c_irq_intc *intc; member
83 struct s3c_irq_intc *intc = irq_data->intc; in s3c_irq_mask() local
84 struct s3c_irq_intc *parent_intc = intc->parent; in s3c_irq_mask()
89 mask = readl_relaxed(intc->reg_mask); in s3c_irq_mask()
91 writel_relaxed(mask, intc->reg_mask); in s3c_irq_mask()
111 struct s3c_irq_intc *intc = irq_data->intc; in s3c_irq_unmask() local
112 struct s3c_irq_intc *parent_intc = intc->parent; in s3c_irq_unmask()
116 mask = readl_relaxed(intc->reg_mask); in s3c_irq_unmask()
118 writel_relaxed(mask, intc->reg_mask); in s3c_irq_unmask()
130 struct s3c_irq_intc *intc = irq_data->intc; in s3c_irq_ack() local
[all …]
/linux-5.19.10/arch/mips/boot/dts/ingenic/
Djz4770.dtsi31 intc: interrupt-controller@10001000 { label
32 compatible = "ingenic,jz4770-intc";
92 interrupt-parent = <&intc>;
133 interrupt-parent = <&intc>;
155 interrupt-parent = <&intc>;
170 interrupt-parent = <&intc>;
185 interrupt-parent = <&intc>;
200 interrupt-parent = <&intc>;
215 interrupt-parent = <&intc>;
230 interrupt-parent = <&intc>;
[all …]
Djz4780.dtsi41 intc: interrupt-controller@10001000 { label
42 compatible = "ingenic,jz4780-intc";
113 interrupt-parent = <&intc>;
153 interrupt-parent = <&intc>;
178 interrupt-parent = <&intc>;
193 interrupt-parent = <&intc>;
208 interrupt-parent = <&intc>;
223 interrupt-parent = <&intc>;
238 interrupt-parent = <&intc>;
253 interrupt-parent = <&intc>;
[all …]
Dx1000.dtsi32 intc: interrupt-controller@10001000 { label
33 compatible = "ingenic,x1000-intc", "ingenic,jz4780-intc";
121 interrupt-parent = <&intc>;
149 interrupt-parent = <&intc>;
173 interrupt-parent = <&intc>;
188 interrupt-parent = <&intc>;
203 interrupt-parent = <&intc>;
218 interrupt-parent = <&intc>;
227 interrupt-parent = <&intc>;
240 interrupt-parent = <&intc>;
[all …]
Dx1830.dtsi32 intc: interrupt-controller@10001000 { label
33 compatible = "ingenic,x1830-intc", "ingenic,jz4780-intc";
114 interrupt-parent = <&intc>;
144 interrupt-parent = <&intc>;
168 interrupt-parent = <&intc>;
183 interrupt-parent = <&intc>;
198 interrupt-parent = <&intc>;
213 interrupt-parent = <&intc>;
222 interrupt-parent = <&intc>;
235 interrupt-parent = <&intc>;
[all …]
Djz4740.dtsi31 intc: interrupt-controller@10001000 { label
32 compatible = "ingenic,jz4740-intc";
81 interrupt-parent = <&intc>;
111 interrupt-parent = <&intc>;
136 interrupt-parent = <&intc>;
151 interrupt-parent = <&intc>;
166 interrupt-parent = <&intc>;
181 interrupt-parent = <&intc>;
192 interrupt-parent = <&intc>;
222 interrupt-parent = <&intc>;
[all …]

12345678910>>...19