Home
last modified time | relevance | path

Searched refs:pBuffer (Results 1 – 7 of 7) sorted by relevance

/system/nfc/halimpl/pn54x/tml/
DphTmlNfc_i2c.c118 int phTmlNfc_i2c_read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead) { in phTmlNfc_i2c_read() argument
155 ret_Read = read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
174 read((intptr_t)pDevHandle, pBuffer, totalBtyesToRead - numRead); in phTmlNfc_i2c_read()
184 pBuffer[FW_DNLD_LEN_OFFSET] + FW_DNLD_HEADER_LEN + CRC_LEN; in phTmlNfc_i2c_read()
187 pBuffer[NORMAL_MODE_LEN_OFFSET] + NORMAL_MODE_HEADER_LEN; in phTmlNfc_i2c_read()
190 ret_Read = read((intptr_t)pDevHandle, (pBuffer + numRead), in phTmlNfc_i2c_read()
200 phNxpNciHal_print_packet("RECV", pBuffer, NORMAL_MODE_HEADER_LEN); in phTmlNfc_i2c_read()
227 int phTmlNfc_i2c_write(void* pDevHandle, uint8_t* pBuffer, in phTmlNfc_i2c_write() argument
252 ret = write((intptr_t)pDevHandle, pBuffer + numWrote, numBytes - numWrote); in phTmlNfc_i2c_write()
DphTmlNfc.c342 memcpy(gpphTmlNfc_Context->tReadInfo.pBuffer, temp, dwNoBytesWrRd); in phTmlNfc_TmlThread()
348 (0x00 != (gpphTmlNfc_Context->tReadInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlThread()
366 gpphTmlNfc_Context->tReadInfo.pBuffer, in phTmlNfc_TmlThread()
374 tTransactionInfo.pBuff = gpphTmlNfc_Context->tReadInfo.pBuffer; in phTmlNfc_TmlThread()
445 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread()
461 gpphTmlNfc_Context->tWriteInfo.pBuffer, in phTmlNfc_TmlWriterThread()
472 tTransactionInfo.pBuff = gpphTmlNfc_Context->tWriteInfo.pBuffer; in phTmlNfc_TmlWriterThread()
492 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlWriterThread()
511 (0x00 != (gpphTmlNfc_Context->tWriteInfo.pBuffer[0] & 0xE0))) { in phTmlNfc_TmlWriterThread()
645 NFCSTATUS phTmlNfc_Write(uint8_t* pBuffer, uint16_t wLength, in phTmlNfc_Write() argument
[all …]
DphTmlNfc_i2c.h29 int phTmlNfc_i2c_read(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToRead);
30 int phTmlNfc_i2c_write(void* pDevHandle, uint8_t* pBuffer, int nNbBytesToWrite);
DphTmlNfc.h135 uint8_t* pBuffer; /*Buffer passed while invocation of operation */ member
212 NFCSTATUS phTmlNfc_Write(uint8_t* pBuffer, uint16_t wLength,
215 NFCSTATUS phTmlNfc_Read(uint8_t* pBuffer, uint16_t wLength,
/system/nfc/src/adaptation/
Dlibmain.c58 extern void nfa_mem_co_free(void* pBuffer) { free(pBuffer); } in nfa_mem_co_free() argument
80 extern void nfa_nv_co_read(uint8_t* pBuffer, uint16_t nbytes, uint8_t block) { in nfa_nv_co_read() argument
98 size_t actualReadData = read(fileStream, pBuffer, nbytes); in nfa_nv_co_read()
132 extern void nfa_nv_co_write(const uint8_t* pBuffer, uint16_t nbytes, in nfa_nv_co_write() argument
151 unsigned short checksum = crcChecksumCompute(pBuffer, nbytes); in nfa_nv_co_write()
153 size_t actualWrittenData = write(fileStream, pBuffer, nbytes); in nfa_nv_co_write()
/system/nfc/src/static-lib-adapt/
DProtoDispBluetoothHci.c155 void ProtoDispBluetoothHciEvt(NFC_HDR* pBuffer) { in ProtoDispBluetoothHciEvt() argument
158 uint8_t* p = (uint8_t*)(pBuffer + 1) + pBuffer->offset; in ProtoDispBluetoothHciEvt()
/system/nfc/halimpl/bcm2079x/adaptation/
Dpatchram.cpp155 static const char* findPatchramFile(const char* pConfigName, char* pBuffer, in findPatchramFile() argument
164 if (GetStrValue(pConfigName, &pBuffer[0], bufferLen)) { in findPatchramFile()
165 ALOGD("%s found patchfile %s\n", __func__, pBuffer); in findPatchramFile()
166 return (pBuffer[0] == '\0') ? NULL : pBuffer; in findPatchramFile()