Home
last modified time | relevance | path

Searched refs:backward_addr (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/media/platform/verisilicon/
H A Drockchip_vpu2_hw_mpeg2_dec.c101 dma_addr_t forward_addr = 0, backward_addr = 0; in rockchip_vpu2_mpeg2_dec_set_buffers() local
106 backward_addr = hantro_get_ref(ctx, pic->backward_ref_ts); in rockchip_vpu2_mpeg2_dec_set_buffers()
126 if (!backward_addr) in rockchip_vpu2_mpeg2_dec_set_buffers()
127 backward_addr = current_addr; in rockchip_vpu2_mpeg2_dec_set_buffers()
147 vdpu_write_relaxed(vpu, backward_addr, VDPU_REG_REFER2_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
148 vdpu_write_relaxed(vpu, backward_addr, VDPU_REG_REFER3_BASE); in rockchip_vpu2_mpeg2_dec_set_buffers()
H A Dhantro_g1_mpeg2_dec.c98 dma_addr_t forward_addr = 0, backward_addr = 0; in hantro_g1_mpeg2_dec_set_buffers() local
103 backward_addr = hantro_get_ref(ctx, pic->backward_ref_ts); in hantro_g1_mpeg2_dec_set_buffers()
123 if (!backward_addr) in hantro_g1_mpeg2_dec_set_buffers()
124 backward_addr = current_addr; in hantro_g1_mpeg2_dec_set_buffers()
144 vdpu_write_relaxed(vpu, backward_addr, G1_REG_REFER2_BASE); in hantro_g1_mpeg2_dec_set_buffers()
145 vdpu_write_relaxed(vpu, backward_addr, G1_REG_REFER3_BASE); in hantro_g1_mpeg2_dec_set_buffers()