Lines Matching full:pbuffer
257 uint8_t *pBuffer,
284 *pBuffer++ = *pNext;
357 uint32_t phFriNfc_Llcp_Header2Buffer( phFriNfc_Llcp_sPacketHeader_t *psHeader, uint8_t *pBuffer, uint32_t nOffset )
360 pBuffer[nOffset++] = (uint8_t)((psHeader->dsap << 2) | (psHeader->ptype >> 2));
361 pBuffer[nOffset++] = (uint8_t)((psHeader->ptype << 6) | psHeader->ssap);
365 uint32_t phFriNfc_Llcp_Sequence2Buffer( phFriNfc_Llcp_sPacketSequence_t *psSequence, uint8_t *pBuffer, uint32_t nOffset )
368 pBuffer[nOffset++] = (uint8_t)((psSequence->ns << 4) | (psSequence->nr));
372 uint32_t phFriNfc_Llcp_Buffer2Header( uint8_t *pBuffer, uint32_t nOffset, phFriNfc_Llcp_sPacketHeader_t *psHeader )
374 psHeader->dsap = (pBuffer[nOffset] & 0xFC) >> 2;
375 psHeader->ptype = ((pBuffer[nOffset] & 0x03) << 2) | ((pBuffer[nOffset+1] & 0xC0) >> 6);
376 psHeader->ssap = pBuffer[nOffset+1] & 0x3F;
380 uint32_t phFriNfc_Llcp_Buffer2Sequence( uint8_t *pBuffer, uint32_t nOffset, phFriNfc_Llcp_sPacketSequence_t *psSequence )
382 psSequence->ns = pBuffer[nOffset] >> 4;
383 psSequence->nr = pBuffer[nOffset] & 0x0F;