Home
last modified time | relevance | path

Searched refs:pKey (Results 1 – 25 of 27) sorted by relevance

12

/TwlSDK-5.2.1/build/demos/wm/dataShare-Model/src/
Dkey.c27 static void keyRead(KeyInfo * pKey) in keyRead() argument
34 pKey->trg = 0x0000; in keyRead()
35 pKey->up = 0x0000; in keyRead()
36 pKey->rep = 0x0000; in keyRead()
42 if (!(pKey->cnt & (0x0001 << i))) in keyRead()
44 pKey->trg |= (0x0001 << i); in keyRead()
52 pKey->rep |= (0x0001 << i); in keyRead()
63 if (pKey->cnt & (0x0001 << i)) in keyRead()
65 pKey->up |= (0x0001 << i); in keyRead()
70 pKey->cnt = r; in keyRead()
/TwlSDK-5.2.1/build/demos/wm/wep-1/src/
Dkey.c27 static void keyRead(KeyInfo * pKey) in keyRead() argument
34 pKey->trg = 0x0000; in keyRead()
35 pKey->up = 0x0000; in keyRead()
36 pKey->rep = 0x0000; in keyRead()
42 if (!(pKey->cnt & (0x0001 << i))) in keyRead()
44 pKey->trg |= (0x0001 << i); in keyRead()
52 pKey->rep |= (0x0001 << i); in keyRead()
63 if (pKey->cnt & (0x0001 << i)) in keyRead()
65 pKey->up |= (0x0001 << i); in keyRead()
70 pKey->cnt = r; in keyRead()
/TwlSDK-5.2.1/build/demos.TWL/os/os_jump/src/
Dmain.c53 static void ReadKey(KeyInfo* pKey);
221 static void ReadKey(KeyInfo* pKey) in ReadKey() argument
228 pKey->trg = 0x0000; in ReadKey()
229 pKey->up = 0x0000; in ReadKey()
230 pKey->rep = 0x0000; in ReadKey()
236 if (!(pKey->cnt & (0x0001 << i))) in ReadKey()
238 pKey->trg |= (0x0001 << i); // Press trigger in ReadKey()
245 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in ReadKey()
256 if (pKey->cnt & (0x0001 << i)) in ReadKey()
258 pKey->up |= (0x0001 << i); // Release trigger in ReadKey()
[all …]
/TwlSDK-5.2.1/build/demos/wxc/simple-1/src/
Dmain.c61 static void KeyRead(KeyInfo * pKey);
262 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
269 pKey->trg = 0x0000; in KeyRead()
270 pKey->up = 0x0000; in KeyRead()
271 pKey->rep = 0x0000; in KeyRead()
277 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
279 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
286 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
297 if (pKey->cnt & (0x0001 << i)) in KeyRead()
299 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/wxc/wxc-dataShare/src/
Dmain.c70 static void KeyRead(KeyInfo * pKey);
400 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
407 pKey->trg = 0x0000; in KeyRead()
408 pKey->up = 0x0000; in KeyRead()
409 pKey->rep = 0x0000; in KeyRead()
415 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
417 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
424 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
435 if (pKey->cnt & (0x0001 << i)) in KeyRead()
437 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/mb/multiboot-wfs/common/src/
Dutil.c152 void KeyRead(KeyInfo * pKey) in KeyRead() argument
163 pKey->trg = 0x0000; in KeyRead()
164 pKey->up = 0x0000; in KeyRead()
165 pKey->rep = 0x0000; in KeyRead()
172 if (!(pKey->cnt & bit)) in KeyRead()
174 pKey->trg |= bit; in KeyRead()
179 pKey->rep |= bit; in KeyRead()
187 else if ((pKey->cnt & bit) != 0) in KeyRead()
189 pKey->up |= bit; in KeyRead()
192 pKey->cnt = r; in KeyRead()
/TwlSDK-5.2.1/build/demos/wxc/unregister-1/src/
Dmain.c60 static void KeyRead(KeyInfo * pKey);
278 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
285 pKey->trg = 0x0000; in KeyRead()
286 pKey->up = 0x0000; in KeyRead()
287 pKey->rep = 0x0000; in KeyRead()
293 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
295 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
302 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
313 if (pKey->cnt & (0x0001 << i)) in KeyRead()
315 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/rtc/swclock-1/src/
Dmain.c70 static void KeyRead(KeyInformation * pKey);
252 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
259 pKey->trg = 0x0000; in KeyRead()
260 pKey->up = 0x0000; in KeyRead()
261 pKey->rep = 0x0000; in KeyRead()
267 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
269 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
276 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
287 if (pKey->cnt & (0x0001 << i)) in KeyRead()
289 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/spi/spiMonkey/src/
Dmain.c51 static void KeyRead(KeyInformation * pKey);
295 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
302 pKey->trg = 0x0000; in KeyRead()
303 pKey->up = 0x0000; in KeyRead()
304 pKey->rep = 0x0000; in KeyRead()
310 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
312 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
319 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
330 if (pKey->cnt & (0x0001 << i)) in KeyRead()
332 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos.TWL/aes/ctr-compatible/src/
Dmain.c39 const AESKey* pKey,
72 void* pKey; in SampleMain() local
80 pKey = DEMO_LoadFile(NULL, "key.bin"); in SampleMain()
99 DEMO_PrintBytes(pKey, sizeof(AESKey)); in SampleMain()
112 pKey, // Key in SampleMain()
123 OS_Free(pKey); in SampleMain()
154 OS_Free(pKey); in SampleMain()
161 void* pKey; in SampleMain() local
168 pKey = DEMO_LoadFile(NULL, "key.bin"); in SampleMain()
187 DEMO_PrintBytes(pKey, sizeof(AESKey)); in SampleMain()
[all …]
/TwlSDK-5.2.1/build/demos/cht/catch-2/src/
Dmain.c79 static void KeyRead(KeyInfo * pKey);
290 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
297 pKey->trg = 0x0000; in KeyRead()
298 pKey->up = 0x0000; in KeyRead()
299 pKey->rep = 0x0000; in KeyRead()
305 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
307 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
314 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
325 if (pKey->cnt & (0x0001 << i)) in KeyRead()
327 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/cht/catch-1/src/
Dmain.c73 static void KeyRead(KeyInfo * pKey);
292 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
299 pKey->trg = 0x0000; in KeyRead()
300 pKey->up = 0x0000; in KeyRead()
301 pKey->rep = 0x0000; in KeyRead()
307 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
309 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
316 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
327 if (pKey->cnt & (0x0001 << i)) in KeyRead()
329 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos.TWL/aes/ccm-compatible/src/
Dmain.c47 const AESKey* pKey,
57 const AESKey* pKey,
98 void* pKey; in SampleMain() local
107 pKey = DEMO_LoadFile(NULL, "key.bin"); in SampleMain()
134 DEMO_PrintBytes(pKey, sizeof(AESKey)); in SampleMain()
158 pKey, // Key in SampleMain()
177 OS_Free(pKey); in SampleMain()
187 OS_Free(pKey); in SampleMain()
222 OS_Free(pKey); in SampleMain()
233 void* pKey; in SampleMain() local
[all …]
/TwlSDK-5.2.1/build/demos/wm/mp_simple-1/src/
Dmain.c86 static void KeyRead(KeyInfo * pKey);
452 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
459 pKey->trg = 0x0000; in KeyRead()
460 pKey->up = 0x0000; in KeyRead()
461 pKey->rep = 0x0000; in KeyRead()
467 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
469 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
476 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
487 if (pKey->cnt & (0x0001 << i)) in KeyRead()
489 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/wvr/switchover/src/
Dwireless_main.c72 static void KeyRead(KeyInfo * pKey);
494 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
501 pKey->trg = 0x0000; in KeyRead()
502 pKey->up = 0x0000; in KeyRead()
503 pKey->rep = 0x0000; in KeyRead()
509 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
511 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
518 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
529 if (pKey->cnt & (0x0001 << i)) in KeyRead()
531 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/wm/dataShare-1/src/
Dmain.c87 static void KeyRead(KeyInfo * pKey);
505 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
512 pKey->trg = 0x0000; in KeyRead()
513 pKey->up = 0x0000; in KeyRead()
514 pKey->rep = 0x0000; in KeyRead()
520 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
522 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
529 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
540 if (pKey->cnt & (0x0001 << i)) in KeyRead()
542 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/wvr/simple/src/
Dmain.c71 static void KeyRead(KeyInfo * pKey);
469 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
476 pKey->trg = 0x0000; in KeyRead()
477 pKey->up = 0x0000; in KeyRead()
478 pKey->rep = 0x0000; in KeyRead()
484 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
486 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
493 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
504 if (pKey->cnt & (0x0001 << i)) in KeyRead()
506 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/spi/mic-1/src/
Dmain.c69 static void KeyRead(KeyInformation * pKey);
386 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
393 pKey->trg = 0x0000; in KeyRead()
394 pKey->up = 0x0000; in KeyRead()
395 pKey->rep = 0x0000; in KeyRead()
401 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
403 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
410 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
421 if (pKey->cnt & (0x0001 << i)) in KeyRead()
423 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/spi/spiMonkey2/src/
Dmain.c63 static void KeyRead(KeyInformation * pKey);
448 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
455 pKey->trg = 0x0000; in KeyRead()
456 pKey->up = 0x0000; in KeyRead()
457 pKey->rep = 0x0000; in KeyRead()
463 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
465 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
472 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
483 if (pKey->cnt & (0x0001 << i)) in KeyRead()
485 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/spi/mic-2/src/
Dmain.c79 static void KeyRead(KeyInformation * pKey);
587 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
594 pKey->trg = 0x0000; in KeyRead()
595 pKey->up = 0x0000; in KeyRead()
596 pKey->rep = 0x0000; in KeyRead()
602 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
604 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
611 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
622 if (pKey->cnt & (0x0001 << i)) in KeyRead()
624 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/wbt/wbt-1/src/
Dmain.c100 static void KeyRead(KeyInfo * pKey);
744 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
751 pKey->trg = 0x0000; in KeyRead()
752 pKey->up = 0x0000; in KeyRead()
753 pKey->rep = 0x0000; in KeyRead()
759 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
761 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
768 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
779 if (pKey->cnt & (0x0001 << i)) in KeyRead()
781 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/rtc/rtc-1/src/
Dmain.c115 static void KeyRead(KeyInformation * pKey);
742 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
749 pKey->trg = 0x0000; in KeyRead()
750 pKey->up = 0x0000; in KeyRead()
751 pKey->rep = 0x0000; in KeyRead()
757 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
759 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
766 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
777 if (pKey->cnt & (0x0001 << i)) in KeyRead()
779 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/wm/listenOnly/src/
Dmain.c99 static void KeyRead(KeyInfo * pKey);
688 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
695 pKey->trg = 0x0000; in KeyRead()
696 pKey->up = 0x0000; in KeyRead()
697 pKey->rep = 0x0000; in KeyRead()
703 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
705 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
712 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
723 if (pKey->cnt & (0x0001 << i)) in KeyRead()
725 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/build/demos/math/fft-2/src/
Dmain.c118 static void KeyRead(KeyInformation * pKey);
670 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
677 pKey->trg = 0x0000; in KeyRead()
678 pKey->up = 0x0000; in KeyRead()
679 pKey->rep = 0x0000; in KeyRead()
685 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
687 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
694 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
705 if (pKey->cnt & (0x0001 << i)) in KeyRead()
707 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.2.1/include/twl/aes/ARM9/
Daes_inline.h43 SDK_INLINE AESResult AES_SetKey(const AESKey* pKey) in AES_SetKey() argument
47 return AESi_SetKey(pKey); in AES_SetKey()

12