Home
last modified time | relevance | path

Searched refs:mpp_req (Results 1 – 5 of 5) sorted by relevance

/rockchip-linux_mpp/osal/driver/
H A Dmpp_service.c60 MppReqV1 mpp_req; in mpp_service_ioctl() local
62 memset(&mpp_req, 0, sizeof(mpp_req)); in mpp_service_ioctl()
64 mpp_req.cmd = cmd; in mpp_service_ioctl()
65 mpp_req.flag = 0; in mpp_service_ioctl()
66 mpp_req.size = size; in mpp_service_ioctl()
67 mpp_req.offset = 0; in mpp_service_ioctl()
68 mpp_req.data_ptr = REQ_DATA_PTR(param); in mpp_service_ioctl()
70 return (RK_S32)ioctl(fd, MPP_IOC_CFG_V1, &mpp_req); in mpp_service_ioctl()
101 MppReqV1 mpp_req; in check_mpp_service_cap() local
133 memset(&mpp_req, 0, sizeof(mpp_req)); in check_mpp_service_cap()
[all …]
/rockchip-linux_mpp/mpp/vproc/vdpp/
H A Dvdpp.c171 MppReqV1 mpp_req; in vdpp_init() local
190 mpp_req.cmd = MPP_CMD_INIT_CLIENT_TYPE; in vdpp_init()
191 mpp_req.flag = 0; in vdpp_init()
192 mpp_req.size = sizeof(client_data); in vdpp_init()
193 mpp_req.data_ptr = REQ_DATA_PTR(&client_data); in vdpp_init()
199 ret = (RK_S32)ioctl(ctx->fd, MPP_IOC_CFG_V1, &mpp_req); in vdpp_init()
315 MppReqV1 mpp_req[9]; in vdpp_start() local
337 memset(mpp_req, 0, sizeof(mpp_req)); in vdpp_start()
342 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp_start()
343 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp_start()
[all …]
H A Dvdpp2.c1442 MppReqV1 mpp_req; in vdpp2_init() local
1461 mpp_req.cmd = MPP_CMD_INIT_CLIENT_TYPE; in vdpp2_init()
1462 mpp_req.flag = 0; in vdpp2_init()
1463 mpp_req.size = sizeof(client_data); in vdpp2_init()
1464 mpp_req.data_ptr = REQ_DATA_PTR(&client_data); in vdpp2_init()
1470 ret = (RK_S32)ioctl(ctx->fd, MPP_IOC_CFG_V1, &mpp_req); in vdpp2_init()
1778 MppReqV1 mpp_req[12]; in vdpp2_start() local
1803 memset(mpp_req, 0, sizeof(mpp_req)); in vdpp2_start()
1808 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1809 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
[all …]
/rockchip-linux_mpp/mpp/vproc/iep2/
H A Diep2.c76 MppReqV1 mpp_req; in iep2_init() local
87 mpp_req.cmd = MPP_CMD_INIT_CLIENT_TYPE; in iep2_init()
88 mpp_req.flag = 0; in iep2_init()
89 mpp_req.size = sizeof(client_data); in iep2_init()
90 mpp_req.data_ptr = REQ_DATA_PTR(&client_data); in iep2_init()
92 ret = (RK_S32)ioctl(ctx->fd, MPP_IOC_CFG_V1, &mpp_req); in iep2_init()
378 MppReqV1 mpp_req[2]; in iep2_start() local
382 mpp_req[0].cmd = MPP_CMD_SET_REG_WRITE; in iep2_start()
383 mpp_req[0].flag = MPP_FLAGS_MULTI_MSG; in iep2_start()
384 mpp_req[0].size = sizeof(ctx->params); in iep2_start()
[all …]
/rockchip-linux_mpp/mpp/legacy/
H A Dvpu.c68 MppReqV1 mpp_req; in vpu_api_set_client_type() local
85 mpp_req.cmd = MPP_CMD_INIT_CLIENT_TYPE; in vpu_api_set_client_type()
86 mpp_req.flag = 0; in vpu_api_set_client_type()
87 mpp_req.size = sizeof(client_data); in vpu_api_set_client_type()
88 mpp_req.offset = 0; in vpu_api_set_client_type()
89 mpp_req.data_ptr = REQ_DATA_PTR(&client_data); in vpu_api_set_client_type()
90 ret = (RK_S32)ioctl(dev, MPP_IOC_CFG_V1, &mpp_req); in vpu_api_set_client_type()
278 MppReqV1 mpp_req; in VPUClientWaitResult() local
288 mpp_req.cmd = MPP_CMD_POLL_HW_FINISH; in VPUClientWaitResult()
289 mpp_req.flag = 0; in VPUClientWaitResult()
[all …]