Home
last modified time | relevance | path

Searched refs:pic (Results 1 – 25 of 163) sorted by relevance

1234567

/Linux-v4.19/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.c128 struct or1k_pic_dev *pic = d->host_data; in or1k_map() local
130 irq_set_chip_and_handler(irq, &pic->chip, pic->handle); in or1k_map()
131 irq_set_status_flags(irq, pic->flags); in or1k_map()
147 struct or1k_pic_dev *pic) in or1k_pic_init() argument
153 pic); in or1k_pic_init()
/Linux-v4.19/arch/c6x/platforms/
Dmegamod-pic.c62 struct megamod_pic *pic; member
70 struct megamod_pic *pic = irq_data_get_irq_chip_data(data); in mask_megamod() local
72 u32 __iomem *evtmask = &pic->regs->evtmask[src / 32]; in mask_megamod()
74 raw_spin_lock(&pic->lock); in mask_megamod()
76 raw_spin_unlock(&pic->lock); in mask_megamod()
81 struct megamod_pic *pic = irq_data_get_irq_chip_data(data); in unmask_megamod() local
83 u32 __iomem *evtmask = &pic->regs->evtmask[src / 32]; in unmask_megamod()
85 raw_spin_lock(&pic->lock); in unmask_megamod()
87 raw_spin_unlock(&pic->lock); in unmask_megamod()
99 struct megamod_pic *pic; in megamod_irq_cascade() local
[all …]
/Linux-v4.19/arch/powerpc/platforms/cell/
Dspider-pic.c76 static void __iomem *spider_get_irq_config(struct spider_pic *pic, in spider_get_irq_config() argument
79 return pic->regs + TIR_CFGA + 8 * src; in spider_get_irq_config()
84 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_unmask_irq() local
85 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_unmask_irq()
92 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_mask_irq() local
93 void __iomem *cfg = spider_get_irq_config(pic, irqd_to_hwirq(d)); in spider_mask_irq()
100 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_ack_irq() local
113 out_be32(pic->regs + TIR_EDC, 0x100 | (src & 0xf)); in spider_ack_irq()
119 struct spider_pic *pic = spider_irq_data_to_pic(d); in spider_set_irq_type() local
121 void __iomem *cfg = spider_get_irq_config(pic, hw); in spider_set_irq_type()
[all …]
/Linux-v4.19/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 …]
/Linux-v4.19/arch/ia64/sn/pci/pcibr/
Dpcibr_reg.c20 struct pic pic; member
36 __sn_clrq_relaxed(&ptr->pic.p_wid_control, bits); in pcireg_control_bit_clr()
56 __sn_setq_relaxed(&ptr->pic.p_wid_control, bits); in pcireg_control_bit_set()
80 ret = __sn_readq_relaxed(&ptr->pic.p_wid_tflush); in pcireg_tflush_get()
110 ret = __sn_readq_relaxed(&ptr->pic.p_int_status); in pcireg_intr_status_get()
134 __sn_clrq_relaxed(&ptr->pic.p_int_enable, bits); in pcireg_intr_enable_bit_clr()
154 __sn_setq_relaxed(&ptr->pic.p_int_enable, bits); in pcireg_intr_enable_bit_set()
181 __sn_clrq_relaxed(&ptr->pic.p_int_addr[int_n], in pcireg_intr_addr_addr_set()
183 __sn_setq_relaxed(&ptr->pic.p_int_addr[int_n], in pcireg_intr_addr_addr_set()
207 writeq(1, &ptr->pic.p_force_pin[int_n]); in pcireg_force_intr_set()
[all …]
/Linux-v4.19/arch/arm/boot/dts/
Dintegratorap.dts111 interrupt-parent = <&pic>;
152 pic: pic@14000000 { label
163 interrupt-parent = <&pic>;
180 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
181 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */
182 0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */
183 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
185 0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */
186 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */
187 0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */
[all …]
Dintegrator.dtsi31 interrupt-parent = <&pic>;
37 interrupt-parent = <&pic>;
43 interrupt-parent = <&pic>;
47 pic@14000000 {
66 interrupt-parent = <&pic>;
/Linux-v4.19/arch/powerpc/platforms/52xx/
Dlite5200_pm.c13 static struct mpc52xx_intr __iomem *pic; variable
79 pic = mbar + 0x500; in lite5200_pm_prepare()
101 _memcpy_fromio(&spic, pic, sizeof(*pic)); in lite5200_save_regs()
190 out_be32(&pic->per_pri1, spic.per_pri1); in lite5200_restore_regs()
191 out_be32(&pic->per_pri2, spic.per_pri2); in lite5200_restore_regs()
192 out_be32(&pic->per_pri3, spic.per_pri3); in lite5200_restore_regs()
194 out_be32(&pic->main_pri1, spic.main_pri1); in lite5200_restore_regs()
195 out_be32(&pic->main_pri2, spic.main_pri2); in lite5200_restore_regs()
197 out_be32(&pic->enc_status, spic.enc_status); in lite5200_restore_regs()
200 out_be32(&pic->per_mask, spic.per_mask); in lite5200_restore_regs()
[all …]
/Linux-v4.19/arch/alpha/kernel/
Dirq_i8259.c143 unsigned long pic; in isa_no_iack_sc_device_interrupt() local
158 pic = inb(0x20) | (inb(0xA0) << 8); /* read isr */ in isa_no_iack_sc_device_interrupt()
159 pic &= 0xFFFB; /* mask out cascade & hibits */ in isa_no_iack_sc_device_interrupt()
161 while (pic) { in isa_no_iack_sc_device_interrupt()
162 int j = ffz(~pic); in isa_no_iack_sc_device_interrupt()
163 pic &= pic - 1; in isa_no_iack_sc_device_interrupt()
/Linux-v4.19/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/
Dpic.txt4 - fsl,cpm1-pic
6 - fsl,pq1-pic
7 - fsl,cpm2-pic
17 compatible = "mpc8272-pic", "fsl,cpm2-pic";
/Linux-v4.19/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_h264_if.c118 struct vdec_pic_info pic; member
172 static int alloc_mv_buf(struct vdec_h264_inst *inst, struct vdec_pic_info *pic) in alloc_mv_buf() argument
177 unsigned int buf_sz = get_mv_buf_size(pic->buf_w, pic->buf_h); in alloc_mv_buf()
251 struct vdec_pic_info *pic) in get_pic_info() argument
253 *pic = inst->vsi->pic; in get_pic_info()
255 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
256 mtk_vcodec_debug(inst, "Y(%d, %d), C(%d, %d)", pic->y_bs_sz, in get_pic_info()
257 pic->y_len_sz, pic->c_bs_sz, pic->c_len_sz); in get_pic_info()
398 struct vdec_pic_info pic; in vdec_h264_decode() local
401 get_pic_info(inst, &pic); in vdec_h264_decode()
[all …]
Dvdec_vp8_if.c94 struct vdec_pic_info pic; member
291 static void get_pic_info(struct vdec_vp8_inst *inst, struct vdec_pic_info *pic) in get_pic_info() argument
293 *pic = inst->vsi->pic; in get_pic_info()
296 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
297 mtk_vcodec_debug(inst, "Y(%d, %d), C(%d, %d)", pic->y_bs_sz, in get_pic_info()
298 pic->y_len_sz, pic->c_bs_sz, pic->c_len_sz); in get_pic_info()
570 cr->width = inst->vsi->pic.pic_w; in get_crop_info()
571 cr->height = inst->vsi->pic.pic_h; in get_crop_info()
/Linux-v4.19/Documentation/devicetree/bindings/interrupt-controller/
Dopencores,or1k-pic.txt5 - compatible : should be "opencores,or1k-pic-level" for variants with
6 level triggered interrupt lines, "opencores,or1k-pic-edge" for variants with
7 edge triggered interrupt lines or "opencores,or1200-pic" for machines
10 "opencores,or1k-pic" is also provided as an alias to "opencores,or1200-pic",
20 compatible = "opencores,or1k-pic-level";
Dti,c64x+megamod-pic.txt13 - compatible: Should be "ti,c64x+core-pic";
26 compatible = "ti,c64x+core-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
Dcdns,xtensa-pic.txt4 - compatible: Should be "cdns,xtensa-pic".
17 pic: pic {
18 compatible = "cdns,xtensa-pic";
Dcdns,xtensa-mx.txt7 (see cdns,xtensa-pic.txt).
10 pic: pic {
/Linux-v4.19/arch/mips/boot/dts/netlogic/
Dxlp_fvp.dts27 interrupt-parent = <&pic>;
37 interrupt-parent = <&pic>;
48 interrupt-parent = <&pic>;
59 interrupt-parent = <&pic>;
72 pic: pic@4000 { label
73 compatible = "netlogic,xlp-pic";
122 interrupt-parent = <&pic>;
Dxlp_svp.dts27 interrupt-parent = <&pic>;
37 interrupt-parent = <&pic>;
48 interrupt-parent = <&pic>;
59 interrupt-parent = <&pic>;
72 pic: pic@4000 { label
73 compatible = "netlogic,xlp-pic";
122 interrupt-parent = <&pic>;
Dxlp_evp.dts27 interrupt-parent = <&pic>;
37 interrupt-parent = <&pic>;
48 interrupt-parent = <&pic>;
59 interrupt-parent = <&pic>;
72 pic: pic@4000 { label
73 compatible = "netlogic,xlp-pic";
122 interrupt-parent = <&pic>;
Dxlp_gvp.dts27 interrupt-parent = <&pic>;
30 pic: pic@110000 { label
31 compatible = "netlogic,xlp-pic";
80 interrupt-parent = <&pic>;
Dxlp_rvp.dts27 interrupt-parent = <&pic>;
30 pic: pic@110000 { label
31 compatible = "netlogic,xlp-pic";
80 interrupt-parent = <&pic>;
/Linux-v4.19/arch/openrisc/boot/dts/
Dor1ksim.dts7 interrupt-parent = <&pic>;
38 pic: pic { label
39 compatible = "opencores,or1k-pic";
Dsimple_smp.dts6 interrupt-parent = <&pic>;
50 pic: pic { label
51 compatible = "opencores,or1k-pic-level";
/Linux-v4.19/arch/xtensa/boot/dts/
Dcsp.dts8 interrupt-parent = <&pic>;
28 pic: pic { label
29 compatible = "cdns,xtensa-pic";

1234567