Home | History | Annotate | Download | only in src

Lines Matching refs:pCompInfo

62                    phNfc_sTransactionInfo_t    *pCompInfo
70 phNfc_sTransactionInfo_t *pCompInfo
283 phNfc_sTransactionInfo_t *pCompInfo
301 if ((NULL != ps_llc_ctxt) && (NULL != pCompInfo) && (NULL != pHwInfo))
307 if(NFCSTATUS_SUCCESS == pCompInfo->status)
416 ps_llc_ctxt->send_cb_len = (pCompInfo->length -
426 pCompInfo->length = (pCompInfo->length -
430 pCompInfo);
510 ps_llc_ctxt->send_cb_len = pCompInfo->length; */
517 pCompInfo->length = (pCompInfo->length -
521 pHwInfo, pCompInfo);
634 PH_LLCNFC_DEBUG("Error status received : 0x%x\n", pCompInfo->status);
637 pHwInfo, pCompInfo);
649 phNfc_sTransactionInfo_t *pCompInfo
672 if ((NULL != ps_llc_ctxt) && (NULL != pCompInfo) && (NULL != pHwInfo)
673 && (NULL != pCompInfo->buffer))
681 if (NFCSTATUS_SUCCESS == pCompInfo->status)
683 if ((PH_LLCNFC_MIN_BUFLEN_RECVD == pCompInfo->length) &&
684 (((PH_LLCNFC_MIN_BUFLEN_RECVD + 1) < *(pCompInfo->buffer)) &&
685 (PH_LLCNFC_MAX_BUFLEN_RECV_SEND > *(pCompInfo->buffer))))
688 PH_LLCNFC_PRINT_BUFFER(pCompInfo->buffer, pCompInfo->length);
694 ps_recv_pkt->s_llcbuf.llc_length_byte = pCompInfo->buffer[0];
728 else if (((PH_LLCNFC_MIN_BUFLEN_RECVD + 1) < pCompInfo->length) &&
729 (PH_LLCNFC_MAX_BUFLEN_RECV_SEND > pCompInfo->length) &&
730 (pCompInfo->length == ps_recv_pkt->s_llcbuf.llc_length_byte))
733 PH_LLCNFC_PRINT_BUFFER(pCompInfo->buffer, pCompInfo->length);
746 (void)memcpy(ps_llc_payload, pCompInfo->buffer,
747 pCompInfo->length);
854 else if (((PH_LLCNFC_MIN_BUFLEN_RECVD + 1) < pCompInfo->length) &&
855 (PH_LLCNFC_MAX_BUFLEN_RECV_SEND > pCompInfo->length) &&
856 (pCompInfo->length != ps_recv_pkt->s_llcbuf.llc_length_byte))
858 ALOGE("bad LLC length1 %d", pCompInfo->length);
875 else if ((PH_LLCNFC_MIN_BUFLEN_RECVD == pCompInfo->length) &&
876 ((*(pCompInfo->buffer) > (PH_LLCNFC_MAX_BUFLEN_RECV_SEND - 1))
877 ||(*(pCompInfo->buffer) <= (PH_LLCNFC_MIN_BUFLEN_RECVD + 1))))
886 ALOGW("bad LLC length byte %x\n", *(pCompInfo->buffer));
905 pCompInfo->status = PHNFCSTVAL(CID_NFC_LLC,
907 pCompInfo->buffer = NULL;
908 pCompInfo->length = 0;
917 pHwInfo, pCompInfo);
920 } else if (NFCSTATUS_READ_FAILED == pCompInfo->status) {
941 PH_LLCNFC_DEBUG("Status Error : 0x%x\n", pCompInfo->status);
946 pHwInfo, pCompInfo);
952 if ((NULL != ps_llc_ctxt) && (NULL != pCompInfo)
957 pHwInfo, pCompInfo);