Home
last modified time | relevance | path

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

1234567

/linux/drivers/irqchip/
A Dirq-mvebu-pic.c75 irq_set_chip_data(virq, pic); in mvebu_pic_irq_map()
106 struct mvebu_pic *pic = data; in mvebu_pic_enable_percpu_irq() local
108 mvebu_pic_reset(pic); in mvebu_pic_enable_percpu_irq()
122 struct mvebu_pic *pic; in mvebu_pic_probe() local
126 if (!pic) in mvebu_pic_probe()
130 if (IS_ERR(pic->base)) in mvebu_pic_probe()
131 return PTR_ERR(pic->base); in mvebu_pic_probe()
133 irq_chip = &pic->irq_chip; in mvebu_pic_probe()
140 if (pic->parent_irq <= 0) { in mvebu_pic_probe()
147 if (!pic->domain) { in mvebu_pic_probe()
[all …]
A Dirq-or1k-pic.c124 struct or1k_pic_dev *pic = d->host_data; in or1k_map() local
126 irq_set_chip_and_handler(irq, &pic->chip, pic->handle); in or1k_map()
127 irq_set_status_flags(irq, pic->flags); in or1k_map()
143 struct or1k_pic_dev *pic) in or1k_pic_init() argument
149 pic); in or1k_pic_init()
/linux/arch/powerpc/platforms/cell/
A Dspider-pic.c66 return pic->regs + TIR_CFGA + 8 * src; in spider_get_irq_config()
144 (pic->node_id << 4) | 0xe); in spider_set_irq_type()
254 pic->node_id = (*tmp) >> 1; in spider_find_cascade_and_node()
279 pic->regs = ioremap(addr, 0x1000); in spider_init_one()
280 if (pic->regs == NULL) in spider_init_one()
285 &spider_host_ops, pic); in spider_init_one()
286 if (pic->host == NULL) in spider_init_one()
296 out_be32(pic->regs + TIR_MSK, 0x0); in spider_init_one()
299 out_be32(pic->regs + TIR_PIEN, in_be32(pic->regs + TIR_PIEN) | 0x1); in spider_init_one()
305 irq_set_handler_data(virq, pic); in spider_init_one()
[all …]
/linux/arch/mips/boot/dts/loongson/
A Dls7a-pch.dtsi18 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>;
116 interrupt-parent = <&pic>;
127 interrupt-parent = <&pic>;
[all …]
/linux/drivers/staging/media/hantro/
A 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()
127 if (pic->picture_structure == V4L2_MPEG2_PIC_FRAME || in hantro_g1_mpeg2_dec_set_buffers()
153 const struct v4l2_ctrl_mpeg2_picture *pic; in hantro_g1_mpeg2_dec_run() local
164 pic = hantro_get_ctrl(ctx, in hantro_g1_mpeg2_dec_run()
205 G1_REG_INTRA_DC_PREC(pic->intra_dc_precision) | in hantro_g1_mpeg2_dec_run()
215 G1_REG_FCODE_FWD_HOR(pic->f_code[0][0]) | in hantro_g1_mpeg2_dec_run()
216 G1_REG_FCODE_FWD_VER(pic->f_code[0][1]) | in hantro_g1_mpeg2_dec_run()
217 G1_REG_FCODE_BWD_HOR(pic->f_code[1][0]) | in hantro_g1_mpeg2_dec_run()
218 G1_REG_FCODE_BWD_VER(pic->f_code[1][1]) | in hantro_g1_mpeg2_dec_run()
[all …]
A 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()
133 pic->flags & V4L2_MPEG2_PIC_TOP_FIELD) || in rockchip_vpu2_mpeg2_dec_set_buffers()
135 !(pic->flags & V4L2_MPEG2_PIC_TOP_FIELD))) { in rockchip_vpu2_mpeg2_dec_set_buffers()
156 const struct v4l2_ctrl_mpeg2_picture *pic; in rockchip_vpu2_mpeg2_dec_run() local
166 pic = hantro_get_ctrl(ctx, in rockchip_vpu2_mpeg2_dec_run()
228 VDPU_REG_FCODE_FWD_HOR(pic->f_code[0][0]) | in rockchip_vpu2_mpeg2_dec_run()
229 VDPU_REG_FCODE_FWD_VER(pic->f_code[0][1]) | in rockchip_vpu2_mpeg2_dec_run()
230 VDPU_REG_FCODE_BWD_HOR(pic->f_code[1][0]) | in rockchip_vpu2_mpeg2_dec_run()
231 VDPU_REG_FCODE_BWD_VER(pic->f_code[1][1]) | in rockchip_vpu2_mpeg2_dec_run()
[all …]
/linux/drivers/staging/media/sunxi/cedrus/
A Dcedrus_mpeg2.c54 const struct v4l2_ctrl_mpeg2_picture *pic; in cedrus_mpeg2_setup() local
68 pic = run->mpeg2.picture; in cedrus_mpeg2_setup()
95 reg = VE_DEC_MPEG_MP12HDR_SLICE_TYPE(pic->picture_coding_type); in cedrus_mpeg2_setup()
96 reg |= VE_DEC_MPEG_MP12HDR_F_CODE(0, 0, pic->f_code[0][0]); in cedrus_mpeg2_setup()
97 reg |= VE_DEC_MPEG_MP12HDR_F_CODE(0, 1, pic->f_code[0][1]); in cedrus_mpeg2_setup()
98 reg |= VE_DEC_MPEG_MP12HDR_F_CODE(1, 0, pic->f_code[1][0]); in cedrus_mpeg2_setup()
99 reg |= VE_DEC_MPEG_MP12HDR_F_CODE(1, 1, pic->f_code[1][1]); in cedrus_mpeg2_setup()
100 reg |= VE_DEC_MPEG_MP12HDR_INTRA_DC_PRECISION(pic->intra_dc_precision); in cedrus_mpeg2_setup()
101 reg |= VE_DEC_MPEG_MP12HDR_INTRA_PICTURE_STRUCTURE(pic->picture_structure); in cedrus_mpeg2_setup()
129 forward_idx = vb2_find_timestamp(vq, pic->forward_ref_ts, 0); in cedrus_mpeg2_setup()
[all …]
/linux/Documentation/devicetree/bindings/pci/
A 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/arch/xtensa/boot/dts/
A 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
A Dcsp.dts8 interrupt-parent = <&pic>;
28 pic: pic { label
29 compatible = "cdns,xtensa-pic";
/linux/arch/powerpc/platforms/52xx/
A 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()
200 out_be32(&pic->per_mask, spic.per_mask); in lite5200_restore_regs()
201 out_be32(&pic->main_mask, spic.main_mask); in lite5200_restore_regs()
[all …]
/linux/arch/arm/boot/dts/
A Dintegratorap.dts157 pic: pic@14000000 { label
168 interrupt-parent = <&pic>;
185 0x4800 0 0 1 &pic 13 /* INT A on slot 9 is irq 13 */
186 0x4800 0 0 2 &pic 14 /* INT B on slot 9 is irq 14 */
187 0x4800 0 0 3 &pic 15 /* INT C on slot 9 is irq 15 */
188 0x4800 0 0 4 &pic 16 /* INT D on slot 9 is irq 16 */
190 0x5000 0 0 1 &pic 14 /* INT A on slot 10 is irq 14 */
191 0x5000 0 0 2 &pic 15 /* INT B on slot 10 is irq 15 */
192 0x5000 0 0 3 &pic 16 /* INT C on slot 10 is irq 16 */
193 0x5000 0 0 4 &pic 13 /* INT D on slot 10 is irq 13 */
[all …]
A Dintegrator.dtsi41 interrupt-parent = <&pic>;
47 interrupt-parent = <&pic>;
53 interrupt-parent = <&pic>;
57 pic@14000000 {
79 interrupt-parent = <&pic>;
/linux/Documentation/devicetree/bindings/interrupt-controller/
A Dloongson,pch-pic.yaml4 $id: "http://devicetree.org/schemas/interrupt-controller/loongson,pch-pic.yaml#"
19 const: loongson,pch-pic-1.0
24 loongson,pic-base-vec:
40 - loongson,pic-base-vec
49 pic: interrupt-controller@10000000 {
50 compatible = "loongson,pch-pic-1.0";
54 loongson,pic-base-vec = <64>;
A 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";
A Dcdns,xtensa-pic.txt4 - compatible: Should be "cdns,xtensa-pic".
17 pic: pic {
18 compatible = "cdns,xtensa-pic";
/linux/arch/alpha/kernel/
A Dirq_i8259.c139 unsigned long pic; in isa_no_iack_sc_device_interrupt() local
154 pic = inb(0x20) | (inb(0xA0) << 8); /* read isr */ in isa_no_iack_sc_device_interrupt()
155 pic &= 0xFFFB; /* mask out cascade & hibits */ in isa_no_iack_sc_device_interrupt()
157 while (pic) { in isa_no_iack_sc_device_interrupt()
158 int j = ffz(~pic); in isa_no_iack_sc_device_interrupt()
159 pic &= pic - 1; in isa_no_iack_sc_device_interrupt()
/linux/drivers/media/platform/mtk-vcodec/vdec/
A Dvdec_h264_if.c113 struct vdec_pic_info pic; member
167 static int alloc_mv_buf(struct vdec_h264_inst *inst, struct vdec_pic_info *pic) in alloc_mv_buf() argument
172 unsigned int buf_sz = get_mv_buf_size(pic->buf_w, pic->buf_h); in alloc_mv_buf()
246 struct vdec_pic_info *pic) in get_pic_info() argument
248 *pic = inst->vsi->pic; in get_pic_info()
250 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
252 pic->fb_sz[0], pic->fb_sz[1]); in get_pic_info()
400 struct vdec_pic_info pic; in vdec_h264_decode() local
403 get_pic_info(inst, &pic); in vdec_h264_decode()
406 err = alloc_mv_buf(inst, &pic); in vdec_h264_decode()
A Dvdec_vp8_if.c86 struct vdec_pic_info pic; member
283 static void get_pic_info(struct vdec_vp8_inst *inst, struct vdec_pic_info *pic) in get_pic_info() argument
285 *pic = inst->vsi->pic; in get_pic_info()
288 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
290 pic->fb_sz[0], pic->fb_sz[1]); in get_pic_info()
560 cr->width = inst->vsi->pic.pic_w; in get_crop_info()
561 cr->height = inst->vsi->pic.pic_h; in get_crop_info()
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/cpm/
A Dpic.txt4 - fsl,cpm1-pic
6 - fsl,pq1-pic
7 - fsl,cpm2-pic
17 compatible = "mpc8272-pic", "fsl,cpm2-pic";
/linux/drivers/clk/sifive/
A Dsifive-prci.c512 struct __prci_clock *pic; in __prci_register_clocks() local
524 pic = &(desc->clks[i]); in __prci_register_clocks()
526 init.name = pic->name; in __prci_register_clocks()
527 init.parent_names = &pic->parent_name; in __prci_register_clocks()
529 init.ops = pic->ops; in __prci_register_clocks()
530 pic->hw.init = &init; in __prci_register_clocks()
532 pic->pd = pd; in __prci_register_clocks()
534 if (pic->pwd) in __prci_register_clocks()
535 __prci_wrpll_read_cfg0(pd, pic->pwd); in __prci_register_clocks()
544 r = clk_hw_register_clkdev(&pic->hw, pic->name, dev_name(dev)); in __prci_register_clocks()
[all …]
/linux/drivers/gpio/
A Dgpio-idt3243x.c22 void __iomem *pic; member
37 pending = readl(ctrl->pic + IDT_PIC_IRQ_PEND); in idt_gpio_dispatch()
92 writel(ctrl->mask_cache, ctrl->pic + IDT_PIC_IRQ_MASK); in idt_gpio_mask()
106 writel(ctrl->mask_cache, ctrl->pic + IDT_PIC_IRQ_MASK); in idt_gpio_unmask()
117 writel(ctrl->mask_cache, ctrl->pic + IDT_PIC_IRQ_MASK); in idt_gpio_irq_init_hw()
162 ctrl->pic = devm_platform_ioremap_resource_byname(pdev, "pic"); in idt_gpio_probe()
163 if (IS_ERR(ctrl->pic)) in idt_gpio_probe()
164 return PTR_ERR(ctrl->pic); in idt_gpio_probe()
/linux/arch/openrisc/boot/dts/
A Dor1ksim.dts7 interrupt-parent = <&pic>;
38 pic: pic { label
39 compatible = "opencores,or1k-pic";
A Dor1klitex.dts13 interrupt-parent = <&pic>;
38 pic: pic { label
39 compatible = "opencores,or1k-pic";
A Dsimple_smp.dts6 interrupt-parent = <&pic>;
50 pic: pic { label
51 compatible = "opencores,or1k-pic-level";

Completed in 43 milliseconds

1234567