| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_vdpu382.c | 143 reg_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(Vdpu382H265dRegSet)); in hal_h265d_vdpu382_init() 151 reg_ctx->hw_regs = reg_ctx->g_buf[0].hw_regs; in hal_h265d_vdpu382_init() 215 MPP_FREE(reg_ctx->g_buf[i].hw_regs); in hal_h265d_vdpu382_deinit() 238 Vdpu382H265dRegSet *hw_reg = (Vdpu382H265dRegSet*)(reg_ctx->hw_regs); in hal_h265d_v382_output_pps_packet() 458 Vdpu382H265dRegSet *hw_regs, in h265d_refine_rcb_size() argument 533 if (hw_regs->common.reg012.fbc_e) { in h265d_refine_rcb_size() 542 if (hw_regs->common.reg012.fbc_e) { in h265d_refine_rcb_size() 561 Vdpu382H265dRegSet *hw_regs, in hal_h265d_rcb_info_update() argument 582 h265d_refine_rcb_size((Vdpu382RcbInfo*)reg_ctx->rcb_info, hw_regs, width, height, dxva_cxt); in hal_h265d_rcb_info_update() 635 Vdpu382H265dRegSet *hw_regs; in hal_h265d_vdpu382_gen_regs() local [all …]
|
| H A D | hal_h265d_vdpu34x.c | 143 reg_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(Vdpu34xH265dRegSet)); in hal_h265d_vdpu34x_init() 151 reg_ctx->hw_regs = reg_ctx->g_buf[0].hw_regs; in hal_h265d_vdpu34x_init() 211 MPP_FREE(reg_ctx->g_buf[i].hw_regs); in hal_h265d_vdpu34x_deinit() 234 Vdpu34xH265dRegSet *hw_reg = (Vdpu34xH265dRegSet*)(reg_ctx->hw_regs); in hal_h265d_v345_output_pps_packet() 676 Vdpu34xH265dRegSet *hw_regs, in h265d_refine_rcb_size() argument 741 if (hw_regs->common.reg012.fbc_e) { in h265d_refine_rcb_size() 748 if (hw_regs->common.reg012.fbc_e) { in h265d_refine_rcb_size() 766 Vdpu34xH265dRegSet *hw_regs, in hal_h265d_rcb_info_update() argument 787 h265d_refine_rcb_size((Vdpu34xRcbInfo*)reg_ctx->rcb_info, hw_regs, width, height, dxva_cxt); in hal_h265d_rcb_info_update() 840 Vdpu34xH265dRegSet *hw_regs; in hal_h265d_vdpu34x_gen_regs() local [all …]
|
| H A D | hal_h265d_rkv.c | 48 reg_ctx->g_buf[i].hw_regs = in hal_h265d_alloc_res() 73 reg_ctx->hw_regs = mpp_calloc_size(void, sizeof(H265d_REGS_t)); in hal_h265d_alloc_res() 127 if (reg_ctx->g_buf[i].hw_regs) { in hal_h265d_release_res() 128 mpp_free(reg_ctx->g_buf[i].hw_regs); in hal_h265d_release_res() 129 reg_ctx->g_buf[i].hw_regs = NULL; in hal_h265d_release_res() 156 if (reg_ctx->hw_regs) { in hal_h265d_release_res() 157 mpp_free(reg_ctx->hw_regs); in hal_h265d_release_res() 158 reg_ctx->hw_regs = NULL; in hal_h265d_release_res() 751 H265d_REGS_t *hw_regs; in hal_h265d_rkv_gen_regs() local 779 reg_ctx->hw_regs = reg_ctx->g_buf[i].hw_regs; in hal_h265d_rkv_gen_regs() [all …]
|
| H A D | hal_h265d_ctx.h | 32 void* hw_regs; member 66 void* hw_regs; member
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/vp9d/ |
| H A D | hal_vp9d_vdpu382.c | 54 void* hw_regs; member 108 hw_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(Vdpu382Vp9dRegSet)); in hal_vp9d_alloc_res() 116 hw_ctx->hw_regs = mpp_calloc_size(void, sizeof(Vdpu382Vp9dRegSet)); in hal_vp9d_alloc_res() 164 if (hw_ctx->g_buf[i].hw_regs) { in hal_vp9d_release_res() 165 mpp_free(hw_ctx->g_buf[i].hw_regs); in hal_vp9d_release_res() 166 hw_ctx->g_buf[i].hw_regs = NULL; in hal_vp9d_release_res() 185 if (hw_ctx->hw_regs) { in hal_vp9d_release_res() 186 mpp_free(hw_ctx->hw_regs); in hal_vp9d_release_res() 187 hw_ctx->hw_regs = NULL; in hal_vp9d_release_res() 355 static void hal_vp9d_rcb_info_update(void *hal, Vdpu382Vp9dRegSet *hw_regs, void *data) in hal_vp9d_rcb_info_update() argument [all …]
|
| H A D | hal_vp9d_vdpu34x.c | 54 void* hw_regs; member 108 hw_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(Vdpu34xVp9dRegSet)); in hal_vp9d_alloc_res() 116 hw_ctx->hw_regs = mpp_calloc_size(void, sizeof(Vdpu34xVp9dRegSet)); in hal_vp9d_alloc_res() 163 if (hw_ctx->g_buf[i].hw_regs) { in hal_vp9d_release_res() 164 mpp_free(hw_ctx->g_buf[i].hw_regs); in hal_vp9d_release_res() 165 hw_ctx->g_buf[i].hw_regs = NULL; in hal_vp9d_release_res() 184 if (hw_ctx->hw_regs) { in hal_vp9d_release_res() 185 mpp_free(hw_ctx->hw_regs); in hal_vp9d_release_res() 186 hw_ctx->hw_regs = NULL; in hal_vp9d_release_res() 342 static void hal_vp9d_rcb_info_update(void *hal, Vdpu34xVp9dRegSet *hw_regs, void *data) in hal_vp9d_rcb_info_update() argument [all …]
|
| H A D | hal_vp9d_rkv.c | 40 void* hw_regs; member 63 hw_ctx->g_buf[i].hw_regs = mpp_calloc_size(void, sizeof(VP9_REGS)); in hal_vp9d_alloc_res() 90 hw_ctx->hw_regs = mpp_calloc_size(void, sizeof(VP9_REGS)); in hal_vp9d_alloc_res() 152 if (hw_ctx->g_buf[i].hw_regs) { in hal_vp9d_release_res() 153 mpp_free(hw_ctx->g_buf[i].hw_regs); in hal_vp9d_release_res() 154 hw_ctx->g_buf[i].hw_regs = NULL; in hal_vp9d_release_res() 186 if (hw_ctx->hw_regs) { in hal_vp9d_release_res() 187 mpp_free(hw_ctx->hw_regs); in hal_vp9d_release_res() 188 hw_ctx->hw_regs = NULL; in hal_vp9d_release_res() 279 hw_ctx->hw_regs = hw_ctx->g_buf[i].hw_regs; in hal_vp9d_rkv_gen_regs() [all …]
|
| H A D | hal_vp9d_ctx.h | 45 void *hw_regs; member
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/embedded6xx/ |
| H A D | wii.c | 74 void __iomem *hw_regs = NULL; in wii_ioremap_hw_regs() local 90 hw_regs = ioremap(res.start, resource_size(&res)); in wii_ioremap_hw_regs() 91 if (hw_regs) { in wii_ioremap_hw_regs() 93 res.start, hw_regs); in wii_ioremap_hw_regs() 99 return hw_regs; in wii_ioremap_hw_regs()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/jpege/ |
| H A D | hal_jpege_vepu540c.c | 233 JpegV540cRegSet *hw_regs = ctx->regs; in hal_jpege_v540c_start() local 245 cfg.reg = (RK_U32*)&hw_regs->reg_ctl; in hal_jpege_v540c_start() 255 cfg.reg = &hw_regs->jpeg_table; in hal_jpege_v540c_start() 265 cfg.reg = &hw_regs->reg_base; in hal_jpege_v540c_start()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkenc/h265e/ |
| H A D | hal_h265e_vepu580.c | 2074 static MPP_RET hal_h265e_v580_send_regs(MppDev dev, H265eV580RegSet *hw_regs, H265eV580StatusElem *… in hal_h265e_v580_send_regs() argument 2076 RK_U32 *regs = (RK_U32*)hw_regs; in hal_h265e_v580_send_regs() 2082 cfg.reg = (RK_U32*)&hw_regs->reg_ctl; in hal_h265e_v580_send_regs() 2093 regs = (RK_U32*)&hw_regs->reg_ctl; in hal_h265e_v580_send_regs() 2099 cfg.reg = &hw_regs->reg_base; in hal_h265e_v580_send_regs() 2110 regs = (RK_U32*)(&hw_regs->reg_base); in hal_h265e_v580_send_regs() 2120 cfg.reg = &hw_regs->reg_rc_klut; in hal_h265e_v580_send_regs() 2127 regs = (RK_U32*)&hw_regs->reg_rc_klut; in hal_h265e_v580_send_regs() 2138 cfg.reg = &hw_regs->reg_wgt; in hal_h265e_v580_send_regs() 2149 regs = (RK_U32*)&hw_regs->reg_wgt; in hal_h265e_v580_send_regs() [all …]
|
| H A D | hal_h265e_vepu540c.c | 1292 H265eV540cRegSet *hw_regs = ctx->regs; in hal_h265e_v540c_start() local 1305 cfg.reg = (RK_U32*)&hw_regs->reg_ctl; in hal_h265e_v540c_start() 1316 regs = (RK_U32*)&hw_regs->reg_ctl; in hal_h265e_v540c_start() 1322 cfg.reg = &hw_regs->reg_base; in hal_h265e_v540c_start() 1333 regs = (RK_U32*)(&hw_regs->reg_base); in hal_h265e_v540c_start() 1342 cfg.reg = &hw_regs->reg_rc_roi; in hal_h265e_v540c_start() 1353 regs = (RK_U32*)&hw_regs->reg_rc_roi; in hal_h265e_v540c_start() 1359 cfg.reg = &hw_regs->reg_wgt; in hal_h265e_v540c_start() 1370 regs = (RK_U32*)&hw_regs->reg_wgt; in hal_h265e_v540c_start() 1376 cfg.reg = &hw_regs->reg_rdo; in hal_h265e_v540c_start()
|
| H A D | hal_h265e_vepu541.c | 1745 H265eV541RegSet *hw_regs = ctx->regs; in hal_h265e_v540_start() local 1749 vepu540_h265_set_me_ram(syn, hw_regs, k); in hal_h265e_v540_start() 1755 hal_h265e_v540_set_uniform_tile(hw_regs, syn, k); in hal_h265e_v540_start() 1761 hw_regs->bsbb_addr_hevc = mpp_buffer_get_fd(enc_task->output); in hal_h265e_v540_start() 1762 hw_regs->bsbw_addr_hevc = hw_regs->bsbb_addr_hevc; in hal_h265e_v540_start()
|
| /OK3568_Linux_fs/kernel/drivers/bluetooth/ |
| H A D | btmrvl_main.c | 403 priv->adapter->hw_regs = NULL; in btmrvl_init_adapter() 406 priv->adapter->hw_regs = in btmrvl_init_adapter() 410 priv->adapter->hw_regs_buf, priv->adapter->hw_regs); in btmrvl_init_adapter()
|
| H A D | btmrvl_drv.h | 89 u8 *hw_regs; member
|
| H A D | btmrvl_sdio.c | 870 ret = sdio_readsb(card->func, adapter->hw_regs, 0, SDIO_BLOCK_SIZE); in btmrvl_sdio_read_to_clear() 876 *ireg = adapter->hw_regs[card->reg->host_intstatus]; in btmrvl_sdio_read_to_clear()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/avs2d/ |
| H A D | hal_avs2d_vdpu382.c | 282 Vdpu382Avs2dRegSet *hw_regs, in avs2d_refine_rcb_size() argument 343 if (hw_regs->common.reg012.fbc_e) in avs2d_refine_rcb_size() 354 static void hal_avs2d_rcb_info_update(void *hal, Vdpu382Avs2dRegSet *hw_regs) in hal_avs2d_rcb_info_update() argument 365 avs2d_refine_rcb_size(reg_ctx->rcb_info, hw_regs, width, height, (void *)&p_hal->syntax); in hal_avs2d_rcb_info_update()
|
| H A D | hal_avs2d_rkv.c | 291 static void hal_avs2d_rcb_info_update(void *hal, Vdpu34xAvs2dRegSet *hw_regs) in hal_avs2d_rcb_info_update() argument 301 (void) hw_regs; in hal_avs2d_rcb_info_update()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/micrel/ |
| H A D | ksz884x.c | 6084 static struct hw_regs { struct 6107 struct hw_regs *range = hw_regs_range; in netdev_get_regs_len() argument 6132 struct hw_regs *range = hw_regs_range; in netdev_get_regs()
|