Lines Matching refs:mpp_req

1442     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()
1810 mpp_req[req_cnt].size = sizeof(zme->yrgb_hor_coe); in vdpp2_start()
1811 mpp_req[req_cnt].offset = VDPP_REG_OFF_YRGB_HOR_COE; in vdpp2_start()
1812 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&zme->yrgb_hor_coe); in vdpp2_start()
1815 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1816 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
1817 mpp_req[req_cnt].size = sizeof(zme->yrgb_ver_coe); in vdpp2_start()
1818 mpp_req[req_cnt].offset = VDPP_REG_OFF_YRGB_VER_COE; in vdpp2_start()
1819 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&zme->yrgb_ver_coe); in vdpp2_start()
1822 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1823 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
1824 mpp_req[req_cnt].size = sizeof(zme->cbcr_hor_coe); in vdpp2_start()
1825 mpp_req[req_cnt].offset = VDPP_REG_OFF_CBCR_HOR_COE; in vdpp2_start()
1826 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&zme->cbcr_hor_coe); in vdpp2_start()
1829 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1830 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
1831 mpp_req[req_cnt].size = sizeof(zme->cbcr_ver_coe); in vdpp2_start()
1832 mpp_req[req_cnt].offset = VDPP_REG_OFF_CBCR_VER_COE; in vdpp2_start()
1833 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&zme->cbcr_ver_coe); in vdpp2_start()
1836 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1837 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
1838 mpp_req[req_cnt].size = sizeof(zme->common); in vdpp2_start()
1839 mpp_req[req_cnt].offset = VDPP_REG_OFF_ZME_COMMON; in vdpp2_start()
1840 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&zme->common); in vdpp2_start()
1843 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1844 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
1845 mpp_req[req_cnt].size = sizeof(ctx->dmsr); in vdpp2_start()
1846 mpp_req[req_cnt].offset = VDPP_REG_OFF_DMSR; in vdpp2_start()
1847 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&ctx->dmsr); in vdpp2_start()
1850 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1851 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
1852 mpp_req[req_cnt].size = sizeof(reg->dci); in vdpp2_start()
1853 mpp_req[req_cnt].offset = VDPP_REG_OFF_DCI; in vdpp2_start()
1854 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&reg->dci); in vdpp2_start()
1857 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1858 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
1859 mpp_req[req_cnt].size = sizeof(reg->es); in vdpp2_start()
1860 mpp_req[req_cnt].offset = VDPP_REG_OFF_ES; in vdpp2_start()
1861 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&reg->es); in vdpp2_start()
1864 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1865 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
1866 mpp_req[req_cnt].size = sizeof(reg->sharp); in vdpp2_start()
1867 mpp_req[req_cnt].offset = VDPP_REG_OFF_SHARP; in vdpp2_start()
1868 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&reg->sharp); in vdpp2_start()
1880 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_ADDR_OFFSET; in vdpp2_start()
1881 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG | MPP_FLAGS_REG_OFFSET_ALONE; in vdpp2_start()
1882 mpp_req[req_cnt].size = sizeof(reg_off); in vdpp2_start()
1883 mpp_req[req_cnt].offset = 0; in vdpp2_start()
1884 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(reg_off); in vdpp2_start()
1887 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_WRITE; in vdpp2_start()
1888 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG; in vdpp2_start()
1889 mpp_req[req_cnt].size = sizeof(reg->common); in vdpp2_start()
1890 mpp_req[req_cnt].offset = 0; in vdpp2_start()
1891 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&reg->common); in vdpp2_start()
1894 mpp_req[req_cnt].cmd = MPP_CMD_SET_REG_READ; in vdpp2_start()
1895 mpp_req[req_cnt].flag = MPP_FLAGS_MULTI_MSG | MPP_FLAGS_LAST_MSG; in vdpp2_start()
1896 mpp_req[req_cnt].size = sizeof(reg->common); in vdpp2_start()
1897 mpp_req[req_cnt].offset = 0; in vdpp2_start()
1898 mpp_req[req_cnt].data_ptr = REQ_DATA_PTR(&reg->common); in vdpp2_start()
1900 ret = (RK_S32)ioctl(ctx->fd, MPP_IOC_CFG_V1, &mpp_req[0]); in vdpp2_start()
1914 MppReqV1 mpp_req; in vdpp2_wait() local
1921 memset(&mpp_req, 0, sizeof(mpp_req)); in vdpp2_wait()
1922 mpp_req.cmd = MPP_CMD_POLL_HW_FINISH; in vdpp2_wait()
1923 mpp_req.flag |= MPP_FLAGS_LAST_MSG; in vdpp2_wait()
1925 ret = (RK_S32)ioctl(ctx->fd, MPP_IOC_CFG_V1, &mpp_req); in vdpp2_wait()