| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/jpegd/ |
| H A D | hal_jpegd_api.c | 79 MppClientType client_type = VPU_CLIENT_BUTT; in hal_jpegd_init() local 99 client_type = hw_type; in hal_jpegd_init() 105 if (client_type == VPU_CLIENT_BUTT) { in hal_jpegd_init() 107 client_type = VPU_CLIENT_VDPU2; in hal_jpegd_init() 109 client_type = VPU_CLIENT_VDPU1; in hal_jpegd_init() 111 client_type = VPU_CLIENT_JPEG_DEC; in hal_jpegd_init() 114 mpp_env_get_u32("jpegd_mode", &client_type, client_type); in hal_jpegd_init() 116 switch (client_type) { in hal_jpegd_init() 160 if (info->dec_caps[i] && info->dec_caps[i]->type == client_type) { in hal_jpegd_init()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h264d/ |
| H A D | hal_h264d_api.c | 86 MppClientType client_type = VPU_CLIENT_BUTT; in hal_h264d_init() local 113 client_type = hw_type; in hal_h264d_init() 120 if (client_type == VPU_CLIENT_BUTT) { in hal_h264d_init() 122 client_type = VPU_CLIENT_RKVDEC; in hal_h264d_init() 124 client_type = VPU_CLIENT_VDPU1; in hal_h264d_init() 126 client_type = VPU_CLIENT_VDPU2; in hal_h264d_init() 129 H264D_DBG(H264D_DBG_HARD_MODE, "client_type %d\n", client_type); in hal_h264d_init() 133 switch (client_type) { in hal_h264d_init() 135 RK_U32 hw_id = mpp_get_client_hw_id(client_type); in hal_h264d_init() 189 mpp_err_f("client_type error, value=%d\n", client_type); in hal_h264d_init() [all …]
|
| /OK3568_Linux_fs/external/mpp/osal/driver/ |
| H A D | vcodec_service.c | 68 RK_S32 client_type; member 453 VPU_CLIENT_TYPE client_type; in vcodec_service_init() local 462 client_type = VPU_DEC; in vcodec_service_init() 467 client_type = VPU_DEC; in vcodec_service_init() 472 client_type = VPU_DEC_PP; in vcodec_service_init() 477 client_type = VPU_DEC_PP; in vcodec_service_init() 482 client_type = VPU_DEC; in vcodec_service_init() 488 client_type = VPU_DEC; in vcodec_service_init() 494 client_type = VPU_DEC; in vcodec_service_init() 499 client_type = VPU_ENC; in vcodec_service_init() [all …]
|
| H A D | mpp_server.cpp | 568 MppDevBatServ *bat_server_get(MppClientType client_type); 569 MPP_RET bat_server_put(MppClientType client_type); 660 MppDevBatServ *MppDevServer::bat_server_get(MppClientType client_type) in bat_server_get() argument 666 server = mBatServer[client_type]; in bat_server_get() 685 strof_client_type(client_type)); in bat_server_get() 711 mBatServer[client_type] = server; in bat_server_get() 734 MPP_RET MppDevServer::bat_server_put(MppClientType client_type) in bat_server_put() argument 740 if (NULL == mBatServer[client_type]) in bat_server_put() 743 server = mBatServer[client_type]; in bat_server_put() 744 mBatServer[client_type] = NULL; in bat_server_put() [all …]
|
| H A D | mpp_service.c | 292 p->client_type = type; in mpp_service_init()
|
| /OK3568_Linux_fs/external/mpp/osal/ |
| H A D | mpp_platform.cpp | 101 RK_U32 get_hw_id(RK_S32 client_type); 142 RK_U32 MppPlatformService::get_hw_id(RK_S32 client_type) in get_hw_id() argument 146 if (vcodec_type & (1 << client_type)) in get_hw_id() 147 hw_id = hw_ids[client_type]; in get_hw_id() 180 RK_U32 mpp_get_client_hw_id(RK_S32 client_type) in mpp_get_client_hw_id() argument 182 return MppPlatformService::get_instance()->get_hw_id(client_type); in mpp_get_client_hw_id()
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/h265d/ |
| H A D | hal_h265d_api.c | 38 MppClientType client_type = VPU_CLIENT_BUTT; in hal_h265d_init() local 47 client_type = (vcodec_type & HAVE_HEVC_DEC) ? in hal_h265d_init() 50 ret = mpp_dev_init(&cfg->dev, client_type); in hal_h265d_init() 56 hw_id = mpp_get_client_hw_id(client_type); in hal_h265d_init() 60 p->client_type = client_type; in hal_h265d_init()
|
| H A D | hal_h265d_ctx.h | 46 MppClientType client_type; member
|
| H A D | hal_h265d_rkv.c | 958 (reg_ctx->client_type == VPU_CLIENT_RKVDEC) ? in hal_h265d_rkv_start()
|
| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_cluster.cpp | 129 RK_S32 client_type; member 610 MppCluster *get(MppClientType client_type); 611 MPP_RET put(MppClientType client_type); 630 MppCluster *MppClusterServer::get(MppClientType client_type) in get() argument 635 if (client_type >= VPU_CLIENT_BUTT) in get() 641 p = mClusters[client_type]; in get() 651 p->client_type = client_type; in get() 652 snprintf(p->name, sizeof(p->name) - 1, "%d:%d", p->pid, client_type); in get() 665 mClusters[client_type] = p; in get() 674 cluster_dbg_flow("%d get cluster %d failed\n", getpid(), client_type); in get() [all …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/vp9d/ |
| H A D | hal_vp9d_api.c | 36 MppClientType client_type = VPU_CLIENT_RKVDEC; in hal_vp9d_init() local 39 ret = mpp_dev_init(&cfg->dev, client_type); in hal_vp9d_init() 45 hw_id = mpp_get_client_hw_id(client_type); in hal_vp9d_init() 48 p->client_type = client_type; in hal_vp9d_init()
|
| H A D | hal_vp9d_ctx.h | 54 MppClientType client_type; member
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/rkdec/avsd/ |
| H A D | hal_avsd_api.c | 42 MppClientType client_type = VPU_CLIENT_BUTT; in init_hard_platform() local 67 client_type = VPU_CLIENT_AVSPLUS_DEC; in init_hard_platform() 78 client_type = VPU_CLIENT_VDPU1; in init_hard_platform() 89 client_type = VPU_CLIENT_VDPU2; in init_hard_platform() 97 ret = mpp_dev_init(&p_hal->dev, client_type); in init_hard_platform()
|
| /OK3568_Linux_fs/external/mpp/mpp/legacy/ |
| H A D | vpu.c | 63 static RK_S32 vpu_api_set_client_type(int dev, RK_S32 client_type) in vpu_api_set_client_type() argument 75 switch (client_type) { in vpu_api_set_client_type() 94 ret = ioctl(dev, VPU_IOC_SET_CLIENT_TYPE, client_type); in vpu_api_set_client_type() 98 ret = ioctl(dev, VPU_IOC_SET_CLIENT_TYPE_U32, client_type); in vpu_api_set_client_type() 112 ret = ioctl(dev, cmd, client_type); in vpu_api_set_client_type()
|
| /OK3568_Linux_fs/kernel/drivers/media/v4l2-core/ |
| H A D | v4l2-i2c.c | 121 const char *client_type, in v4l2_i2c_new_subdev() argument 132 strscpy(info.type, client_type, sizeof(info.type)); in v4l2_i2c_new_subdev()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hnae3.c | 40 static bool hnae3_client_match(enum hnae3_client_type client_type) in hnae3_client_match() argument 42 if (client_type == HNAE3_CLIENT_KNIC || in hnae3_client_match() 43 client_type == HNAE3_CLIENT_ROCE) in hnae3_client_match()
|
| /OK3568_Linux_fs/kernel/drivers/video/rockchip/mpp/ |
| H A D | mpp_common.c | 1200 u32 client_type; in mpp_process_request() local 1202 if (get_user(client_type, (u32 __user *)req->data)) in mpp_process_request() 1205 mpp_debug(DEBUG_IOCTL, "client %d\n", client_type); in mpp_process_request() 1206 client_type = array_index_nospec(client_type, MPP_DEVICE_BUTT); in mpp_process_request() 1207 if (test_bit(client_type, &srv->hw_support)) in mpp_process_request() 1208 mpp = srv->sub_devices[client_type]; in mpp_process_request() 1229 u32 client_type; in mpp_process_request() local 1231 if (get_user(client_type, (u32 __user *)req->data)) in mpp_process_request() 1234 mpp_debug(DEBUG_IOCTL, "client %d\n", client_type); in mpp_process_request() 1235 if (client_type >= MPP_DEVICE_BUTT) { in mpp_process_request() [all …]
|
| /OK3568_Linux_fs/external/mpp/osal/inc/ |
| H A D | mpp_platform.h | 48 RK_U32 mpp_get_client_hw_id(RK_S32 client_type);
|
| /OK3568_Linux_fs/external/mpp/osal/driver/inc/ |
| H A D | mpp_service_impl.h | 38 RK_S32 client_type; member
|
| /OK3568_Linux_fs/kernel/include/media/ |
| H A D | v4l2-common.h | 153 struct i2c_adapter *adapter, const char *client_type, 227 struct i2c_adapter *adapter, const char *client_type, in v4l2_i2c_new_subdev() argument
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/pm/inc/ |
| H A D | power_state.h | 173 unsigned long client_type; member
|
| /OK3568_Linux_fs/kernel/Documentation/driver-api/media/ |
| H A D | v4l2-subdev.rst | 491 :c:type:`i2c_board_info` structure using the ``client_type`` and the
|
| /OK3568_Linux_fs/app/forlinx/quectelCM/ |
| H A D | QMIThread.c | 310 pMUXMsg->BindMuxDataPortReq.client_type = cpu_to_le32(1); //WDS_CLIENT_TYPE_TETHERED in WdsSetQMUXBindMuxDataPort()
|
| H A D | MPQMUX.h | 443 ULONG client_type; member
|