Home
last modified time | relevance | path

Searched refs:paCtrl (Results 1 – 2 of 2) sorted by relevance

/hardware/ti/omap4xxx/security/smc_pa_ctrl/
Dsmc_pa_ctrl_linux.c158 SCX_SMC_PA_CTRL paCtrl; in smcPAStart() local
160 memset(&paCtrl, 0, sizeof(SCX_SMC_PA_CTRL)); in smcPAStart()
161 paCtrl.nPACommand = SCX_SMC_PA_CTRL_START; in smcPAStart()
180 paCtrl.pPABuffer = readLocalFile(pPAFileName, &paCtrl.nPASize, false); in smcPAStart()
181 if (paCtrl.pPABuffer == NULL) in smcPAStart()
187 paCtrl.pConfBuffer = readLocalFile(pConfFileName, &paCtrl.nConfSize, false); in smcPAStart()
188 if (paCtrl.pConfBuffer == NULL) in smcPAStart()
209 nStatus = ioctl(fd, IOCTL_SCX_SMC_PA_CTRL, &paCtrl); in smcPAStart()
236 free(paCtrl.pPABuffer); in smcPAStart()
237 free(paCtrl.pConfBuffer); in smcPAStart()
[all …]
/hardware/ti/omap4-aah/security/smc_pa_ctrl/
Dsmc_pa_ctrl_linux.c158 SCX_SMC_PA_CTRL paCtrl; in smcPAStart() local
160 memset(&paCtrl, 0, sizeof(SCX_SMC_PA_CTRL)); in smcPAStart()
161 paCtrl.nPACommand = SCX_SMC_PA_CTRL_START; in smcPAStart()
180 paCtrl.pPABuffer = readLocalFile(pPAFileName, &paCtrl.nPASize, false); in smcPAStart()
181 if (paCtrl.pPABuffer == NULL) in smcPAStart()
187 paCtrl.pConfBuffer = readLocalFile(pConfFileName, &paCtrl.nConfSize, false); in smcPAStart()
188 if (paCtrl.pConfBuffer == NULL) in smcPAStart()
209 nStatus = ioctl(fd, IOCTL_SCX_SMC_PA_CTRL, &paCtrl); in smcPAStart()
236 free(paCtrl.pPABuffer); in smcPAStart()
237 free(paCtrl.pConfBuffer); in smcPAStart()
[all …]