| /utopia/UTPA2-700.0.x/modules/dmx/utopia_adaption/dmx/ |
| H A D | DMX_adp.c | 145 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((un… macro 151 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 285 CMP_CPY_FROM_USER((void*)&(pTspParamDec->phyFWAddr), ps8AdpSrc, LEN_MSPHY); in DMX_adp_Ioctl() 287 CMP_CPY_FROM_USER((void*)&(pTspParamDec->u32FWSize), ps8AdpSrc, LEN_U32_X1); in DMX_adp_Ioctl() 290 CMP_CPY_FROM_USER((void*)&(pTspParamDec->phyVQAddr), ps8AdpSrc, LEN_MSPHY); in DMX_adp_Ioctl() 292 CMP_CPY_FROM_USER((void*)&(pTspParamDec->u32VQSize), ps8AdpSrc, 20); //U32 x 5 in DMX_adp_Ioctl() 317 CMP_CPY_FROM_USER((void*)buffer_arg, ps8AdpSrc, 1); in DMX_adp_Ioctl() 319 CMP_CPY_FROM_USER(&u32NextPtr, ps8AdpSrc, LEN_U32_X1); in DMX_adp_Ioctl() 321 CMP_CPY_FROM_USER(&u32NextPtr1, ps8AdpSrc, LEN_U32_X1); in DMX_adp_Ioctl() 325 CMP_CPY_FROM_USER((void*)pphy, u32NextPtr, LEN_MSPHY); in DMX_adp_Ioctl() [all …]
|
| /utopia/UTPA2-700.0.x/modules/hdmi/utopia_adaption/hdmitx/ |
| H A D | HDMITX_adp.c | 142 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((unsigned long)b), … macro 150 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 1137 … CMP_CPY_FROM_USER(&stCompatHDMITxArgs, pArgs, sizeof(stHDMITx_GetRxVideoFormatFromEDID_Compat)); in HDMITX_adp_Ioctl() 1141 …CMP_CPY_FROM_USER(stHDMITxArgs.pu8Buffer, stCompatHDMITxArgs.pu8Buffer, sizeof(MS_U8)*stHDMITxArgs… in HDMITX_adp_Ioctl() 1184 … CMP_CPY_FROM_USER(&stCompatHDMITxArgs, pArgs, sizeof(stHDMITx_GetVICListFromEDID_Compat)); in HDMITX_adp_Ioctl() 1188 …CMP_CPY_FROM_USER(stHDMITxArgs.pu8Buffer, stCompatHDMITxArgs.pu8Buffer, sizeof(MS_U8) *stCompatHDM… in HDMITX_adp_Ioctl() 1239 … CMP_CPY_FROM_USER(&stCompatHDMITxArgs, pArgs, sizeof(stHDMITx_GetColorFormatFromEDID_Compat)); in HDMITX_adp_Ioctl() 1242 …CMP_CPY_FROM_USER(stHDMITxArgs.pColorFmt, stCompatHDMITxArgs.pColorFmt, sizeof(HDMITX_EDID_COLOR_F… in HDMITX_adp_Ioctl() 1286 … CMP_CPY_FROM_USER(&stCompatHDMITxArgs, pArgs, sizeof(stHDMITx_GetRxAudioFormatFromEDID_Compat)); in HDMITX_adp_Ioctl() 1289 …CMP_CPY_FROM_USER(stHDMITxArgs.pu8Buffer, stCompatHDMITxArgs.pu8Buffer, sizeof(MS_U8)*stCompatHDMI… in HDMITX_adp_Ioctl() [all …]
|
| /utopia/UTPA2-700.0.x/modules/hwi2c/utopia_adaption/hwi2c/ |
| H A D | HWI2C_adp.c | 71 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((un… macro 78 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 178 CMP_CPY_FROM_USER(&tmp_compat, pArgs, sizeof(_compat_stHWI2C_PRIVATE_PARAM_WriteBytes)); in HWI2C_adp_Ioctl() 181 CMP_CPY_FROM_USER(tmp.pRegAddr, tmp_compat.pRegAddr, sizeof(MS_U8)*tmp_compat.uAddrCnt); in HWI2C_adp_Ioctl() 182 CMP_CPY_FROM_USER(tmp.pData, tmp_compat.pData, sizeof(MS_U8)*tmp_compat.uSize); in HWI2C_adp_Ioctl() 221 CMP_CPY_FROM_USER(&tmpr_compat, pArgs, sizeof(_compat_stHWI2C_PRIVATE_PARAM_ReadBytes)); in HWI2C_adp_Ioctl() 224 CMP_CPY_FROM_USER(tmpr.pRegAddr, tmpr_compat.pRegAddr, sizeof(MS_U8)*tmpr_compat.uAddrCnt); in HWI2C_adp_Ioctl()
|
| /utopia/UTPA2-700.0.x/modules/hdmi/utopia_adaption/mhl/ |
| H A D | adpMHL.c | 149 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((unsigned long)b), … 157 #define CMP_CPY_FROM_USER CPY_FROM_USER 431 CMP_CPY_FROM_USER(&stCompatMHLArgs, pArgs, sizeof(stMHL_READ_EDID_COMPAT)); 530 … CMP_CPY_FROM_USER(&stCompatMHLArgs, pArgs, sizeof(stMHL_SEND_WRITE_BURST_COMPAT)); 535 CMP_CPY_FROM_USER(stMHLArgs.ucData, stCompatMHLArgs.ucData, ulDataSize); 576 … CMP_CPY_FROM_USER(&stCompatMHLArgs, pArgs, sizeof(stMHL_SEND_USER_WRITE_BURST_COMPAT)); 581 CMP_CPY_FROM_USER(stMHLArgs.ucData, stCompatMHLArgs.ucData, ulDataSize);
|
| /utopia/UTPA2-700.0.x/modules/xc/utopia_adaption/xc/ |
| H A D | XC_ModeParse_adp.c | 134 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((un… macro 141 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 257 CMP_CPY_FROM_USER(&tmp_compat, pArgs, sizeof(_compat_stXC_MODEPARSE_MATCHMODE)); in XC_MODEPARSE_adp_Ioctl() 260 …CMP_CPY_FROM_USER(tmp.ModeDB, tmp_compat.ModeDB, sizeof(MS_PCADC_MODETABLE_TYPE)*tmp_compat.u8Numb… in XC_MODEPARSE_adp_Ioctl() 261 … CMP_CPY_FROM_USER(tmp.psInputInfo, tmp_compat.psInputInfo, sizeof(XC_MODEPARSE_INPUT_INFO)); in XC_MODEPARSE_adp_Ioctl()
|
| H A D | XC_HDMI_if_adp.c | 151 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((unsigned long)b), … macro 159 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 821 CMP_CPY_FROM_USER(&stCompatHDMIRxArgs, pArgs, sizeof(stHDMI_CONTROL_COMPAT)); in XC_HDMI_if_adp_Ioctl() 982 … CMP_CPY_FROM_USER(&stCompatHDMIRxArgs, pArgs, sizeof(stHDCP22_SEND_MESSAGE_COMPAT)); in HDMIRX_adp_Ioctl() 987 CMP_CPY_FROM_USER(stHDMIRxArgs.pucData, stCompatHDMIRxArgs.pucData, ulDataSize); in HDMIRX_adp_Ioctl()
|
| H A D | XC_adp.c | 141 …#define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((u… macro 145 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 4330 … CMP_CPY_FROM_USER(&hdr_ctl_tmp_compact, pArgs, sizeof(_compact_stXC_HDR_CTRL)); in _XC_adp_Ioctl() 4335 … CMP_CPY_FROM_USER(&temp_ptr, hdr_3dlut_info_compact_ptr, sizeof(_compact_XC_HDR_3DLUT_INFO)); in _XC_adp_Ioctl() 4341 CMP_CPY_FROM_USER(hdr_3dlut_info_ptr->pu8Data, in _XC_adp_Ioctl() 4418 CMP_CPY_FROM_USER(&hdr_ctl_tmp_compact, pArgs, sizeof(XC_CFD_CONTROL_INFO)); in _XC_adp_Ioctl() 4423 …CMP_CPY_FROM_USER(&temp_ptr, xc_cfd_control_info_compact_ptr, sizeof(_compact_XC_CFD_CONTROL_INFO)… in _XC_adp_Ioctl() 4431 CMP_CPY_FROM_USER(xc_cfdt_control_ptr->pParam, in _XC_adp_Ioctl()
|
| /utopia/UTPA2-700.0.x/modules/dscmb/utopia_adaption/dscmb2/ |
| H A D | DSCMB_adp.c | 28 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((un… macro 34 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 377 CMP_CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(DSCMB_KL_ATOMICEXEC)); in DSCMB_adp_Ioctl() 378 … CMP_CPY_FROM_USER((void*)buffer_array0, (void*)pKLAtomicArgs->KLCfg, sizeof(DSCMB_KLCfg_All)); in DSCMB_adp_Ioctl() 417 CMP_CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(DSCMB_KL_ETSI)); in DSCMB_adp_Ioctl() 418 … CMP_CPY_FROM_USER((void*)buffer_array0, (void*)pKLETSIArgs->KLCfg, sizeof(DSCMB_KLCfg_All)); in DSCMB_adp_Ioctl()
|
| /utopia/UTPA2-700.0.x/modules/hdmi/utopia_adaption/cec/ |
| H A D | adpCEC.c | 148 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((unsigned long)b), … 156 #define CMP_CPY_FROM_USER CPY_FROM_USER 560 CMP_CPY_FROM_USER(&stCompatCECArgs, pArgs, sizeof(stCEC_TX_SEND_MSG_COMPAT)); 562 … CMP_CPY_FROM_USER(stCECArgs.ucCmd, stCompatCECArgs.ucCmd, sizeof(MS_U8) *stCompatCECArgs.ucLen); 601 CMP_CPY_FROM_USER(&stCompatCECArgs, pArgs, sizeof(stCEC_TX_SEND_MSG2_COMPAT)); 603 … CMP_CPY_FROM_USER(stCECArgs.ucCmd, stCompatCECArgs.ucCmd, sizeof(MS_U8) *stCompatCECArgs.ucLen);
|
| /utopia/UTPA2-700.0.x/modules/xc/utopia_adaption/ace/ |
| H A D | ACE_adp.c | 30 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((un… macro 37 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 480 CMP_CPY_FROM_USER(&tmp_compat, pArgs, sizeof(_cmp_stACE_Init)); in ACE_adp_Ioctl() 485 CMP_CPY_FROM_USER(tmp.pstXC_ACE_InitData,ptr,sizeof(_cmp_XC_ACE_InitData)); in ACE_adp_Ioctl() 491 … CMP_CPY_FROM_USER(tmp.pstXC_ACE_InitData->S16ColorCorrectionMatrix,ptr1,sizeof(MS_S16)*32); in ACE_adp_Ioctl() 492 CMP_CPY_FROM_USER(tmp.pstXC_ACE_InitData->S16RGB,ptr2,sizeof(MS_S16)*9); in ACE_adp_Ioctl()
|
| /utopia/UTPA2-700.0.x/modules/vdec_v3/utopia_adaption/vdec_v3/ |
| H A D | VDEC_EX_adp.c | 38 …#define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((u… macro 42 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 1158 … CMP_CPY_FROM_USER((VDEC_EX_VerCtl*)&version, user_IO_Param->param[0], sizeof(VDEC_EX_VerCtl)); in VDEC_EX_adp_Ioctl() 1164 … CMP_CPY_FROM_USER((VDEC_EX_VerCtl*)&version, user_IO_Param->param[0], sizeof(VDEC_EX_VerCtl)); in VDEC_EX_adp_Ioctl()
|
| /utopia/UTPA2-700.0.x/modules/vdec_lite/utopia_adaption/vdec_lite/ |
| H A D | VDEC_EX_adp.c | 38 …#define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((u… macro 42 #define CMP_CPY_FROM_USER CPY_FROM_USER macro 1200 … CMP_CPY_FROM_USER((VDEC_EX_VerCtl*)&version, user_IO_Param->param[0], sizeof(VDEC_EX_VerCtl)); in VDEC_EX_adp_Ioctl() 1206 … CMP_CPY_FROM_USER((VDEC_EX_VerCtl*)&version, user_IO_Param->param[0], sizeof(VDEC_EX_VerCtl)); in VDEC_EX_adp_Ioctl()
|
| /utopia/UTPA2-700.0.x/modules/dlc/utopia_adaption/dlc/ |
| H A D | DLC_adp.c | 29 …#define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((u… macro 33 #define CMP_CPY_FROM_USER CPY_FROM_USER macro
|
| /utopia/UTPA2-700.0.x/modules/pq/utopia_adaption/pq/ |
| H A D | PQ_adp.c | 16 #define CMP_CPY_FROM_USER(a,b,c) if(copy_from_user(a, compat_ptr((un… macro 1250 CMP_CPY_FROM_USER(&tmp_compat, pArgs, sizeof(_compat_stPQ_SetPQBinPath)); in PQ_adp_Ioctl() 1252 CMP_CPY_FROM_USER(tmp.b_PQBinFilePath, tmp_compat.b_PQBinFilePath, tmp_compat.u8size); in PQ_adp_Ioctl()
|
| /utopia/UTPA2-700.0.x/modules/dmx/api/dmx/ |
| H A D | apiDMX.c | 207 #define CMP_CPY_FROM_USER(a,b,c) (is_compat_task()? copy_from_user(a, compat_ptr((un… macro 211 #define CMP_CPY_FROM_USER CPY_FROM_USER macro
|