Home
last modified time | relevance | path

Searched refs:pCmd (Results 1 – 13 of 13) sorted by relevance

/hardware/nxp/secure_element/snxxx/libese-spi/p73/lib/
DphNxpEse_Apdu_Api.cpp27 static ESESTATUS phNxpEse_7816_FrameCmd(pphNxpEse_7816_cpdu_t pCmd,
40 ESESTATUS phNxpEse_7816_Transceive(pphNxpEse_7816_cpdu_t pCmd, in phNxpEse_7816_Transceive() argument
52 if (NULL == pCmd || NULL == pRsp) { in phNxpEse_7816_Transceive()
55 } else if (pCmd->cpdu_type > 1) { in phNxpEse_7816_Transceive()
58 } else if (0 < pCmd->le_type && NULL == pRsp->pdata) { in phNxpEse_7816_Transceive()
64 status = phNxpEse_7816_FrameCmd(pCmd, &pCmd_data, &cmd_len); in phNxpEse_7816_Transceive()
132 static ESESTATUS phNxpEse_7816_FrameCmd(pphNxpEse_7816_cpdu_t pCmd, in phNxpEse_7816_FrameCmd() argument
142 __FUNCTION__, pCmd->lc, pCmd->le_type); in phNxpEse_7816_FrameCmd()
144 if (pCmd->lc > 0) { in phNxpEse_7816_FrameCmd()
145 if (pCmd->cpdu_type == 0) { in phNxpEse_7816_FrameCmd()
[all …]
DphNxpEse_Api.cpp763 ESESTATUS phNxpEse_Transceive(phNxpEse_data* pCmd, phNxpEse_data* pRsp) { in phNxpEse_Transceive() argument
766 if ((NULL == pCmd) || (NULL == pRsp)) return ESESTATUS_INVALID_PARAMETER; in phNxpEse_Transceive()
768 if ((pCmd->len == 0) || pCmd->p_data == NULL) { in phNxpEse_Transceive()
771 } else if (pCmd->len > MAX_SUPPORTED_DATA_SIZE) { in phNxpEse_Transceive()
785 status = phNxpEseProto7816_Transceive((phNxpEse_data*)pCmd, in phNxpEse_Transceive()
DphNxpEseProto7816_3.h550 ESESTATUS phNxpEseProto7816_Transceive(phNxpEse_data* pCmd,
DphNxpEseProto7816_3.cpp1680 ESESTATUS phNxpEseProto7816_Transceive(phNxpEse_data* pCmd, in phNxpEseProto7816_Transceive() argument
1686 if ((NULL == pCmd) || (NULL == pRsp) || in phNxpEseProto7816_Transceive()
1694 phNxpEseProto7816_3_Var.phNxpEseNextTx_Cntx.IframeInfo.p_data = pCmd->p_data; in phNxpEseProto7816_Transceive()
1696 pCmd->len; in phNxpEseProto7816_Transceive()
1697 ALOGD_IF(ese_debug_enabled, "Transceive data ptr 0x%p len:%d", pCmd->p_data, in phNxpEseProto7816_Transceive()
1698 pCmd->len); in phNxpEseProto7816_Transceive()
/hardware/st/secure_element/ese-spi-driver/
DStEseApi.cc151 ESESTATUS StEse_Transceive(StEse_data* pCmd, StEse_data* pRsp) { in StEse_Transceive() argument
155 uint16_t pCmdlen = pCmd->len; in StEse_Transceive()
159 if ((NULL == pCmd) || (NULL == pRsp)) return ESESTATUS_INVALID_PARAMETER; in StEse_Transceive()
161 if ((pCmd->len == 0) || pCmd->p_data == NULL) { in StEse_Transceive()
174 uint8_t* CmdPart = pCmd->p_data; in StEse_Transceive()
187 pCmdlen = pCmd->len; in StEse_Transceive()
188 CmdPart = pCmd->p_data; in StEse_Transceive()
211 pCmdlen = pCmd->len; in StEse_Transceive()
212 CmdPart = pCmd->p_data; in StEse_Transceive()
DStEseApi.h80 ESESTATUS StEse_Transceive(StEse_data* pCmd, StEse_data* pRsp);
/hardware/nxp/secure_element/snxxx/libese-spi/p73/inc/
DphNxpEse_Apdu_Api.h101 ESESTATUS phNxpEse_7816_Transceive(pphNxpEse_7816_cpdu_t pCmd,
DphNxpEse_Api.h219 ESESTATUS phNxpEse_Transceive(phNxpEse_data* pCmd, phNxpEse_data* pRsp);
/hardware/nxp/secure_element/pn8x/libese-spi/p73/inc/
DphNxpEse_Api.h142 ESESTATUS phNxpEse_Transceive(phNxpEse_data* pCmd, phNxpEse_data* pRsp);
/hardware/nxp/secure_element/pn8x/libese-spi/p73/lib/
DphNxpEse_Api.cpp590 ESESTATUS phNxpEse_Transceive(phNxpEse_data* pCmd, phNxpEse_data* pRsp) { in phNxpEse_Transceive() argument
593 if ((NULL == pCmd) || (NULL == pRsp)) return ESESTATUS_INVALID_PARAMETER; in phNxpEse_Transceive()
595 if ((pCmd->len == 0) || pCmd->p_data == NULL) { in phNxpEse_Transceive()
606 status = phNxpEseProto7816_Transceive((phNxpEse_data*)pCmd, in phNxpEse_Transceive()
DphNxpEseProto7816_3.h425 ESESTATUS phNxpEseProto7816_Transceive(phNxpEse_data* pCmd,
DphNxpEseProto7816_3.cpp1061 ESESTATUS phNxpEseProto7816_Transceive(phNxpEse_data* pCmd, in phNxpEseProto7816_Transceive() argument
1067 if ((NULL == pCmd) || (NULL == pRsp) || in phNxpEseProto7816_Transceive()
1075 phNxpEseProto7816_3_Var.phNxpEseNextTx_Cntx.IframeInfo.p_data = pCmd->p_data; in phNxpEseProto7816_Transceive()
1077 pCmd->len; in phNxpEseProto7816_Transceive()
1078 ALOGD_IF(ese_debug_enabled, "Transceive data ptr 0x%p len:%d", pCmd->p_data, in phNxpEseProto7816_Transceive()
1079 pCmd->len); in phNxpEseProto7816_Transceive()
/hardware/st/nfc/st21nfc/hal/
Dhal_fd.cc41 uint8_t *pCmd; variable