Home
last modified time | relevance | path

Searched refs:hw_offset (Results 1 – 4 of 4) sorted by relevance

/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/
H A Dhal_h264e_vepu1_v2.c55 VepuOffsetCfg hw_offset; member
201 VepuOffsetCfg *hw_offset = &ctx->hw_offset; in hal_h264e_vepu1_get_task_v2() local
231 hw_offset->fmt = prep->format; in hal_h264e_vepu1_get_task_v2()
232 hw_offset->width = prep->width; in hal_h264e_vepu1_get_task_v2()
233 hw_offset->height = prep->height; in hal_h264e_vepu1_get_task_v2()
234 hw_offset->hor_stride = prep->hor_stride; in hal_h264e_vepu1_get_task_v2()
235 hw_offset->ver_stride = prep->ver_stride; in hal_h264e_vepu1_get_task_v2()
236 hw_offset->offset_x = mpp_frame_get_offset_x(task->frame); in hal_h264e_vepu1_get_task_v2()
237 hw_offset->offset_y = mpp_frame_get_offset_y(task->frame); in hal_h264e_vepu1_get_task_v2()
239 get_vepu_offset_cfg(hw_offset); in hal_h264e_vepu1_get_task_v2()
[all …]
H A Dhal_h264e_vepu2_v2.c55 VepuOffsetCfg hw_offset; member
202 VepuOffsetCfg *hw_offset = &ctx->hw_offset; in hal_h264e_vepu2_get_task_v2() local
232 hw_offset->fmt = prep->format; in hal_h264e_vepu2_get_task_v2()
233 hw_offset->width = prep->width; in hal_h264e_vepu2_get_task_v2()
234 hw_offset->height = prep->height; in hal_h264e_vepu2_get_task_v2()
235 hw_offset->hor_stride = prep->hor_stride; in hal_h264e_vepu2_get_task_v2()
236 hw_offset->ver_stride = prep->ver_stride; in hal_h264e_vepu2_get_task_v2()
237 hw_offset->offset_x = mpp_frame_get_offset_x(task->frame); in hal_h264e_vepu2_get_task_v2()
238 hw_offset->offset_y = mpp_frame_get_offset_y(task->frame); in hal_h264e_vepu2_get_task_v2()
240 get_vepu_offset_cfg(hw_offset); in hal_h264e_vepu2_get_task_v2()
[all …]
/OK3568_Linux_fs/external/mpp/mpp/hal/vpu/vp8e/
H A Dhal_vp8e_base.c1357 VepuOffsetCfg hw_offset; in hal_vp8e_enc_strm_code() local
1371 hw_offset.fmt = prep->format; in hal_vp8e_enc_strm_code()
1373 hw_offset.width = prep->width; in hal_vp8e_enc_strm_code()
1374 hw_offset.height = prep->height; in hal_vp8e_enc_strm_code()
1375 hw_offset.hor_stride = prep->hor_stride; in hal_vp8e_enc_strm_code()
1376 hw_offset.ver_stride = prep->ver_stride; in hal_vp8e_enc_strm_code()
1377 hw_offset.offset_x = mpp_frame_get_offset_x(task->frame); in hal_vp8e_enc_strm_code()
1378 hw_offset.offset_y = mpp_frame_get_offset_y(task->frame); in hal_vp8e_enc_strm_code()
1380 get_vepu_offset_cfg(&hw_offset); in hal_vp8e_enc_strm_code()
1389 hw_cfg->input_lum_offset = hw_offset.offset_byte[0]; in hal_vp8e_enc_strm_code()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/qlogic/qed/
H A Dqed_hw.c229 u32 dw_count, *host_addr, hw_offset; in qed_memcpy_hw() local
239 hw_offset = qed_ptt_get_bar_addr(p_ptt); in qed_memcpy_hw()
241 hw_offset = hw_addr + done; in qed_memcpy_hw()
246 reg_addr = (u32 __iomem *)REG_ADDR(p_hwfn, hw_offset); in qed_memcpy_hw()