Home
last modified time | relevance | path

Searched refs:pInpOutData (Results 1 – 3 of 3) sorted by relevance

/hardware/nxp/nfc/halimpl/src/adaptation/
DEseAdaptation.cpp120 ese_nxp_IoctlInOutData_t* pInpOutData; in Initialize() local
121 pInpOutData = in Initialize()
123 if (!pInpOutData) { in Initialize()
127 memset(pInpOutData, 0x00, sizeof(ese_nxp_IoctlInOutData_t)); in Initialize()
128 pInpOutData->inp.data.nxpCmd.cmd_len = sizeof(cmd_ese_nxp); in Initialize()
129 memcpy(pInpOutData->inp.data.nxpCmd.p_cmd, cmd_ese_nxp, sizeof(cmd_ese_nxp)); in Initialize()
131 if (pInpOutData != NULL) free(pInpOutData); in Initialize()
264 ese_nxp_IoctlInOutData_t* pInpOutData = (ese_nxp_IoctlInOutData_t*)p_data; in HalIoctl() local
266 pInpOutData->inp.context = &EseAdaptation::GetInstance(); in HalIoctl()
267 EseAdaptation::GetInstance().mCurrentIoctlData = pInpOutData; in HalIoctl()
[all …]
/hardware/nxp/secure_element/libese-spi/src/adaptation/
DNfcAdaptation.cpp208 ese_nxp_IoctlInOutData_t* pInpOutData = (ese_nxp_IoctlInOutData_t*)p_data; in HalIoctl() local
210 pInpOutData->inp.context = &NfcAdaptation::GetInstance(); in HalIoctl()
211 NfcAdaptation::GetInstance().mCurrentIoctlData = pInpOutData; in HalIoctl()
212 data.setToExternal((uint8_t*)pInpOutData, sizeof(ese_nxp_IoctlInOutData_t)); in HalIoctl()
217 (unsigned long)pInpOutData->out.ioctlType); in HalIoctl()
218 result = (ESESTATUS)(pInpOutData->out.result); in HalIoctl()
/hardware/nxp/nfc/halimpl/hal/
DphNxpNciHal.cc2500 nfc_nci_IoctlInOutData_t* pInpOutData = (nfc_nci_IoctlInOutData_t*)p_data; in phNxpNciHal_ioctl() local
2503 level=pInpOutData->inp.level; in phNxpNciHal_ioctl()
2510 pInpOutData->out.data.nciRsp.p_rsp[3]=1; in phNxpNciHal_ioctl()
2517 ret = phNxpNciHal_send_ese_hal_cmd(pInpOutData->inp.data.nciCmd.cmd_len, in phNxpNciHal_ioctl()
2518 pInpOutData->inp.data.nciCmd.p_cmd); in phNxpNciHal_ioctl()
2519 pInpOutData->out.data.nciRsp.rsp_len = nxpncihal_ctrl.rx_ese_data_len; in phNxpNciHal_ioctl()
2523 memcpy(pInpOutData->out.data.nciRsp.p_rsp, nxpncihal_ctrl.p_rx_ese_data, in phNxpNciHal_ioctl()
2527 … if(pInpOutData->out.data.nciRsp.p_rsp[0] == 0x4F && pInpOutData->out.data.nciRsp.p_rsp[1] == 0x01 in phNxpNciHal_ioctl()
2528 … && pInpOutData->out.data.nciRsp.p_rsp[2] == 0x01 && pInpOutData->out.data.nciRsp.p_rsp[3] == 0x00 in phNxpNciHal_ioctl()
2529 && pInpOutData->inp.data.nciCmd.p_cmd[3] == 0x01) in phNxpNciHal_ioctl()
[all …]