Home
last modified time | relevance | path

Searched refs:CMP_CPY_FROM_USER (Results 1 – 15 of 15) sorted by relevance

/utopia/UTPA2-700.0.x/modules/dmx/utopia_adaption/dmx/
H A DDMX_adp.c145 #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 DHDMITX_adp.c142 #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
1137CMP_CPY_FROM_USER(&stCompatHDMITxArgs, pArgs, sizeof(stHDMITx_GetRxVideoFormatFromEDID_Compat)); in HDMITX_adp_Ioctl()
1141CMP_CPY_FROM_USER(stHDMITxArgs.pu8Buffer, stCompatHDMITxArgs.pu8Buffer, sizeof(MS_U8)*stHDMITxArgs… in HDMITX_adp_Ioctl()
1184CMP_CPY_FROM_USER(&stCompatHDMITxArgs, pArgs, sizeof(stHDMITx_GetVICListFromEDID_Compat)); in HDMITX_adp_Ioctl()
1188CMP_CPY_FROM_USER(stHDMITxArgs.pu8Buffer, stCompatHDMITxArgs.pu8Buffer, sizeof(MS_U8) *stCompatHDM… in HDMITX_adp_Ioctl()
1239CMP_CPY_FROM_USER(&stCompatHDMITxArgs, pArgs, sizeof(stHDMITx_GetColorFormatFromEDID_Compat)); in HDMITX_adp_Ioctl()
1242CMP_CPY_FROM_USER(stHDMITxArgs.pColorFmt, stCompatHDMITxArgs.pColorFmt, sizeof(HDMITX_EDID_COLOR_F… in HDMITX_adp_Ioctl()
1286CMP_CPY_FROM_USER(&stCompatHDMITxArgs, pArgs, sizeof(stHDMITx_GetRxAudioFormatFromEDID_Compat)); in HDMITX_adp_Ioctl()
1289CMP_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 DHWI2C_adp.c71 #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 DadpMHL.c149 #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));
530CMP_CPY_FROM_USER(&stCompatMHLArgs, pArgs, sizeof(stMHL_SEND_WRITE_BURST_COMPAT));
535 CMP_CPY_FROM_USER(stMHLArgs.ucData, stCompatMHLArgs.ucData, ulDataSize);
576CMP_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 DXC_ModeParse_adp.c134 #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()
260CMP_CPY_FROM_USER(tmp.ModeDB, tmp_compat.ModeDB, sizeof(MS_PCADC_MODETABLE_TYPE)*tmp_compat.u8Numb… in XC_MODEPARSE_adp_Ioctl()
261CMP_CPY_FROM_USER(tmp.psInputInfo, tmp_compat.psInputInfo, sizeof(XC_MODEPARSE_INPUT_INFO)); in XC_MODEPARSE_adp_Ioctl()
H A DXC_HDMI_if_adp.c151 #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()
982CMP_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 DXC_adp.c141 …#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
4330CMP_CPY_FROM_USER(&hdr_ctl_tmp_compact, pArgs, sizeof(_compact_stXC_HDR_CTRL)); in _XC_adp_Ioctl()
4335CMP_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()
4423CMP_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 DDSCMB_adp.c28 #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()
378CMP_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()
418CMP_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 DadpCEC.c148 #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));
562CMP_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));
603CMP_CPY_FROM_USER(stCECArgs.ucCmd, stCompatCECArgs.ucCmd, sizeof(MS_U8) *stCompatCECArgs.ucLen);
/utopia/UTPA2-700.0.x/modules/xc/utopia_adaption/ace/
H A DACE_adp.c30 #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()
491CMP_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 DVDEC_EX_adp.c38 …#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
1158CMP_CPY_FROM_USER((VDEC_EX_VerCtl*)&version, user_IO_Param->param[0], sizeof(VDEC_EX_VerCtl)); in VDEC_EX_adp_Ioctl()
1164CMP_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 DVDEC_EX_adp.c38 …#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
1200CMP_CPY_FROM_USER((VDEC_EX_VerCtl*)&version, user_IO_Param->param[0], sizeof(VDEC_EX_VerCtl)); in VDEC_EX_adp_Ioctl()
1206CMP_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 DDLC_adp.c29 …#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 DPQ_adp.c16 #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 DapiDMX.c207 #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