Home
last modified time | relevance | path

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

12

/TwlSDK-5.4/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.4/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.4/build/demos.TWL/os/os_jump/src/
Dmain.c54 static void ReadKey(KeyInfo* pKey);
226 static void ReadKey(KeyInfo* pKey) in ReadKey() argument
233 pKey->trg = 0x0000; in ReadKey()
234 pKey->up = 0x0000; in ReadKey()
235 pKey->rep = 0x0000; in ReadKey()
241 if (!(pKey->cnt & (0x0001 << i))) in ReadKey()
243 pKey->trg |= (0x0001 << i); // Press trigger in ReadKey()
250 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in ReadKey()
261 if (pKey->cnt & (0x0001 << i)) in ReadKey()
263 pKey->up |= (0x0001 << i); // Release trigger in ReadKey()
[all …]
/TwlSDK-5.4/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.4/build/demos/wxc/wxc-dataShare/src/
Dmain.c77 static void KeyRead(KeyInfo * pKey);
407 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
414 pKey->trg = 0x0000; in KeyRead()
415 pKey->up = 0x0000; in KeyRead()
416 pKey->rep = 0x0000; in KeyRead()
422 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
424 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
431 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
442 if (pKey->cnt & (0x0001 << i)) in KeyRead()
444 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.4/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.4/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.4/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.4/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.4/build/demos.TWL/aes/ctr-compatible/src/
Dmain.c40 const AESKey* pKey,
73 void* pKey; in SampleMain() local
81 pKey = DEMO_LoadFile(NULL, "key.bin"); in SampleMain()
100 DEMO_PrintBytes(pKey, sizeof(AESKey)); in SampleMain()
113 pKey, // Key in SampleMain()
124 OS_Free(pKey); in SampleMain()
155 OS_Free(pKey); in SampleMain()
162 void* pKey; in SampleMain() local
169 pKey = DEMO_LoadFile(NULL, "key.bin"); in SampleMain()
188 DEMO_PrintBytes(pKey, sizeof(AESKey)); in SampleMain()
[all …]
/TwlSDK-5.4/build/demos/cht/catch-1/src/
Dmain.c81 static void KeyRead(KeyInfo * pKey);
300 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
307 pKey->trg = 0x0000; in KeyRead()
308 pKey->up = 0x0000; in KeyRead()
309 pKey->rep = 0x0000; in KeyRead()
315 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
317 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
324 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
335 if (pKey->cnt & (0x0001 << i)) in KeyRead()
337 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.4/build/demos.TWL/aes/ccm-compatible/src/
Dmain.c48 const AESKey* pKey,
58 const AESKey* pKey,
99 void* pKey; in SampleMain() local
108 pKey = DEMO_LoadFile(NULL, "key.bin"); in SampleMain()
135 DEMO_PrintBytes(pKey, sizeof(AESKey)); in SampleMain()
159 pKey, // Key in SampleMain()
178 OS_Free(pKey); in SampleMain()
188 OS_Free(pKey); in SampleMain()
223 OS_Free(pKey); in SampleMain()
234 void* pKey; in SampleMain() local
[all …]
/TwlSDK-5.4/build/demos/wvr/switchover/src/
Dwireless_main.c72 static void KeyRead(KeyInfo * pKey);
534 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
541 pKey->trg = 0x0000; in KeyRead()
542 pKey->up = 0x0000; in KeyRead()
543 pKey->rep = 0x0000; in KeyRead()
549 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
551 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
558 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
569 if (pKey->cnt & (0x0001 << i)) in KeyRead()
571 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.4/build/demos/wvr/simple/src/
Dmain.c71 static void KeyRead(KeyInfo * pKey);
506 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
513 pKey->trg = 0x0000; in KeyRead()
514 pKey->up = 0x0000; in KeyRead()
515 pKey->rep = 0x0000; in KeyRead()
521 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
523 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
530 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
541 if (pKey->cnt & (0x0001 << i)) in KeyRead()
543 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.4/build/demos/wm/dataShare-1/src/
Dmain.c87 static void KeyRead(KeyInfo * pKey);
538 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
545 pKey->trg = 0x0000; in KeyRead()
546 pKey->up = 0x0000; in KeyRead()
547 pKey->rep = 0x0000; in KeyRead()
553 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
555 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
562 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
573 if (pKey->cnt & (0x0001 << i)) in KeyRead()
575 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.4/build/demos/wm/mp_simple-1/src/
Dmain.c86 static void KeyRead(KeyInfo * pKey);
488 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
495 pKey->trg = 0x0000; in KeyRead()
496 pKey->up = 0x0000; in KeyRead()
497 pKey->rep = 0x0000; in KeyRead()
503 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
505 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
512 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
523 if (pKey->cnt & (0x0001 << i)) in KeyRead()
525 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.4/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.4/build/demos/spi/spiMonkey2/src/
Dmain.c63 static void KeyRead(KeyInformation * pKey);
447 static void KeyRead(KeyInformation * pKey) in KeyRead() argument
454 pKey->trg = 0x0000; in KeyRead()
455 pKey->up = 0x0000; in KeyRead()
456 pKey->rep = 0x0000; in KeyRead()
462 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
464 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
471 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
482 if (pKey->cnt & (0x0001 << i)) in KeyRead()
484 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.4/build/demos/wbt/wbt-1/src/
Dmain.c100 static void KeyRead(KeyInfo * pKey);
774 static void KeyRead(KeyInfo * pKey) in KeyRead() argument
781 pKey->trg = 0x0000; in KeyRead()
782 pKey->up = 0x0000; in KeyRead()
783 pKey->rep = 0x0000; in KeyRead()
789 if (!(pKey->cnt & (0x0001 << i))) in KeyRead()
791 pKey->trg |= (0x0001 << i); // Press trigger in KeyRead()
798 pKey->rep |= (0x0001 << i); // Press-and-hold repeat in KeyRead()
809 if (pKey->cnt & (0x0001 << i)) in KeyRead()
811 pKey->up |= (0x0001 << i); // Release trigger in KeyRead()
[all …]
/TwlSDK-5.4/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.4/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.4/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.4/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.4/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()
/TwlSDK-5.4/build/demos/mb/multiboot-wfs/common/include/
Dutil.h104 void KeyRead(KeyInfo * pKey);

12