Lines Matching defs:pskey
149 uint16_t pskey;
671 uint16_t pskey, length, value, stores = CSR_STORES_DEFAULT;
680 pskey = atoi(argv[0]);
682 for (i = 0; storage[i].pskey; i++) {
686 pskey = storage[i].pskey;
690 pskey = strtol(argv[0] + 2, NULL, 16);
693 array[0] = pskey & 0xff;
694 array[1] = pskey >> 8;
707 array[0] = pskey & 0xff;
708 array[1] = pskey >> 8;
721 printf("%s: 0x%04x (%d)\n", csr_pskeytostr(pskey), value, value);
726 printf("%s: 0x%08x (%d)\n", csr_pskeytostr(pskey), val32, val32);
730 printf("%s:", csr_pskeytostr(pskey));
746 uint16_t pskey, length, value, stores = CSR_STORES_PSRAM;
755 pskey = atoi(argv[0]);
757 for (i = 0; storage[i].pskey; i++) {
761 pskey = storage[i].pskey;
765 pskey = strtol(argv[0] + 2, NULL, 16);
768 array[0] = pskey & 0xff;
769 array[1] = pskey >> 8;
782 array[0] = pskey & 0xff;
783 array[1] = pskey >> 8;
852 uint16_t pskey, stores = CSR_STORES_PSRAM;
858 pskey = atoi(argv[0]);
860 for (i = 0; storage[i].pskey; i++) {
864 pskey = storage[i].pskey;
868 pskey = strtol(argv[0] + 2, NULL, 16);
871 array[0] = pskey & 0xff;
872 array[1] = pskey >> 8;
889 uint16_t pskey = 0x0000, length, stores = CSR_STORES_DEFAULT;
896 array[0] = pskey & 0xff;
897 array[1] = pskey >> 8;
905 pskey = array[4] + (array[5] << 8);
906 if (pskey == 0x0000)
910 array[0] = pskey & 0xff;
911 array[1] = pskey >> 8;
921 printf("0x%04x - %s (%d bytes)\n", pskey,
922 csr_pskeytostr(pskey), length * 2);
934 uint16_t pskey = 0x0000, length, stores = CSR_STORES_DEFAULT;
942 array[0] = pskey & 0xff;
943 array[1] = pskey >> 8;
951 pskey = array[4] + (array[5] << 8);
952 if (pskey == 0x0000)
956 array[0] = pskey & 0xff;
957 array[1] = pskey >> 8;
970 array[0] = pskey & 0xff;
971 array[1] = pskey >> 8;
981 str = csr_pskeytoval(pskey);
983 sprintf(val, "0x%04x", pskey);
988 str ? str : val, pskey);
1003 uint16_t pskey, length, size, stores = CSR_STORES_PSRAM;
1014 while (psr_get(&pskey, array + 6, &size) == 0) {
1015 str = csr_pskeytoval(pskey);
1017 sprintf(val, "0x%04x", pskey);
1027 array[0] = pskey & 0xff;
1028 array[1] = pskey >> 8;
1051 uint16_t pskey, size;
1058 while (psr_get(&pskey, array, &size) == 0) {
1059 printf("0x%04x =", pskey);
1127 for (i = 0; storage[i].pskey; i++) {