| /drivers/irqchip/ |
| A D | irq-mvebu-pic.c | 90 irq_set_chip_data(virq, pic); in mvebu_pic_irq_map() 120 struct mvebu_pic *pic = data; in mvebu_pic_enable_percpu_irq() local 122 mvebu_pic_reset(pic); in mvebu_pic_enable_percpu_irq() 136 struct mvebu_pic *pic; in mvebu_pic_probe() local 139 if (!pic) in mvebu_pic_probe() 142 pic->pdev = pdev; in mvebu_pic_probe() 144 if (IS_ERR(pic->base)) in mvebu_pic_probe() 145 return PTR_ERR(pic->base); in mvebu_pic_probe() 148 if (pic->parent_irq <= 0) { in mvebu_pic_probe() 155 if (!pic->domain) { in mvebu_pic_probe() [all …]
|
| A D | irq-or1k-pic.c | 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() 142 struct or1k_pic_dev *pic) in or1k_pic_init() argument 148 pic); in or1k_pic_init()
|
| A D | Makefile | 23 obj-$(CONFIG_OR1K_PIC) += irq-or1k-pic.o 65 obj-$(CONFIG_XTENSA) += irq-xtensa-pic.o 88 obj-$(CONFIG_MVEBU_PIC) += irq-mvebu-pic.o 100 obj-$(CONFIG_GOLDFISH_PIC) += irq-goldfish-pic.o 126 obj-$(CONFIG_LOONGSON_PCH_PIC) += irq-loongson-pch-pic.o
|
| /drivers/media/platform/verisilicon/ |
| A D | hantro_g1_mpeg2_dec.c | 96 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 D | rockchip_vpu2_hw_mpeg2_dec.c | 99 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 …]
|
| /drivers/staging/media/sunxi/cedrus/ |
| A D | cedrus_mpeg2.c | 54 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() 124 cedrus_write_ref_buf_addr(ctx, vq, pic->forward_ref_ts, in cedrus_mpeg2_setup() [all …]
|
| A D | cedrus_h264.c | 72 struct cedrus_h264_sram_ref_pic *pic) in cedrus_fill_ref_pic() argument 76 pic->top_field_order_cnt = cpu_to_le32(top_field_order_cnt); in cedrus_fill_ref_pic() 77 pic->bottom_field_order_cnt = cpu_to_le32(bottom_field_order_cnt); in cedrus_fill_ref_pic() 78 pic->frame_info = cpu_to_le32(buf->codec.h264.pic_type << 8); in cedrus_fill_ref_pic() 80 pic->luma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 0)); in cedrus_fill_ref_pic() 81 pic->chroma_ptr = cpu_to_le32(cedrus_buf_addr(vbuf, &ctx->dst_fmt, 1)); in cedrus_fill_ref_pic() 82 pic->mv_col_top_ptr = cpu_to_le32(cedrus_h264_mv_col_buf_addr(buf, 0)); in cedrus_fill_ref_pic() 83 pic->mv_col_bot_ptr = cpu_to_le32(cedrus_h264_mv_col_buf_addr(buf, 1)); in cedrus_fill_ref_pic()
|
| /drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
| A D | vdec_h264_if.c | 112 struct vdec_pic_info pic; member 164 static int alloc_mv_buf(struct vdec_h264_inst *inst, struct vdec_pic_info *pic) in alloc_mv_buf() argument 169 unsigned int buf_sz = get_mv_buf_size(pic->buf_w, pic->buf_h); in alloc_mv_buf() 243 struct vdec_pic_info *pic) in get_pic_info() argument 245 *pic = inst->vsi->pic; in get_pic_info() 247 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info() 248 mtk_vdec_debug(inst->ctx, "fb size: Y(%d), C(%d)", pic->fb_sz[0], pic->fb_sz[1]); in get_pic_info() 393 struct vdec_pic_info pic; in vdec_h264_decode() local 396 get_pic_info(inst, &pic); in vdec_h264_decode() 399 err = alloc_mv_buf(inst, &pic); in vdec_h264_decode()
|
| A D | vdec_vp8_if.c | 85 struct vdec_pic_info pic; member 280 static void get_pic_info(struct vdec_vp8_inst *inst, struct vdec_pic_info *pic) in get_pic_info() argument 282 *pic = inst->vsi->pic; in get_pic_info() 285 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info() 287 pic->fb_sz[0], pic->fb_sz[1]); in get_pic_info() 554 cr->width = inst->vsi->pic.pic_w; in get_crop_info() 555 cr->height = inst->vsi->pic.pic_h; in get_crop_info()
|
| A D | vdec_vp9_if.c | 695 static void get_pic_info(struct vdec_vp9_inst *inst, struct vdec_pic_info *pic) in get_pic_info() argument 697 pic->fb_sz[0] = inst->vsi->buf_sz_y_bs + inst->vsi->buf_len_sz_y; in get_pic_info() 698 pic->fb_sz[1] = inst->vsi->buf_sz_c_bs + inst->vsi->buf_len_sz_c; in get_pic_info() 700 pic->pic_w = inst->vsi->pic_w; in get_pic_info() 701 pic->pic_h = inst->vsi->pic_h; in get_pic_info() 702 pic->buf_w = inst->vsi->buf_w; in get_pic_info() 703 pic->buf_h = inst->vsi->buf_h; in get_pic_info() 706 pic->pic_w, pic->pic_h, pic->buf_w, pic->buf_h); in get_pic_info() 707 mtk_vdec_debug(inst->ctx, "fb size: Y(%d), C(%d)", pic->fb_sz[0], pic->fb_sz[1]); in get_pic_info()
|
| A D | vdec_vp8_req_if.c | 82 struct vdec_pic_info pic; member 132 inst->vsi->pic.pic_w = ctx->picinfo.pic_w; in vdec_vp8_slice_get_pic_info() 133 inst->vsi->pic.pic_h = ctx->picinfo.pic_h; in vdec_vp8_slice_get_pic_info() 134 inst->vsi->pic.buf_w = ctx->picinfo.buf_w; in vdec_vp8_slice_get_pic_info() 135 inst->vsi->pic.buf_h = ctx->picinfo.buf_h; in vdec_vp8_slice_get_pic_info() 136 inst->vsi->pic.fb_sz[0] = ctx->picinfo.fb_sz[0]; in vdec_vp8_slice_get_pic_info() 137 inst->vsi->pic.fb_sz[1] = ctx->picinfo.fb_sz[1]; in vdec_vp8_slice_get_pic_info()
|
| A D | vdec_h264_req_if.c | 68 struct vdec_pic_info pic; member 182 struct vdec_pic_info *pic) in alloc_mv_buf() argument 187 unsigned int buf_sz = mtk_vdec_h264_get_mv_buf_size(pic->buf_w, pic->buf_h); in alloc_mv_buf() 220 struct vdec_pic_info *pic) in get_pic_info() argument 231 *pic = ctx->picinfo; in get_pic_info()
|
| A D | vdec_hevc_req_multi_if.c | 645 struct vdec_pic_info *pic) in vdec_hevc_slice_alloc_mv_buf() argument 647 unsigned int buf_sz = vdec_hevc_get_mv_buf_size(pic->buf_w, pic->buf_h); in vdec_hevc_slice_alloc_mv_buf()
|
| A D | vdec_h264_req_multi_if.c | 402 struct vdec_pic_info *pic) in vdec_h264_slice_alloc_mv_buf() argument 404 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/gpio/ |
| A D | gpio-idt3243x.c | 22 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() 109 writel(ctrl->mask_cache, ctrl->pic + IDT_PIC_IRQ_MASK); in idt_gpio_unmask() 120 writel(ctrl->mask_cache, ctrl->pic + IDT_PIC_IRQ_MASK); in idt_gpio_irq_init_hw() 167 ctrl->pic = devm_platform_ioremap_resource_byname(pdev, "pic"); in idt_gpio_probe() 168 if (IS_ERR(ctrl->pic)) in idt_gpio_probe() 169 return PTR_ERR(ctrl->pic); in idt_gpio_probe()
|
| /drivers/clk/sifive/ |
| A D | sifive-prci.c | 507 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/media/test-drivers/visl/ |
| A D | visl-dec.c | 92 b_ref = vb2_find_buffer(cap_q, run->mpeg2.pic->backward_ref_ts); in visl_get_ref_frames() 93 f_ref = vb2_find_buffer(cap_q, run->mpeg2.pic->forward_ref_ts); in visl_get_ref_frames() 96 run->mpeg2.pic->backward_ref_ts, b_ref); in visl_get_ref_frames() 98 run->mpeg2.pic->forward_ref_ts, f_ref); in visl_get_ref_frames() 508 trace_v4l2_ctrl_mpeg2_picture(run->mpeg2.pic); in visl_trace_ctrls() 589 run.mpeg2.pic = visl_find_control_data(ctx, V4L2_CID_STATELESS_MPEG2_PICTURE); in visl_device_run()
|
| A D | visl-dec.h | 18 const struct v4l2_ctrl_mpeg2_picture *pic; member
|
| /drivers/net/can/usb/ |
| A D | mcba_usb.c | 146 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/av7110/ |
| A D | av7110_av.c | 1269 struct compat_video_still_picture *pic = in dvb_video_ioctl() local 1273 ret = play_iframe(av7110, compat_ptr(pic->iFrame), in dvb_video_ioctl() 1274 pic->size, file->f_flags & O_NONBLOCK); in dvb_video_ioctl() 1281 struct video_still_picture *pic = in dvb_video_ioctl() local 1285 ret = play_iframe(av7110, pic->iFrame, pic->size, in dvb_video_ioctl()
|
| /drivers/firmware/efi/libstub/ |
| A D | Makefile | 30 $(call cc-option,-mno-single-pic-base) \
|
| /drivers/nvme/host/ |
| A D | core.c | 1944 if ((nvm->pic & NVME_ID_NS_NVM_QPIFS) && in nvme_configure_pi_elbas()
|