Searched refs:segment_map (Results 1 – 7 of 7) sorted by relevance
/drivers/media/platform/verisilicon/ |
D | hantro_vp9.c | 164 struct hantro_aux_buf *segment_map = &vp9_dec->segment_map; in hantro_vp9_dec_init() local 196 segment_map->cpu = dma_alloc_coherent(vpu->dev, size, &segment_map->dma, GFP_KERNEL); in hantro_vp9_dec_init() 197 if (!segment_map->cpu) in hantro_vp9_dec_init() 200 segment_map->size = size; in hantro_vp9_dec_init() 201 memset(segment_map->cpu, 0, size); in hantro_vp9_dec_init() 221 dma_free_coherent(vpu->dev, segment_map->size, segment_map->cpu, segment_map->dma); in hantro_vp9_dec_init() 234 struct hantro_aux_buf *segment_map = &vp9_dec->segment_map; in hantro_vp9_dec_exit() local 238 dma_free_coherent(vpu->dev, segment_map->size, segment_map->cpu, segment_map->dma); in hantro_vp9_dec_exit()
|
D | hantro_vp8.c | 162 aux_buf = &ctx->vp8_dec.segment_map; in hantro_vp8_dec_init() 185 dma_free_coherent(vpu->dev, ctx->vp8_dec.segment_map.size, in hantro_vp8_dec_init() 186 ctx->vp8_dec.segment_map.cpu, in hantro_vp8_dec_init() 187 ctx->vp8_dec.segment_map.dma); in hantro_vp8_dec_init() 197 dma_free_coherent(vpu->dev, vp8_dec->segment_map.size, in hantro_vp8_dec_exit() 198 vp8_dec->segment_map.cpu, vp8_dec->segment_map.dma); in hantro_vp8_dec_exit()
|
D | hantro_g1_vp8_dec.c | 420 reg = G1_REG_FWD_PIC1_SEGMENT_BASE(ctx->vp8_dec.segment_map.dma); in cfg_buffers() 449 if (V4L2_VP8_FRAME_IS_KEY_FRAME(hdr) && ctx->vp8_dec.segment_map.cpu) in hantro_g1_vp8_dec_run() 450 memset(ctx->vp8_dec.segment_map.cpu, 0, in hantro_g1_vp8_dec_run() 451 ctx->vp8_dec.segment_map.size); in hantro_g1_vp8_dec_run()
|
D | rockchip_vpu2_hw_vp8_dec.c | 496 reg = VDPU_REG_FWD_PIC1_SEGMENT_BASE(ctx->vp8_dec.segment_map.dma); in cfg_buffers() 526 if (V4L2_VP8_FRAME_IS_KEY_FRAME(hdr) && ctx->vp8_dec.segment_map.cpu) in rockchip_vpu2_vp8_dec_run() 527 memset(ctx->vp8_dec.segment_map.cpu, 0, in rockchip_vpu2_vp8_dec_run() 528 ctx->vp8_dec.segment_map.size); in rockchip_vpu2_vp8_dec_run()
|
D | hantro_hw.h | 170 struct hantro_aux_buf segment_map; member 225 struct hantro_aux_buf segment_map; member
|
D | hantro_g2_vp9_dec.c | 770 struct hantro_aux_buf *segment_map = &vp9_ctx->segment_map; in config_seg_map() local 775 memset(segment_map->cpu, 0, segment_map->size); in config_seg_map() 780 addr = segment_map->dma + vp9_ctx->active_segment * vp9_ctx->segment_map_size; in config_seg_map() 783 addr = segment_map->dma + (1 - vp9_ctx->active_segment) * vp9_ctx->segment_map_size; in config_seg_map()
|
/drivers/input/misc/ |
D | yealink.c | 77 struct segment_map { struct
|