Home
last modified time | relevance | path

Searched refs:CPY_FROM_USER (Results 1 – 19 of 19) sorted by relevance

/utopia/UTPA2-700.0.x/modules/dmx/utopia_adaption/dmx/
H A DDMX_adp.c135 #define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { re… macro
138 #define CPY_FROM_USER memcpy macro
151 #define CMP_CPY_FROM_USER CPY_FROM_USER
299 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(DMX_TSPParam)); in DMX_adp_Ioctl()
333 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(DMX_WP_PARAM)); in DMX_adp_Ioctl()
334CPY_FROM_USER((void*)buffer_array0, (void*)pstWPParamDes->pu32StartAddr, sizeof(MS_PHY) * u32data); in DMX_adp_Ioctl()
335CPY_FROM_USER((void*)buffer_array1, (void*)pstWPParamDes->pu32EndAddr, sizeof(MS_PHY) * u32data); in DMX_adp_Ioctl()
358 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(DMX_POWSTATE_PARAM)); in DMX_adp_Ioctl()
383 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(DMX_CAP_PARAM)); in DMX_adp_Ioctl()
415 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(DMX_CAP_EX_PARAM)); in DMX_adp_Ioctl()
[all …]
/utopia/UTPA2-700.0.x/modules/hdmi/utopia_adaption/hdmitx/
H A DHDMITX_adp.c131 #define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { break; } macro
134 #define CPY_FROM_USER memcpy macro
150 #define CMP_CPY_FROM_USER CPY_FROM_USER
1157 CPY_FROM_USER(&stHDMITxArgs, pArgs, sizeof(stHDMITx_GetRxVideoFormatFromEDID)); in HDMITX_adp_Ioctl()
1161CPY_FROM_USER(stHDMITxArgs.pu8Buffer, pData, sizeof(MS_U8) *stHDMITxArgs.u8BufSize); in HDMITX_adp_Ioctl()
1204 CPY_FROM_USER(&stHDMITxArgs, pArgs, sizeof(stHDMITx_GetVICListFromEDID)); in HDMITX_adp_Ioctl()
1208CPY_FROM_USER(stHDMITxArgs.pu8Buffer, pData, sizeof(MS_U8) *stHDMITxArgs.u8BufSize); in HDMITX_adp_Ioctl()
1258 CPY_FROM_USER(&stHDMITxArgs, pArgs, sizeof(stHDMITx_GetColorFormatFromEDID)); in HDMITX_adp_Ioctl()
1262 CPY_FROM_USER(stHDMITxArgs.pColorFmt, pData, sizeof(HDMITX_EDID_COLOR_FORMAT)); in HDMITX_adp_Ioctl()
1305 CPY_FROM_USER(&stHDMITxArgs, pArgs, sizeof(stHDMITx_GetRxAudioFormatFromEDID)); in HDMITX_adp_Ioctl()
[all …]
/utopia/UTPA2-700.0.x/modules/audio/utopia_adaption/audio/
H A DAUDIO_adp.c133 #define CPY_FROM_USER copy_from_user macro
136 #define CPY_FROM_USER memcpy macro
376CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(AUDIO_ST_AUDYSSEY_VXT_SET_THRESH_LEVEL_TABLE)); in AUDIO_adp_Ioctl()
379CPY_FROM_USER((void*)buffer_array0, (void*)pAudysseyVXTSetThreshLevelTableSrc->pthresh_level_table… in AUDIO_adp_Ioctl()
390 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(AUDIO_ST_SPDIF_CHANNELSTATUS)); in AUDIO_adp_Ioctl()
415 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(AUDIO_ST_OUTPUT_SOURCE)); in AUDIO_adp_Ioctl()
713 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(AUDIO_ST_DECODESYSTEM)); in AUDIO_adp_Ioctl()
815 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(AUDIO_ST_DECODER_COMMAND)); in AUDIO_adp_Ioctl()
1058 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(AUDIO_ST_SPDIF_OP)); in AUDIO_adp_Ioctl()
1075 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(AUDIO_ST_SPDIF_SCMS)); in AUDIO_adp_Ioctl()
[all …]
/utopia/UTPA2-700.0.x/modules/hwi2c/utopia_adaption/hwi2c/
H A DHWI2C_adp.c59 #define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { br… macro
62 #define CPY_FROM_USER memcpy macro
78 #define CMP_CPY_FROM_USER CPY_FROM_USER
197 CPY_FROM_USER(&paramW,pArgs,sizeof(HWI2C_PRIVATE_PARAM_WriteBytes)); in HWI2C_adp_Ioctl()
204 CPY_FROM_USER(u8Addr, paramW.pRegAddr,paramW.uAddrCnt); in HWI2C_adp_Ioctl()
206 CPY_FROM_USER(u8Data, paramW.pData, paramW.uSize); in HWI2C_adp_Ioctl()
240 CPY_FROM_USER(&paramR,pArgs,sizeof(HWI2C_PRIVATE_PARAM_ReadBytes)); in HWI2C_adp_Ioctl()
246 CPY_FROM_USER(u8Addr, paramR.pRegAddr,paramR.uAddrCnt); in HWI2C_adp_Ioctl()
/utopia/UTPA2-700.0.x/modules/hdmi/utopia_adaption/mhl/
H A DadpMHL.c138 #define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { break; }
141 #define CPY_FROM_USER memcpy
157 #define CMP_CPY_FROM_USER CPY_FROM_USER
447 CPY_FROM_USER(&stMHLArgs, pArgs, sizeof(stMHL_READ_EDID));
551 CPY_FROM_USER(&stMHLArgs, pArgs, sizeof(stMHL_SEND_WRITE_BURST));
557 CPY_FROM_USER(stMHLArgs.ucData, pData, ulDataSize);
596 CPY_FROM_USER(&stMHLArgs, pArgs, sizeof(stMHL_SEND_USER_WRITE_BURST));
602 CPY_FROM_USER(stMHLArgs.ucData, pData, ulDataSize);
/utopia/UTPA2-700.0.x/modules/xc/utopia_adaption/xc/
H A DXC_ModeParse_adp.c122 #define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { br… macro
125 #define CPY_FROM_USER memcpy macro
141 #define CMP_CPY_FROM_USER CPY_FROM_USER
277 CPY_FROM_USER(&tmp, pArgs, sizeof(stXC_MODEPARSE_MATCHMODE)); in XC_MODEPARSE_adp_Ioctl()
282CPY_FROM_USER(tmp.ModeDB, ptr, sizeof(MS_PCADC_MODETABLE_TYPE)*tmp.u8NumberOfItems); in XC_MODEPARSE_adp_Ioctl()
283 CPY_FROM_USER(tmp.psInputInfo, ptr1, sizeof(XC_MODEPARSE_INPUT_INFO)); in XC_MODEPARSE_adp_Ioctl()
H A DXC_HDMI_if_adp.c140 #define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { break; } macro
143 #define CPY_FROM_USER memcpy macro
159 #define CMP_CPY_FROM_USER CPY_FROM_USER
840 CPY_FROM_USER(&stHDMIRxArgs, pArgs, sizeof(stHDMI_CONTROL)); in XC_HDMI_if_adp_Ioctl()
1000 CPY_FROM_USER(&stHDMIRxArgs, pArgs, sizeof(stHDCP22_SEND_MESSAGE)); in HDMIRX_adp_Ioctl()
1006 CPY_FROM_USER(stHDMIRxArgs.pucData, pData, ulDataSize); in HDMIRX_adp_Ioctl()
H A DXC_adp.c131 …#define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { b… macro
134 #define CPY_FROM_USER memcpy macro
145 #define CMP_CPY_FROM_USER CPY_FROM_USER
4359 CPY_FROM_USER(&hdr_ctl_tmp, pArgs, sizeof(stXC_HDR_CTRL)); in _XC_adp_Ioctl()
4362 CPY_FROM_USER(hdr_ctl_tmp.pParam, temp_ptr, sizeof(XC_HDR_3DLUT_INFO)); in _XC_adp_Ioctl()
4367 CPY_FROM_USER(hdr_3dlut_info_ptr->pu8Data, in _XC_adp_Ioctl()
4450 CPY_FROM_USER(&hdr_ctl_tmp, pArgs, sizeof(stXC_HDR_CTRL)); in _XC_adp_Ioctl()
4453 CPY_FROM_USER(hdr_ctl_tmp.pParam, temp_ptr, sizeof(XC_CFD_CONTROL_INFO)); in _XC_adp_Ioctl()
4459 CPY_FROM_USER(xc_cfdt_control_ptr->pParam, in _XC_adp_Ioctl()
/utopia/UTPA2-700.0.x/modules/gpd/utopia_adaption/gpd/
H A DGPD_adp.c17 #ifndef CPY_FROM_USER
18 #define CPY_FROM_USER copy_from_user macro
25 #ifndef CPY_FROM_USER
26 #define CPY_FROM_USER memcpy macro
241CPY_FROM_USER((void*)(&gpdCtrlParam), (GPD_CONTROL_PARAM*)pArgs, sizeof(GPD_CONTROL_PARAM)); in GPD_adp_Ioctl()
257CPY_FROM_USER((void*)(&gpdGetCtrlParam), (GPD_GET_CONTROL_PARAM*)pArgs, sizeof(GPD_GET_CONTROL_PAR… in GPD_adp_Ioctl()
/utopia/UTPA2-700.0.x/modules/dscmb/utopia_adaption/dscmb2/
H A DDSCMB_adp.c18 #define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { re… macro
21 #define CPY_FROM_USER memcpy macro
34 #define CMP_CPY_FROM_USER CPY_FROM_USER
383 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(DSCMB_KL_ATOMICEXEC)); in DSCMB_adp_Ioctl()
384CPY_FROM_USER((void*)buffer_array0, (void*)pKLAtomicArgs->KLCfg, sizeof(DSCMB_KLCfg_All)); in DSCMB_adp_Ioctl()
423 CPY_FROM_USER((void*)buffer_arg, pArgs, sizeof(DSCMB_KL_ETSI)); in DSCMB_adp_Ioctl()
424CPY_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.c137 #define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { break; }
140 #define CPY_FROM_USER memcpy
156 #define CMP_CPY_FROM_USER CPY_FROM_USER
579 CPY_FROM_USER(&stCECArgs, pArgs, sizeof(stCEC_TX_SEND_MSG));
582 CPY_FROM_USER(stCECArgs.ucCmd, pCommand, sizeof(MS_U8) *stCECArgs.ucLen);
620 CPY_FROM_USER(&stCECArgs, pArgs, sizeof(stCEC_TX_SEND_MSG2));
623 CPY_FROM_USER(stCECArgs.ucCmd, pCommand, sizeof(MS_U8) *stCECArgs.ucLen);
/utopia/UTPA2-700.0.x/modules/vdec_v3/utopia_adaption/vdec_v3/
H A DVDEC_EX_adp.c19 #ifndef CPY_FROM_USER
20 #define CPY_FROM_USER copy_from_user macro
27 #ifndef CPY_FROM_USER
28 #define CPY_FROM_USER memcpy macro
42 #define CMP_CPY_FROM_USER CPY_FROM_USER
790CPY_FROM_USER((void*)kernel_IO_Param, (VDEC_EX_V2_IO_Param*)pArgs, sizeof(VDEC_EX_V2_IO_Param)); in VDEC_EX_adp_Ioctl()
991 CPY_FROM_USER((void*)kernel_IO_Param, pArgs, sizeof(VDEC_EX_V2_IO_Param)); in VDEC_EX_adp_Ioctl()
1215CPY_FROM_USER((void*)kernel_IO_Param, (VDEC_EX_V2_IO_Param*)pArgs, sizeof(VDEC_EX_V2_IO_Param)); in VDEC_EX_adp_Ioctl()
1260CPY_FROM_USER((void*)kernel_IO_Param, (VDEC_EX_V2_IO_Param*)pArgs, sizeof(VDEC_EX_V2_IO_Param)); in VDEC_EX_adp_Ioctl()
/utopia/UTPA2-700.0.x/modules/njpd/utopia_adaption/njpeg_ex/
H A DNJPEG_EX_adp.c18 #ifndef CPY_FROM_USER
19 #define CPY_FROM_USER copy_from_user macro
26 #ifndef CPY_FROM_USER
27 #define CPY_FROM_USER memcpy macro
476CPY_FROM_USER((void*)(&jpegGetCtrlParam), (JPEG_GET_CTRL_PARAM*)pArgs, sizeof(JPEG_GET_CTRL_PARAM)… in NJPEG_EX_adp_Ioctl()
/utopia/UTPA2-700.0.x/modules/vdec_lite/utopia_adaption/vdec_lite/
H A DVDEC_EX_adp.c19 #ifndef CPY_FROM_USER
20 #define CPY_FROM_USER copy_from_user macro
27 #ifndef CPY_FROM_USER
28 #define CPY_FROM_USER memcpy macro
42 #define CMP_CPY_FROM_USER CPY_FROM_USER
835CPY_FROM_USER((void*)kernel_IO_Param, (VDEC_EX_V2_IO_Param*)pArgs, sizeof(VDEC_EX_V2_IO_Param)); in VDEC_EX_adp_Ioctl()
1035 CPY_FROM_USER((void*)kernel_IO_Param, pArgs, sizeof(VDEC_EX_V2_IO_Param)); in VDEC_EX_adp_Ioctl()
1264CPY_FROM_USER((void*)kernel_IO_Param, (VDEC_EX_V2_IO_Param*)pArgs, sizeof(VDEC_EX_V2_IO_Param)); in VDEC_EX_adp_Ioctl()
1323CPY_FROM_USER((void*)kernel_IO_Param, (VDEC_EX_V2_IO_Param*)pArgs, sizeof(VDEC_EX_V2_IO_Param)); in VDEC_EX_adp_Ioctl()
/utopia/UTPA2-700.0.x/modules/msos/utopia_core/linux_kernel/
H A Dutopia_adp_bypass.c26 #define CPY_FROM_USER copy_from_user macro
351 ….offset),pCmptr,(UADP_STRUCT_POINTER_TABLE *)(pTable[i].size_or_next),CPY_FROM_USER,SRC_MODE_MALLO… in CmpStructRecursiveCpy()
649 …StructRecursiveCpy(&karg,pArgs,pInTable,CPY_FROM_USER,SRC_MODE_COPY|SRC_MODE_MALLOC|SRC_MODE_CPY_F… in UADPBypassIoctl()
655 …CmpStructRecursiveCpy(&karg,data,pInTable,CPY_FROM_USER,SRC_MODE_COPY|SRC_MODE_MALLOC|SRC_MODE_CPY… in UADPBypassIoctl()
665 … StructRecursiveCpy(&karg,pArgs,pOutTable,CPY_FROM_USER,SRC_MODE_MALLOC|SRC_MODE_CPY_FROM_USR); in UADPBypassIoctl()
671 …CmpStructRecursiveCpy(&karg,data,pOutTable,CPY_FROM_USER,SRC_MODE_MALLOC|SRC_MODE_CPY_FROM_USR, FA… in UADPBypassIoctl()
/utopia/UTPA2-700.0.x/modules/dlc/utopia_adaption/dlc/
H A DDLC_adp.c19 …#define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { b… macro
22 #define CPY_FROM_USER memcpy macro
33 #define CMP_CPY_FROM_USER CPY_FROM_USER
/utopia/UTPA2-700.0.x/modules/xc/utopia_adaption/ace/
H A DACE_adp.c18 #define CPY_FROM_USER(a,b,c) if(copy_from_user(a,b,c) != 0) { br… macro
21 #define CPY_FROM_USER memcpy macro
37 #define CMP_CPY_FROM_USER CPY_FROM_USER
/utopia/UTPA2-700.0.x/modules/mvop/utopia_adaption/mvop/
H A DMVOP_adp.c418 #define CPY_FROM_USER copy_from_user macro
421 #define CPY_FROM_USER memcpy macro
891 if(CPY_FROM_USER(&ptr, (stMVOP_SET_COMMAND __user *)pArgs, sizeof(stMVOP_SET_COMMAND))) in MVOP_adp_Ioctl()
995 if(CPY_FROM_USER(&ptr, (stMVOP_GET_COMMAND __user *)pArgs, sizeof(stMVOP_GET_COMMAND))) in MVOP_adp_Ioctl()
/utopia/UTPA2-700.0.x/modules/dmx/api/dmx/
H A DapiDMX.c199 #define CPY_FROM_USER copy_from_user macro
202 #define CPY_FROM_USER memcpy macro
211 #define CMP_CPY_FROM_USER CPY_FROM_USER