Home
last modified time | relevance | path

Searched full:pic (Results 1 – 25 of 787) sorted by relevance

12345678910>>...32

/kernel/linux/linux-6.6/drivers/irqchip/
Dirq-mvebu-pic.c36 static void mvebu_pic_reset(struct mvebu_pic *pic) in mvebu_pic_reset() argument
39 writel(0, pic->base + PIC_MASK); in mvebu_pic_reset()
40 writel(PIC_MAX_IRQ_MASK, pic->base + PIC_CAUSE); in mvebu_pic_reset()
45 struct mvebu_pic *pic = irq_data_get_irq_chip_data(d); in mvebu_pic_eoi_irq() local
47 writel(1 << d->hwirq, pic->base + PIC_CAUSE); in mvebu_pic_eoi_irq()
52 struct mvebu_pic *pic = irq_data_get_irq_chip_data(d); in mvebu_pic_mask_irq() local
55 reg = readl(pic->base + PIC_MASK); in mvebu_pic_mask_irq()
57 writel(reg, pic->base + PIC_MASK); in mvebu_pic_mask_irq()
62 struct mvebu_pic *pic = irq_data_get_irq_chip_data(d); in mvebu_pic_unmask_irq() local
65 reg = readl(pic->base + PIC_MASK); in mvebu_pic_unmask_irq()
[all …]
Dirq-or1k-pic.c13 /* OR1K PIC implementation */
48 * There are two oddities with the OR1200 PIC implementation:
66 .name = "or1k-PIC-level",
76 .name = "or1k-PIC-edge",
88 .name = "or1200-PIC",
123 struct or1k_pic_dev *pic = d->host_data; in or1k_map() local
125 irq_set_chip_and_handler(irq, &pic->chip, pic->handle); in or1k_map()
126 irq_set_status_flags(irq, pic->flags); in or1k_map()
137 * This sets up the IRQ domain for the PIC built in to the OpenRISC
142 struct or1k_pic_dev *pic) in or1k_pic_init() argument
[all …]
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-mvebu-pic.c35 static void mvebu_pic_reset(struct mvebu_pic *pic) in mvebu_pic_reset() argument
38 writel(0, pic->base + PIC_MASK); in mvebu_pic_reset()
39 writel(PIC_MAX_IRQ_MASK, pic->base + PIC_CAUSE); in mvebu_pic_reset()
44 struct mvebu_pic *pic = irq_data_get_irq_chip_data(d); in mvebu_pic_eoi_irq() local
46 writel(1 << d->hwirq, pic->base + PIC_CAUSE); in mvebu_pic_eoi_irq()
51 struct mvebu_pic *pic = irq_data_get_irq_chip_data(d); in mvebu_pic_mask_irq() local
54 reg = readl(pic->base + PIC_MASK); in mvebu_pic_mask_irq()
56 writel(reg, pic->base + PIC_MASK); in mvebu_pic_mask_irq()
61 struct mvebu_pic *pic = irq_data_get_irq_chip_data(d); in mvebu_pic_unmask_irq() local
64 reg = readl(pic->base + PIC_MASK); in mvebu_pic_unmask_irq()
[all …]
Dirq-or1k-pic.c13 /* OR1K PIC implementation */
48 * There are two oddities with the OR1200 PIC implementation:
66 .name = "or1k-PIC-level",
76 .name = "or1k-PIC-edge",
88 .name = "or1200-PIC",
123 struct or1k_pic_dev *pic = d->host_data; in or1k_map() local
125 irq_set_chip_and_handler(irq, &pic->chip, pic->handle); in or1k_map()
126 irq_set_status_flags(irq, pic->flags); in or1k_map()
137 * This sets up the IRQ domain for the PIC built in to the OpenRISC
142 struct or1k_pic_dev *pic) in or1k_pic_init() argument
[all …]
/kernel/linux/linux-5.10/arch/c6x/platforms/
Dmegamod-pic.c16 #include <asm/megamod-pic.h>
59 struct megamod_pic *pic; member
67 struct megamod_pic *pic = irq_data_get_irq_chip_data(data); in mask_megamod() local
69 u32 __iomem *evtmask = &pic->regs->evtmask[src / 32]; in mask_megamod()
71 raw_spin_lock(&pic->lock); in mask_megamod()
73 raw_spin_unlock(&pic->lock); in mask_megamod()
78 struct megamod_pic *pic = irq_data_get_irq_chip_data(data); in unmask_megamod() local
80 u32 __iomem *evtmask = &pic->regs->evtmask[src / 32]; in unmask_megamod()
82 raw_spin_lock(&pic->lock); in unmask_megamod()
84 raw_spin_unlock(&pic->lock); in unmask_megamod()
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/loongson/
Dls7a-pch.dtsi13 pic: interrupt-controller@10000000 { label
14 compatible = "loongson,pch-pic-1.0";
18 loongson,pic-base-vec = <0>;
26 interrupt-parent = <&pic>;
36 interrupt-parent = <&pic>;
46 interrupt-parent = <&pic>;
56 interrupt-parent = <&pic>;
83 interrupt-parent = <&pic>;
94 interrupt-parent = <&pic>;
105 interrupt-parent = <&pic>;
[all …]
/kernel/linux/linux-6.6/arch/mips/boot/dts/loongson/
Dls7a-pch.dtsi13 pic: interrupt-controller@10000000 { label
14 compatible = "loongson,pch-pic-1.0";
18 loongson,pic-base-vec = <0>;
25 interrupt-parent = <&pic>;
33 interrupt-parent = <&pic>;
43 interrupt-parent = <&pic>;
53 interrupt-parent = <&pic>;
63 interrupt-parent = <&pic>;
89 interrupt-parent = <&pic>;
100 interrupt-parent = <&pic>;
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Dopen-pic.txt1 * Open PIC Binding
4 representation of an Open PIC compliant interrupt controller. This binding is
5 based on the binding defined for Open PIC in [1] and is a superset of that
13 - compatible: Specifies the compatibility list for the PIC. The type
14 shall be <string> and the value shall include "open-pic".
17 PIC's addressable register space. The type shall be <prop-encoded-array>.
20 as an Open PIC. No property value shall be defined.
31 - pic-no-reset: The presence of this property indicates that the PIC
55 * An Open PIC interrupt controller
57 mpic: pic@40000 {
[all …]
Dloongson,pch-pic.yaml4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-pic.yaml#"
7 title: Loongson PCH PIC Controller
19 const: loongson,pch-pic-1.0
24 loongson,pic-base-vec:
27 to PCH PIC.
40 - loongson,pic-base-vec
49 pic: interrupt-controller@10000000 {
50 compatible = "loongson,pch-pic-1.0";
54 loongson,pic-base-vec = <64>;
Dti,c64x+megamod-pic.txt13 - compatible: Should be "ti,c64x+core-pic";
26 compatible = "ti,c64x+core-pic";
33 The megamodule PIC consists of four interrupt mupliplexers each of which
35 may be cascaded into the core interrupt controller. The megamodule PIC
45 - compatible: "ti,c64x+megamod-pic"
55 - ti,c64x+megamod-pic-mux: Array of 12 cells correspnding to the 12 core
68 interrupts mapped directly to the core with "ti,c64x+megamod-pic-mux" will
75 compatible = "ti,c64x+megamod-pic";
89 compatible = "ti,c64x+megamod-pic";
95 ti,c64x+megamod-pic-mux = < 0 0 0 0
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/interrupt-controller/
Dopen-pic.txt1 * Open PIC Binding
4 representation of an Open PIC compliant interrupt controller. This binding is
5 based on the binding defined for Open PIC in [1] and is a superset of that
13 - compatible: Specifies the compatibility list for the PIC. The type
14 shall be <string> and the value shall include "open-pic".
17 PIC's addressable register space. The type shall be <prop-encoded-array>.
20 as an Open PIC. No property value shall be defined.
31 - pic-no-reset: The presence of this property indicates that the PIC
55 * An Open PIC interrupt controller
57 mpic: pic@40000 {
[all …]
Dloongson,pch-pic.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/loongson,pch-pic.yaml#
7 title: Loongson PCH PIC Controller
19 const: loongson,pch-pic-1.0
24 loongson,pic-base-vec:
27 to PCH PIC.
40 - loongson,pic-base-vec
49 pic: interrupt-controller@10000000 {
50 compatible = "loongson,pch-pic-1.0";
54 loongson,pic-base-vec = <64>;
/kernel/linux/linux-5.10/arch/powerpc/platforms/cell/
Dspider-pic.c63 static void __iomem *spider_get_irq_config(struct spider_pic *pic, in spider_get_irq_config() argument
66 return pic->regs + TIR_CFGA + 8 * src; in spider_get_irq_config()
71 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_unmask_irq() local
72 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_unmask_irq()
79 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_mask_irq() local
80 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_mask_irq()
87 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_ack_irq() local
100 out_be32(pic->regs + TIR_EDC, 0x100 | (src & 0xf)); in spider_ack_irq()
106 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_set_irq_type() local
108 void __iomem *cfg = spider_get_irq_config(pic, hw); in spider_set_irq_type()
[all …]
/kernel/linux/linux-6.6/arch/powerpc/platforms/cell/
Dspider-pic.c64 static void __iomem *spider_get_irq_config(struct spider_pic *pic, in spider_get_irq_config() argument
67 return pic->regs + TIR_CFGA + 8 * src; in spider_get_irq_config()
72 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_unmask_irq() local
73 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_unmask_irq()
80 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_mask_irq() local
81 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_mask_irq()
88 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_ack_irq() local
101 out_be32(pic->regs + TIR_EDC, 0x100 | (src & 0xf)); in spider_ack_irq()
107 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_set_irq_type() local
109 void __iomem *cfg = spider_get_irq_config(pic, hw); in spider_set_irq_type()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
Drockchip_vpu2_hw_mpeg2_dec.c99 const struct v4l2_ctrl_mpeg2_picture *pic) in rockchip_vpu2_mpeg2_dec_set_buffers() argument
104 switch (pic->picture_coding_type) { in rockchip_vpu2_mpeg2_dec_set_buffers()
106 backward_addr = hantro_get_ref(ctx, pic->backward_ref_ts); in rockchip_vpu2_mpeg2_dec_set_buffers()
109 forward_addr = hantro_get_ref(ctx, pic->forward_ref_ts); in rockchip_vpu2_mpeg2_dec_set_buffers()
120 if (pic->picture_structure == V4L2_MPEG2_PIC_BOTTOM_FIELD) in rockchip_vpu2_mpeg2_dec_set_buffers()
130 if (pic->picture_structure == V4L2_MPEG2_PIC_FRAME || in rockchip_vpu2_mpeg2_dec_set_buffers()
131 pic->picture_coding_type == V4L2_MPEG2_PIC_CODING_TYPE_B || in rockchip_vpu2_mpeg2_dec_set_buffers()
132 (pic->picture_structure == V4L2_MPEG2_PIC_TOP_FIELD && in rockchip_vpu2_mpeg2_dec_set_buffers()
133 pic->flags & V4L2_MPEG2_PIC_TOP_FIELD) || in rockchip_vpu2_mpeg2_dec_set_buffers()
134 (pic->picture_structure == V4L2_MPEG2_PIC_BOTTOM_FIELD && in rockchip_vpu2_mpeg2_dec_set_buffers()
[all …]
Dhantro_g1_mpeg2_dec.c96 const struct v4l2_ctrl_mpeg2_picture *pic) in hantro_g1_mpeg2_dec_set_buffers() argument
101 switch (pic->picture_coding_type) { in hantro_g1_mpeg2_dec_set_buffers()
103 backward_addr = hantro_get_ref(ctx, pic->backward_ref_ts); in hantro_g1_mpeg2_dec_set_buffers()
106 forward_addr = hantro_get_ref(ctx, pic->forward_ref_ts); in hantro_g1_mpeg2_dec_set_buffers()
117 if (pic->picture_structure == V4L2_MPEG2_PIC_BOTTOM_FIELD) in hantro_g1_mpeg2_dec_set_buffers()
127 if (pic->picture_structure == V4L2_MPEG2_PIC_FRAME || in hantro_g1_mpeg2_dec_set_buffers()
128 pic->picture_coding_type == V4L2_MPEG2_PIC_CODING_TYPE_B || in hantro_g1_mpeg2_dec_set_buffers()
129 (pic->picture_structure == V4L2_MPEG2_PIC_TOP_FIELD && in hantro_g1_mpeg2_dec_set_buffers()
130 pic->flags & V4L2_MPEG2_PIC_FLAG_TOP_FIELD_FIRST) || in hantro_g1_mpeg2_dec_set_buffers()
131 (pic->picture_structure == V4L2_MPEG2_PIC_BOTTOM_FIELD && in hantro_g1_mpeg2_dec_set_buffers()
[all …]
/kernel/linux/linux-6.6/arch/m68k/virt/
Dints.c34 * 6 goldfish-pic for CPU IRQ #1 to IRQ #6
35 * CPU IRQ #1 -> PIC #1
38 * CPU IRQ #2 -> PIC #2
40 * CPU IRQ #3 -> PIC #3
42 * CPU IRQ #4 -> PIC #4
44 * CPU IRQ #5 -> PIC #5
46 * CPU IRQ #6 -> PIC #6
53 static u32 gfpic_read(int pic, int reg) in gfpic_read() argument
55 void __iomem *base = (void __iomem *)(virt_bi_data.pic.mmio + in gfpic_read()
56 pic * 0x1000); in gfpic_read()
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/pci/
Dv3-v360epc-pci.txt39 interrupt-parent = <&pic>;
56 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
57 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */
58 0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */
59 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
61 0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */
62 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */
63 0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */
64 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */
66 0x5800 0 0 1 &pic 15 /* INT A on slot 11 is irq 15 */
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/pci/
Dv3-v360epc-pci.txt39 interrupt-parent = <&pic>;
56 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
57 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */
58 0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */
59 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
61 0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */
62 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */
63 0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */
64 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */
66 0x5800 0 0 1 &pic 15 /* INT A on slot 11 is irq 15 */
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/
Dcedrus_mpeg2.c54 const struct v4l2_ctrl_mpeg2_picture *pic; in cedrus_mpeg2_setup() local
64 pic = run->mpeg2.picture; in cedrus_mpeg2_setup()
91 reg = VE_DEC_MPEG_MP12HDR_SLICE_TYPE(pic->picture_coding_type); in cedrus_mpeg2_setup()
92 reg |= VE_DEC_MPEG_MP12HDR_F_CODE(0, 0, pic->f_code[0][0]); in cedrus_mpeg2_setup()
93 reg |= VE_DEC_MPEG_MP12HDR_F_CODE(0, 1, pic->f_code[0][1]); in cedrus_mpeg2_setup()
94 reg |= VE_DEC_MPEG_MP12HDR_F_CODE(1, 0, pic->f_code[1][0]); in cedrus_mpeg2_setup()
95 reg |= VE_DEC_MPEG_MP12HDR_F_CODE(1, 1, pic->f_code[1][1]); in cedrus_mpeg2_setup()
96 reg |= VE_DEC_MPEG_MP12HDR_INTRA_DC_PRECISION(pic->intra_dc_precision); in cedrus_mpeg2_setup()
97 reg |= VE_DEC_MPEG_MP12HDR_INTRA_PICTURE_STRUCTURE(pic->picture_structure); in cedrus_mpeg2_setup()
98 reg |= VE_DEC_MPEG_MP12HDR_TOP_FIELD_FIRST(pic->flags & V4L2_MPEG2_PIC_FLAG_TOP_FIELD_FIRST); in cedrus_mpeg2_setup()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dintegratorap.dts150 pic: pic@14000000 { label
162 interrupt-parent = <&pic>;
179 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
180 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */
181 0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */
182 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
184 0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */
185 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */
186 0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */
187 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/arm/
Dintegratorap.dts157 pic: pic@14000000 { label
169 interrupt-parent = <&pic>;
186 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
187 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */
188 0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */
189 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
191 0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */
192 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */
193 0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */
194 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/
Dmpc8272ads.dts69 compatible = "fsl,mpc8272ads-pci-pic",
70 "fsl,pq2ads-pci-pic";
74 interrupt-parent = <&PIC>;
108 interrupt-parent = <&PIC>;
156 interrupt-parent = <&PIC>;
167 interrupt-parent = <&PIC>;
176 interrupt-parent = <&PIC>;
191 interrupt-parent = <&PIC>;
197 interrupt-parent = <&PIC>;
210 interrupt-parent = <&PIC>;
[all …]
/kernel/linux/linux-6.6/arch/xtensa/boot/dts/
Dvirt.dts8 interrupt-parent = <&pic>;
37 pic: pic { label
38 compatible = "cdns,xtensa-pic";
64 0x0000 0x0 0x0 0x1 &pic 0x0 0x1
65 0x0800 0x0 0x0 0x1 &pic 0x1 0x1
66 0x1000 0x0 0x0 0x1 &pic 0x2 0x1
67 0x1800 0x0 0x0 0x1 &pic 0x3 0x1
/kernel/linux/linux-5.10/arch/xtensa/boot/dts/
Dvirt.dts8 interrupt-parent = <&pic>;
37 pic: pic { label
38 compatible = "cdns,xtensa-pic";
64 0x0000 0x0 0x0 0x1 &pic 0x0 0x1
65 0x0800 0x0 0x0 0x1 &pic 0x1 0x1
66 0x1000 0x0 0x0 0x1 &pic 0x2 0x1
67 0x1800 0x0 0x0 0x1 &pic 0x3 0x1

12345678910>>...32