Home
last modified time | relevance | path

Searched refs:tlvBuf (Results 1 - 2 of 2) sorted by relevance

/kernel/liteos_a/kernel/extended/trace/pipeline/
H A Dtrace_tlv.c57 STATIC UINT32 OsWriteTlv(UINT8 *tlvBuf, UINT8 type, UINT8 len, UINT8 *value) in OsWriteTlv() argument
59 TraceMsgTlvBody *body = (TraceMsgTlvBody *)tlvBuf; in OsWriteTlv()
72 STATIC UINT32 OsTlvEncode(const TlvTable *table, UINT8 *srcBuf, UINT8 *tlvBuf, INT32 tlvBufLen) in OsTlvEncode() argument
81 len += OsWriteTlv(tlvBuf + len, tlvTableItem->tag, tlvTableItem->elemSize, srcBuf + tlvTableItem->elemOffset); in OsTlvEncode()
92 UINT8 *tlvBuf = NULL; in OsTraceDataEncode() local
101 tlvBuf = dest + sizeof(TraceMsgTlvHead); in OsTraceDataEncode()
102 len = OsTlvEncode(table, src, tlvBuf, tlvBufLen); in OsTraceDataEncode()
103 crc = CalcCrc16(tlvBuf, len); in OsTraceDataEncode()
/kernel/liteos_m/components/trace/pipeline/
H A Dtrace_tlv.c57 STATIC UINT32 OsWriteTlv(UINT8 *tlvBuf, UINT8 type, UINT8 len, UINT8 *value) in OsWriteTlv() argument
59 TraceMsgTlvBody *body = (TraceMsgTlvBody *)tlvBuf; in OsWriteTlv()
72 STATIC UINT32 OsTlvEncode(const TlvTable *table, UINT8 *srcBuf, UINT8 *tlvBuf, INT32 tlvBufLen) in OsTlvEncode() argument
81 len += OsWriteTlv(tlvBuf + len, tlvTableItem->tag, tlvTableItem->elemSize, srcBuf + tlvTableItem->elemOffset); in OsTlvEncode()
92 UINT8 *tlvBuf = NULL; in OsTraceDataEncode() local
101 tlvBuf = dest + sizeof(TraceMsgTlvHead); in OsTraceDataEncode()
102 len = OsTlvEncode(table, src, tlvBuf, tlvBufLen); in OsTraceDataEncode()
103 crc = CalcCrc16(tlvBuf, len); in OsTraceDataEncode()

Completed in 1 milliseconds