Home
last modified time | relevance | path

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

/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.c123 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()
142 struct or1k_pic_dev *pic) in or1k_pic_init() argument
148 pic); in or1k_pic_init()
DMakefile23 obj-$(CONFIG_OR1K_PIC) += irq-or1k-pic.o
61 obj-$(CONFIG_XTENSA) += irq-xtensa-pic.o
83 obj-$(CONFIG_MVEBU_PIC) += irq-mvebu-pic.o
93 obj-$(CONFIG_GOLDFISH_PIC) += irq-goldfish-pic.o
113 obj-$(CONFIG_LOONGSON_PCH_PIC) += irq-loongson-pch-pic.o
/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 …]
/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 …]
Dcedrus_h264.c76 struct cedrus_h264_sram_ref_pic *pic) in cedrus_fill_ref_pic() argument
81 pic->top_field_order_cnt = cpu_to_le32(top_field_order_cnt); in cedrus_fill_ref_pic()
82 pic->bottom_field_order_cnt = cpu_to_le32(bottom_field_order_cnt); in cedrus_fill_ref_pic()
83 pic->frame_info = cpu_to_le32(buf->codec.h264.pic_type << 8); in cedrus_fill_ref_pic()
85 pic->luma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 0)); in cedrus_fill_ref_pic()
86 pic->chroma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 1)); in cedrus_fill_ref_pic()
87 pic->mv_col_top_ptr = in cedrus_fill_ref_pic()
89 pic->mv_col_bot_ptr = in cedrus_fill_ref_pic()
/drivers/media/platform/mediatek/vcodec/vdec/
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()
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()
Dvdec_vp9_if.c700 static void get_pic_info(struct vdec_vp9_inst *inst, struct vdec_pic_info *pic) in get_pic_info() argument
702 pic->fb_sz[0] = inst->vsi->buf_sz_y_bs + inst->vsi->buf_len_sz_y; in get_pic_info()
703 pic->fb_sz[1] = inst->vsi->buf_sz_c_bs + inst->vsi->buf_len_sz_c; in get_pic_info()
705 pic->pic_w = inst->vsi->pic_w; in get_pic_info()
706 pic->pic_h = inst->vsi->pic_h; in get_pic_info()
707 pic->buf_w = inst->vsi->buf_w; in get_pic_info()
708 pic->buf_h = inst->vsi->buf_h; in get_pic_info()
711 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info()
713 pic->fb_sz[0], in get_pic_info()
714 pic->fb_sz[1]); in get_pic_info()
Dvdec_vp8_req_if.c84 struct vdec_pic_info pic; member
134 inst->vsi->pic.pic_w = ctx->picinfo.pic_w; in vdec_vp8_slice_get_pic_info()
135 inst->vsi->pic.pic_h = ctx->picinfo.pic_h; in vdec_vp8_slice_get_pic_info()
136 inst->vsi->pic.buf_w = ctx->picinfo.buf_w; in vdec_vp8_slice_get_pic_info()
137 inst->vsi->pic.buf_h = ctx->picinfo.buf_h; in vdec_vp8_slice_get_pic_info()
138 inst->vsi->pic.fb_sz[0] = ctx->picinfo.fb_sz[0]; in vdec_vp8_slice_get_pic_info()
139 inst->vsi->pic.fb_sz[1] = ctx->picinfo.fb_sz[1]; in vdec_vp8_slice_get_pic_info()
Dvdec_h264_req_if.c69 struct vdec_pic_info pic; member
185 struct vdec_pic_info *pic) in alloc_mv_buf() argument
190 unsigned int buf_sz = mtk_vdec_h264_get_mv_buf_size(pic->buf_w, pic->buf_h); in alloc_mv_buf()
223 struct vdec_pic_info *pic) in get_pic_info() argument
234 *pic = ctx->picinfo; in get_pic_info()
Dvdec_h264_req_multi_if.c311 struct vdec_pic_info *pic) in vdec_h264_slice_alloc_mv_buf() argument
313 unsigned int buf_sz = mtk_vdec_h264_get_mv_buf_size(pic->buf_w, pic->buf_h); in vdec_h264_slice_alloc_mv_buf()
/drivers/clk/sifive/
Dsifive-prci.c507 struct __prci_clock *pic; in __prci_register_clocks() local
519 pic = &(desc->clks[i]); in __prci_register_clocks()
521 init.name = pic->name; in __prci_register_clocks()
522 init.parent_names = &pic->parent_name; in __prci_register_clocks()
524 init.ops = pic->ops; in __prci_register_clocks()
525 pic->hw.init = &init; in __prci_register_clocks()
527 pic->pd = pd; in __prci_register_clocks()
529 if (pic->pwd) in __prci_register_clocks()
530 __prci_wrpll_read_cfg0(pd, pic->pwd); in __prci_register_clocks()
532 r = devm_clk_hw_register(dev, &pic->hw); in __prci_register_clocks()
[all …]
/drivers/gpio/
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()
/drivers/net/can/usb/
Dmcba_usb.c146 u8 pic; member
403 static void mcba_usb_xmit_read_fw_ver(struct mcba_priv *priv, u8 pic) in mcba_usb_xmit_read_fw_ver() argument
407 .pic = pic in mcba_usb_xmit_read_fw_ver()
/drivers/staging/media/deprecated/saa7146/av7110/
Dav7110_av.c1260 struct compat_video_still_picture *pic = in dvb_video_ioctl() local
1264 ret = play_iframe(av7110, compat_ptr(pic->iFrame), in dvb_video_ioctl()
1265 pic->size, file->f_flags & O_NONBLOCK); in dvb_video_ioctl()
1272 struct video_still_picture *pic = in dvb_video_ioctl() local
1276 ret = play_iframe(av7110, pic->iFrame, pic->size, in dvb_video_ioctl()
/drivers/firmware/efi/libstub/
DMakefile27 $(call cc-option,-mno-single-pic-base)