Home
last modified time | relevance | path

Searched refs:UINT8 (Results 1 – 25 of 164) sorted by relevance

1234567

/kernel/liteos_m/components/trace/pipeline/
Dtrace_tlv.h47 UINT8 magicNum;
48 UINT8 msgType;
54 UINT8 type;
55 UINT8 len;
56 UINT8 value[];
60 UINT8 tag;
61 UINT8 elemOffset;
62 UINT8 elemSize;
89 extern UINT32 OsTraceDataEncode(UINT8 type, const TlvTable *table, UINT8 *src, UINT8 *dest, INT32 d…
Dtrace_tlv.c39 STATIC UINT16 CalcCrc16(const UINT8 *buf, UINT32 len) in CalcCrc16()
57 STATIC UINT32 OsWriteTlv(UINT8 *tlvBuf, UINT8 type, UINT8 len, UINT8 *value) in OsWriteTlv()
72 STATIC UINT32 OsTlvEncode(const TlvTable *table, UINT8 *srcBuf, UINT8 *tlvBuf, INT32 tlvBufLen) in OsTlvEncode()
78 if ((len + tlvTableItem->elemSize + sizeof(UINT8) + sizeof(UINT8)) > tlvBufLen) { in OsTlvEncode()
87 UINT32 OsTraceDataEncode(UINT8 type, const TlvTable *table, UINT8 *src, UINT8 *dest, INT32 destLen) in OsTraceDataEncode()
92 UINT8 *tlvBuf = NULL; in OsTraceDataEncode()
Dtrace_pipeline.h45 VOID (*dataSend)(UINT16 len, UINT8 *data);
46 UINT32 (*dataRecv)(UINT8 *data, UINT32 size, UINT32 timeout);
94 extern VOID OsTraceDataSend(UINT8 type, UINT16 len, UINT8 *data);
95 extern UINT32 OsTraceDataRecv(UINT8 *data, UINT32 size, UINT32 timeout);
Dtrace_pipeline.c93 STATIC VOID DefaultDataSend(UINT16 len, UINT8 *data) in DefaultDataSend()
99 STATIC UINT32 DefaultDataReceive(UINT8 *data, UINT32 size, UINT32 timeout) in DefaultDataReceive()
126 VOID OsTraceDataSend(UINT8 type, UINT16 len, UINT8 *data) in OsTraceDataSend()
129 UINT8 outBuf[LOSCFG_TRACE_TLV_BUF_SIZE] = {0}; in OsTraceDataSend()
142 UINT32 OsTraceDataRecv(UINT8 *data, UINT32 size, UINT32 timeout) in OsTraceDataRecv()
/kernel/liteos_a/kernel/extended/trace/pipeline/
Dtrace_tlv.h47 UINT8 magicNum;
48 UINT8 msgType;
54 UINT8 type;
55 UINT8 len;
56 UINT8 value[];
60 UINT8 tag;
61 UINT8 elemOffset;
62 UINT8 elemSize;
89 extern UINT32 OsTraceDataEncode(UINT8 type, const TlvTable *table, UINT8 *src, UINT8 *dest, INT32 d…
Dtrace_tlv.c39 STATIC UINT16 CalcCrc16(const UINT8 *buf, UINT32 len) in CalcCrc16()
57 STATIC UINT32 OsWriteTlv(UINT8 *tlvBuf, UINT8 type, UINT8 len, UINT8 *value) in OsWriteTlv()
72 STATIC UINT32 OsTlvEncode(const TlvTable *table, UINT8 *srcBuf, UINT8 *tlvBuf, INT32 tlvBufLen) in OsTlvEncode()
78 if ((len + tlvTableItem->elemSize + sizeof(UINT8) + sizeof(UINT8)) > tlvBufLen) { in OsTlvEncode()
87 UINT32 OsTraceDataEncode(UINT8 type, const TlvTable *table, UINT8 *src, UINT8 *dest, INT32 destLen) in OsTraceDataEncode()
92 UINT8 *tlvBuf = NULL; in OsTraceDataEncode()
Dtrace_pipeline.h45 VOID (*dataSend)(UINT16 len, UINT8 *data);
46 UINT32 (*dataRecv)(UINT8 *data, UINT32 size, UINT32 timeout);
96 extern VOID OsTraceDataSend(UINT8 type, UINT16 len, UINT8 *data);
97 extern UINT32 OsTraceDataRecv(UINT8 *data, UINT32 size, UINT32 timeout);
Dtrace_pipeline.c97 STATIC VOID DefaultDataSend(UINT16 len, UINT8 *data) in DefaultDataSend()
103 STATIC UINT32 DefaultDataReceive(UINT8 *data, UINT32 size, UINT32 timeout) in DefaultDataReceive()
130 VOID OsTraceDataSend(UINT8 type, UINT16 len, UINT8 *data) in OsTraceDataSend()
133 UINT8 outBuf[LOSCFG_TRACE_TLV_BUF_SIZE] = {0}; in OsTraceDataSend()
146 UINT32 OsTraceDataRecv(UINT8 *data, UINT32 size, UINT32 timeout) in OsTraceDataRecv()
/kernel/liteos_a/kernel/base/misc/
Dtask_shellcmd.c82 STATIC UINT8 *ConvertProcessModeToString(UINT16 mode) in ConvertProcessModeToString()
85 return (UINT8 *)"kernel"; in ConvertProcessModeToString()
87 return (UINT8 *)"user"; in ConvertProcessModeToString()
90 return (UINT8 *)"ERROR"; in ConvertProcessModeToString()
93 STATIC UINT8 *ConvertSchedPolicyToString(UINT16 policy) in ConvertSchedPolicyToString()
96 return (UINT8 *)"RR"; in ConvertSchedPolicyToString()
98 return (UINT8 *)"FIFO"; in ConvertSchedPolicyToString()
100 return (UINT8 *)"EDF"; in ConvertSchedPolicyToString()
102 return (UINT8 *)"IDLE"; in ConvertSchedPolicyToString()
105 return (UINT8 *)"ERROR"; in ConvertSchedPolicyToString()
[all …]
Dsysinfo_shellcmd.c124 UINT8 isTaskEnable = TRUE; in OsShellCmdSystemInfoGet()
126 UINT8 isSemEnable = TRUE; in OsShellCmdSystemInfoGet()
128 UINT8 isSemEnable = FALSE; in OsShellCmdSystemInfoGet()
131 UINT8 isQueueEnable = TRUE; in OsShellCmdSystemInfoGet()
133 UINT8 isQueueEnable = FALSE; in OsShellCmdSystemInfoGet()
136 UINT8 isSwtmrEnable = TRUE; in OsShellCmdSystemInfoGet()
138 UINT8 isSwtmrEnable = FALSE; in OsShellCmdSystemInfoGet()
/kernel/liteos_m/components/exchook/
Dlos_exc_info.c53 UINT8 g_excMsgArray[MAX_EXC_MEM_SIZE];
64 g_excContent = (UINT8 *)g_excContent + sizeof(UINT32); in OsExcSaveIntStatus()
67 g_excContent = (UINT8 *)g_excContent + sizeof(UINT32); in OsExcSaveIntStatus()
74 g_excContent = (UINT8 *)g_excContent + OS_NVIC_INT_ENABLE_SIZE; in OsExcSaveIntStatus()
82 g_excContent = (UINT8 *)g_excContent + OS_NVIC_INT_PEND_SIZE; in OsExcSaveIntStatus()
90 g_excContent = (UINT8 *)g_excContent + OS_NVIC_INT_ACT_SIZE; in OsExcSaveIntStatus()
98 g_excContent = (UINT8 *)g_excContent + OS_NVIC_INT_PRI_SIZE; in OsExcSaveIntStatus()
106 g_excContent = (UINT8 *)g_excContent + OS_NVIC_EXCPRI_SIZE; in OsExcSaveIntStatus()
114 g_excContent = (UINT8 *)g_excContent + OS_NVIC_SHCSR_SIZE; in OsExcSaveIntStatus()
122 g_excContent = (UINT8 *)g_excContent + OS_NVIC_INT_CTRL_SIZE; in OsExcSaveIntStatus()
[all …]
/kernel/liteos_m/kernel/include/
Dlos_swtmr.h272 UINT8 ucState; /* Software timer state */
273 UINT8 ucMode; /* Software timer mode */
274 UINT8 ucOverrun; /* Times that a software timer repeats timing */
276 UINT8 ucRouses; /* wake up enable */
277 UINT8 ucSensitive; /* align enable */
397 UINT8 mode,
401 UINT8 rouses,
402 UINT8 sensitive);
405 UINT8 mode,
Dlos_tick.h250 UINT8 ucMonth; /**< value 1 - 12 */
251 UINT8 ucDay; /**< value 1 - 31 */
252 UINT8 ucHour; /**< value 0 - 23 */
253 UINT8 ucMinute; /**< value 0 - 59 */
254 UINT8 ucSecond; /**< value 0 - 59 */
255 UINT8 ucWeek; /**< value 0 - 6 */
/kernel/liteos_a/kernel/include/
Dlos_sys.h106 UINT8 ucMonth; /**< value 1 - 12 */
107 UINT8 ucDay; /**< value 1 - 31 */
108 UINT8 ucHour; /**< value 0 - 23 */
109 UINT8 ucMinute; /**< value 0 - 59 */
110 UINT8 ucSecond; /**< value 0 - 59 */
111 UINT8 ucWeek; /**< value 0 - 6 */
Dlos_hash.h52 const UINT8 *hashbuf = (const UINT8 *)buf; in LOS_HashFNV32aBuf()
71 UINT8 *s = (UINT8 *)str; in LOS_HashFNV32aStr()
/kernel/liteos_a/drivers/block/disk/include/
Ddisk.h89 #define LD_WORD_DISK(ptr) (UINT16)(((UINT16)*((UINT8 *)(ptr) + FIRST_BYTE) << (BIT_FOR_BYTE * FI…
90 (UINT16)*(UINT8 *)(ptr))
91 #define LD_DWORD_DISK(ptr) (UINT32)(((UINT32)*((UINT8 *)(ptr) + THIRD_BYTE) << (BIT_FOR_BYTE * TH…
92 … ((UINT32)*((UINT8 *)(ptr) + SECOND_BYTE) << (BIT_FOR_BYTE * SECOND_BYTE)) | \
93 … ((UINT16)*((UINT8 *)(ptr) + FIRST_BYTE) << (BIT_FOR_BYTE * FIRST_BYTE)) | \
94 (*(UINT8 *)(ptr)))
188 UINT8 type;
193 UINT8 *buff;
203 UINT8 filesystem_type; /* filesystem used in the partition */
204 UINT8 type;
[all …]
/kernel/liteos_a/kernel/extended/trace/
Dlos_trace_pri.h86 UINT8 cmd;
87 UINT8 param1;
88 UINT8 param2;
89 UINT8 param3;
90 UINT8 param4;
91 UINT8 param5;
92 UINT8 end;
Dtrace_online.c48 OsTraceDataSend(HEAD, sizeof(TraceBaseHeaderInfo), (UINT8 *)&head); in OsTraceSendHead()
58 OsTraceDataSend(NOTIFY, sizeof(TraceNotifyFrame), (UINT8 *)&frame); in OsTraceSendNotify()
66 OsTraceDataSend(OBJ, sizeof(ObjData), (UINT8 *)&obj); in OsTraceSendObj()
92 OsTraceDataSend(EVENT, sizeof(TraceEventFrame), (UINT8 *)frame); in OsTraceWriteOrSendEvent()
/kernel/liteos_m/components/trace/
Dlos_trace_pri.h88 UINT8 cmd;
89 UINT8 param1;
90 UINT8 param2;
91 UINT8 param3;
92 UINT8 param4;
93 UINT8 param5;
94 UINT8 end;
Dtrace_online.c49 OsTraceDataSend(HEAD, sizeof(TraceBaseHeaderInfo), (UINT8 *)&head); in OsTraceSendHead()
59 OsTraceDataSend(NOTIFY, sizeof(TraceNotifyFrame), (UINT8 *)&frame); in OsTraceSendNotify()
67 OsTraceDataSend(OBJ, sizeof(ObjData), (UINT8 *)&obj); in OsTraceSendObj()
93 OsTraceDataSend(EVENT, sizeof(TraceEventFrame), (UINT8 *)frame); in OsTraceWriteOrSendEvent()
/kernel/liteos_a/fs/vfs/include/bcache/
Dbcache.h70 UINT8 *data; /* block data */
79 UINT8 *, /* block buffer */
84 const UINT8 *, /* block buffer */
103 UINT8 *memStart; /* memory base */
110 UINT8 *rwBuffer; /* buffer for bcache block */
149 UINT8 *buf,
179 const UINT8 *buf,
/kernel/liteos_a/compat/posix/src/
Dpprivate.h57 UINT8 state; /* Thread state */
58 UINT8 cancelstate; /* Cancel state of thread */
59 volatile UINT8 canceltype; /* Cancel type of thread */
60 volatile UINT8 canceled; /* pending cancel flag */
/kernel/liteos_a/lib/libscrew/include/
Dlos_crc32.h42 extern UINT32 LOS_EtherCrc32Accumulate(UINT32 val, UINT8 *src, INT32 len);
43 extern UINT32 LOS_Crc32Accumulate(UINT32 val, UINT8 *src, INT32 len);
46 #define crc32(val, src, len) LOS_Crc32Accumulate(val, (UINT8 *)src, len)
47 #define ether_crc32(val, src, len) LOS_EtherCrc32Accumulate(val, (UINT8 *)src, len)
/kernel/liteos_m/testsuites/sample/kernel/mem/
DIt_los_mem_047.c38 STATIC UINT8 g_memGap_TC47_Gap1[0x10];
39 STATIC UINT8 g_memPool_TC47_01[0x1000];
40 STATIC UINT8 g_memGap_TC47_Gap2[0x10];
41 STATIC UINT8 g_memPool_TC47_02[0x400];
/kernel/liteos_a/kernel/extended/perf/
Dlos_perf_pri.h96 UINT8 nr;
97 UINT8 cntDivided;
121 UINT8 taskIdsNr;
123 UINT8 processIdsNr;
124 UINT8 needSample;

1234567