• Home
  • Raw
  • Download

Lines Matching refs:ptr

393     int ptr = INV_CAL_HDR_LEN;  in inv_load_cal_V2()  local
408 inv_obj.temp_ptrs[i] += 16777216L * ((long)calData[ptr++]); in inv_load_cal_V2()
409 inv_obj.temp_ptrs[i] += 65536L * ((long)calData[ptr++]); in inv_load_cal_V2()
410 inv_obj.temp_ptrs[i] += 256 * ((int)calData[ptr++]); in inv_load_cal_V2()
411 inv_obj.temp_ptrs[i] += (int)calData[ptr++]; in inv_load_cal_V2()
416 inv_obj.temp_valid_data[i] += 16777216L * ((long)calData[ptr++]); in inv_load_cal_V2()
417 inv_obj.temp_valid_data[i] += 65536L * ((long)calData[ptr++]); in inv_load_cal_V2()
418 inv_obj.temp_valid_data[i] += 256 * ((int)calData[ptr++]); in inv_load_cal_V2()
419 inv_obj.temp_valid_data[i] += (int)calData[ptr++]; in inv_load_cal_V2()
427 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V2()
428 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V2()
429 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V2()
430 tmp += (long long)calData[ptr++]; in inv_load_cal_V2()
443 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V2()
444 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V2()
445 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V2()
446 tmp += (long long)calData[ptr++]; in inv_load_cal_V2()
458 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V2()
459 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V2()
460 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V2()
461 tmp += (long long)calData[ptr++]; in inv_load_cal_V2()
473 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V2()
474 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V2()
475 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V2()
476 tmp += (long long)calData[ptr++]; in inv_load_cal_V2()
489 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V2()
490 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V2()
491 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V2()
492 t += (uint32_t) calData[ptr++]; in inv_load_cal_V2()
553 int ptr = INV_CAL_HDR_LEN; in inv_load_cal_V3() local
566 inv_obj.temp_ptrs[i] += 16777216L * ((long)calData[ptr++]); in inv_load_cal_V3()
567 inv_obj.temp_ptrs[i] += 65536L * ((long)calData[ptr++]); in inv_load_cal_V3()
568 inv_obj.temp_ptrs[i] += 256 * ((int)calData[ptr++]); in inv_load_cal_V3()
569 inv_obj.temp_ptrs[i] += (int)calData[ptr++]; in inv_load_cal_V3()
574 inv_obj.temp_valid_data[i] += 16777216L * ((long)calData[ptr++]); in inv_load_cal_V3()
575 inv_obj.temp_valid_data[i] += 65536L * ((long)calData[ptr++]); in inv_load_cal_V3()
576 inv_obj.temp_valid_data[i] += 256 * ((int)calData[ptr++]); in inv_load_cal_V3()
577 inv_obj.temp_valid_data[i] += (int)calData[ptr++]; in inv_load_cal_V3()
585 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V3()
586 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V3()
587 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V3()
588 tmp += (long long)calData[ptr++]; in inv_load_cal_V3()
601 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V3()
602 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V3()
603 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V3()
604 tmp += (long long)calData[ptr++]; in inv_load_cal_V3()
616 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V3()
617 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V3()
618 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V3()
619 tmp += (long long)calData[ptr++]; in inv_load_cal_V3()
631 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V3()
632 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V3()
633 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V3()
634 tmp += (long long)calData[ptr++]; in inv_load_cal_V3()
647 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
648 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
649 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
650 t += (uint32_t) calData[ptr++]; in inv_load_cal_V3()
660 inv_obj.got_compass_bias = (int)calData[ptr++]; in inv_load_cal_V3()
661 inv_obj.got_init_compass_bias = (int)calData[ptr++]; in inv_load_cal_V3()
662 inv_obj.compass_state = (int)calData[ptr++]; in inv_load_cal_V3()
666 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
667 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
668 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
669 t += (uint32_t) calData[ptr++]; in inv_load_cal_V3()
676 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
677 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
678 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
679 t += (uint32_t) calData[ptr++]; in inv_load_cal_V3()
686 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
687 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
688 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
689 t += (uint32_t) calData[ptr++]; in inv_load_cal_V3()
695 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
696 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
697 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V3()
698 t += (uint32_t) calData[ptr++]; in inv_load_cal_V3()
704 dToLL.ll += 72057594037927936ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
705 dToLL.ll += 281474976710656ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
706 dToLL.ll += 1099511627776ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
707 dToLL.ll += 4294967296LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
708 dToLL.ll += 16777216ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
709 dToLL.ll += 65536ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
710 dToLL.ll += 256LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
711 dToLL.ll += (unsigned long long)calData[ptr++]; in inv_load_cal_V3()
718 dToLL.ll += 72057594037927936ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
719 dToLL.ll += 281474976710656ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
720 dToLL.ll += 1099511627776ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
721 dToLL.ll += 4294967296LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
722 dToLL.ll += 16777216ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
723 dToLL.ll += 65536ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
724 dToLL.ll += 256LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V3()
725 dToLL.ll += (unsigned long long)calData[ptr++]; in inv_load_cal_V3()
782 int ptr = INV_CAL_HDR_LEN; in inv_load_cal_V4() local
797 inv_obj.temp_ptrs[i] += 16777216L * ((long)calData[ptr++]); in inv_load_cal_V4()
798 inv_obj.temp_ptrs[i] += 65536L * ((long)calData[ptr++]); in inv_load_cal_V4()
799 inv_obj.temp_ptrs[i] += 256 * ((int)calData[ptr++]); in inv_load_cal_V4()
800 inv_obj.temp_ptrs[i] += (int)calData[ptr++]; in inv_load_cal_V4()
805 inv_obj.temp_valid_data[i] += 16777216L * ((long)calData[ptr++]); in inv_load_cal_V4()
806 inv_obj.temp_valid_data[i] += 65536L * ((long)calData[ptr++]); in inv_load_cal_V4()
807 inv_obj.temp_valid_data[i] += 256 * ((int)calData[ptr++]); in inv_load_cal_V4()
808 inv_obj.temp_valid_data[i] += (int)calData[ptr++]; in inv_load_cal_V4()
816 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V4()
817 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V4()
818 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V4()
819 tmp += (long long)calData[ptr++]; in inv_load_cal_V4()
832 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V4()
833 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V4()
834 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V4()
835 tmp += (long long)calData[ptr++]; in inv_load_cal_V4()
847 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V4()
848 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V4()
849 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V4()
850 tmp += (long long)calData[ptr++]; in inv_load_cal_V4()
862 tmp += 16777216LL * (long long)calData[ptr++]; in inv_load_cal_V4()
863 tmp += 65536LL * (long long)calData[ptr++]; in inv_load_cal_V4()
864 tmp += 256LL * (long long)calData[ptr++]; in inv_load_cal_V4()
865 tmp += (long long)calData[ptr++]; in inv_load_cal_V4()
878 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
879 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
880 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
881 t += (uint32_t) calData[ptr++]; in inv_load_cal_V4()
893 inv_obj.got_compass_bias = (int)calData[ptr++]; in inv_load_cal_V4()
895 inv_obj.got_init_compass_bias = (int)calData[ptr++]; in inv_load_cal_V4()
897 inv_obj.compass_state = (int)calData[ptr++]; in inv_load_cal_V4()
902 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
903 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
904 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
905 t += (uint32_t) calData[ptr++]; in inv_load_cal_V4()
912 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
913 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
914 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
915 t += (uint32_t) calData[ptr++]; in inv_load_cal_V4()
922 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
923 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
924 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
925 t += (uint32_t) calData[ptr++]; in inv_load_cal_V4()
931 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
932 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
933 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
934 t += (uint32_t) calData[ptr++]; in inv_load_cal_V4()
939 dToLL.ll = 72057594037927936ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
940 dToLL.ll += 281474976710656ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
941 dToLL.ll += 1099511627776ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
942 dToLL.ll += 4294967296LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
943 dToLL.ll += 16777216ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
944 dToLL.ll += 65536ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
945 dToLL.ll += 256LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
946 dToLL.ll += (unsigned long long)calData[ptr++]; in inv_load_cal_V4()
952 dToLL.ll = 72057594037927936ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
953 dToLL.ll += 281474976710656ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
954 dToLL.ll += 1099511627776ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
955 dToLL.ll += 4294967296LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
956 dToLL.ll += 16777216ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
957 dToLL.ll += 65536ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
958 dToLL.ll += 256LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
959 dToLL.ll += (unsigned long long)calData[ptr++]; in inv_load_cal_V4()
967 t += 16777216UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
968 t += 65536UL * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
969 t += 256u * ((uint32_t) calData[ptr++]); in inv_load_cal_V4()
970 t += (uint32_t) calData[ptr++]; in inv_load_cal_V4()
975 dToLL.ll = 72057594037927936ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
976 dToLL.ll += 281474976710656ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
977 dToLL.ll += 1099511627776ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
978 dToLL.ll += 4294967296LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
979 dToLL.ll += 16777216ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
980 dToLL.ll += 65536ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
981 dToLL.ll += 256LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
982 dToLL.ll += (unsigned long long)calData[ptr++]; in inv_load_cal_V4()
988 dToLL.ll = 72057594037927936ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
989 dToLL.ll += 281474976710656ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
990 dToLL.ll += 1099511627776ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
991 dToLL.ll += 4294967296LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
992 dToLL.ll += 16777216ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
993 dToLL.ll += 65536ULL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
994 dToLL.ll += 256LL * ((unsigned long long)calData[ptr++]); in inv_load_cal_V4()
995 dToLL.ll += (unsigned long long)calData[ptr++]; in inv_load_cal_V4()
1002 inv_obj.flags[INV_COMPASS_OFFSET_VALID] = calData[ptr++]; in inv_load_cal_V4()
1003 inv_obj.compass_offsets[0] = calData[ptr++]; in inv_load_cal_V4()
1004 inv_obj.compass_offsets[1] = calData[ptr++]; in inv_load_cal_V4()
1005 inv_obj.compass_offsets[2] = calData[ptr++]; in inv_load_cal_V4()
1007 inv_obj.compass_accuracy = calData[ptr++]; in inv_load_cal_V4()
1064 int ptr = INV_CAL_HDR_LEN; in inv_load_cal_V5() local
1079 temp = (unsigned short)calData[ptr++] * (1L << 8); in inv_load_cal_V5()
1080 temp += calData[ptr++]; in inv_load_cal_V5()
1087 tmp += (int32_t) calData[ptr++] * (1L << 24); in inv_load_cal_V5()
1088 tmp += (int32_t) calData[ptr++] * (1L << 16); in inv_load_cal_V5()
1089 tmp += (int32_t) calData[ptr++] * (1L << 8); in inv_load_cal_V5()
1090 tmp += (int32_t) calData[ptr++]; in inv_load_cal_V5()
1123 tmp += (int32_t) calData[ptr++] * (1L << 24); in inv_load_cal_V5()
1124 tmp += (int32_t) calData[ptr++] * (1L << 16); in inv_load_cal_V5()
1125 tmp += (int32_t) calData[ptr++] * (1L << 8); in inv_load_cal_V5()
1126 tmp += (int32_t) calData[ptr++]; in inv_load_cal_V5()
1166 int ptr; in inv_load_cal() local
1199 ptr = len - INV_CAL_CHK_LEN; in inv_load_cal()
1201 chk += 16777216L * ((uint32_t) calData[ptr++]); in inv_load_cal()
1202 chk += 65536L * ((uint32_t) calData[ptr++]); in inv_load_cal()
1203 chk += 256 * ((uint32_t) calData[ptr++]); in inv_load_cal()
1204 chk += (uint32_t) calData[ptr++]; in inv_load_cal()
1234 int ptr = 0; in inv_store_cal() local
1264 ptr = 6; in inv_store_cal()
1267 calData[ptr++] = (unsigned char)((tmp >> 24) & 0xff); in inv_store_cal()
1268 calData[ptr++] = (unsigned char)((tmp >> 16) & 0xff); in inv_store_cal()
1269 calData[ptr++] = (unsigned char)((tmp >> 8) & 0xff); in inv_store_cal()
1270 calData[ptr++] = (unsigned char)(tmp & 0xff); in inv_store_cal()
1276 calData[ptr++] = (unsigned char)((tmp >> 24) & 0xff); in inv_store_cal()
1277 calData[ptr++] = (unsigned char)((tmp >> 16) & 0xff); in inv_store_cal()
1278 calData[ptr++] = (unsigned char)((tmp >> 8) & 0xff); in inv_store_cal()
1279 calData[ptr++] = (unsigned char)(tmp & 0xff); in inv_store_cal()
1288 calData[ptr++] = (unsigned char)((tmp >> 24) & 0xff); in inv_store_cal()
1289 calData[ptr++] = (unsigned char)((tmp >> 16) & 0xff); in inv_store_cal()
1290 calData[ptr++] = (unsigned char)((tmp >> 8) & 0xff); in inv_store_cal()
1291 calData[ptr++] = (unsigned char)(tmp & 0xff); in inv_store_cal()
1303 calData[ptr++] = (unsigned char)((tmp >> 24) & 0xff); in inv_store_cal()
1304 calData[ptr++] = (unsigned char)((tmp >> 16) & 0xff); in inv_store_cal()
1305 calData[ptr++] = (unsigned char)((tmp >> 8) & 0xff); in inv_store_cal()
1306 calData[ptr++] = (unsigned char)(tmp & 0xff); in inv_store_cal()
1317 calData[ptr++] = (unsigned char)((tmp >> 24) & 0xff); in inv_store_cal()
1318 calData[ptr++] = (unsigned char)((tmp >> 16) & 0xff); in inv_store_cal()
1319 calData[ptr++] = (unsigned char)((tmp >> 8) & 0xff); in inv_store_cal()
1320 calData[ptr++] = (unsigned char)(tmp & 0xff); in inv_store_cal()
1331 calData[ptr++] = (unsigned char)((tmp >> 24) & 0xff); in inv_store_cal()
1332 calData[ptr++] = (unsigned char)((tmp >> 16) & 0xff); in inv_store_cal()
1333 calData[ptr++] = (unsigned char)((tmp >> 8) & 0xff); in inv_store_cal()
1334 calData[ptr++] = (unsigned char)(tmp & 0xff); in inv_store_cal()
1345 calData[ptr++] = (unsigned char)((t >> 24) & 0xff); in inv_store_cal()
1346 calData[ptr++] = (unsigned char)((t >> 16) & 0xff); in inv_store_cal()
1347 calData[ptr++] = (unsigned char)((t >> 8) & 0xff); in inv_store_cal()
1348 calData[ptr++] = (unsigned char)(t & 0xff); in inv_store_cal()
1353 calData[ptr++] = (unsigned char)(inv_obj.got_compass_bias); in inv_store_cal()
1355 calData[ptr++] = (unsigned char)(inv_obj.got_init_compass_bias); in inv_store_cal()
1358 calData[ptr++] = SF_UNCALIBRATED; in inv_store_cal()
1360 calData[ptr++] = SF_STARTUP_SETTLE; in inv_store_cal()
1366 calData[ptr++] = (unsigned char)((t >> 24) & 0xff); in inv_store_cal()
1367 calData[ptr++] = (unsigned char)((t >> 16) & 0xff); in inv_store_cal()
1368 calData[ptr++] = (unsigned char)((t >> 8) & 0xff); in inv_store_cal()
1369 calData[ptr++] = (unsigned char)(t & 0xff); in inv_store_cal()
1375 calData[ptr++] = (unsigned char)((t >> 24) & 0xff); in inv_store_cal()
1376 calData[ptr++] = (unsigned char)((t >> 16) & 0xff); in inv_store_cal()
1377 calData[ptr++] = (unsigned char)((t >> 8) & 0xff); in inv_store_cal()
1378 calData[ptr++] = (unsigned char)(t & 0xff); in inv_store_cal()
1384 calData[ptr++] = (unsigned char)((t >> 24) & 0xff); in inv_store_cal()
1385 calData[ptr++] = (unsigned char)((t >> 16) & 0xff); in inv_store_cal()
1386 calData[ptr++] = (unsigned char)((t >> 8) & 0xff); in inv_store_cal()
1387 calData[ptr++] = (unsigned char)(t & 0xff); in inv_store_cal()
1392 calData[ptr++] = (unsigned char)((t >> 24) & 0xff); in inv_store_cal()
1393 calData[ptr++] = (unsigned char)((t >> 16) & 0xff); in inv_store_cal()
1394 calData[ptr++] = (unsigned char)((t >> 8) & 0xff); in inv_store_cal()
1395 calData[ptr++] = (unsigned char)(t & 0xff); in inv_store_cal()
1400 calData[ptr++] = (unsigned char)((dToLL.ll >> 56) & 0xff); in inv_store_cal()
1401 calData[ptr++] = (unsigned char)((dToLL.ll >> 48) & 0xff); in inv_store_cal()
1402 calData[ptr++] = (unsigned char)((dToLL.ll >> 40) & 0xff); in inv_store_cal()
1403 calData[ptr++] = (unsigned char)((dToLL.ll >> 32) & 0xff); in inv_store_cal()
1404 calData[ptr++] = (unsigned char)((dToLL.ll >> 24) & 0xff); in inv_store_cal()
1405 calData[ptr++] = (unsigned char)((dToLL.ll >> 16) & 0xff); in inv_store_cal()
1406 calData[ptr++] = (unsigned char)((dToLL.ll >> 8) & 0xff); in inv_store_cal()
1407 calData[ptr++] = (unsigned char)(dToLL.ll & 0xff); in inv_store_cal()
1413 calData[ptr++] = (unsigned char)((dToLL.ll >> 56) & 0xff); in inv_store_cal()
1414 calData[ptr++] = (unsigned char)((dToLL.ll >> 48) & 0xff); in inv_store_cal()
1415 calData[ptr++] = (unsigned char)((dToLL.ll >> 40) & 0xff); in inv_store_cal()
1416 calData[ptr++] = (unsigned char)((dToLL.ll >> 32) & 0xff); in inv_store_cal()
1417 calData[ptr++] = (unsigned char)((dToLL.ll >> 24) & 0xff); in inv_store_cal()
1418 calData[ptr++] = (unsigned char)((dToLL.ll >> 16) & 0xff); in inv_store_cal()
1419 calData[ptr++] = (unsigned char)((dToLL.ll >> 8) & 0xff); in inv_store_cal()
1420 calData[ptr++] = (unsigned char)(dToLL.ll & 0xff); in inv_store_cal()
1426 calData[ptr++] = (unsigned char)((t >> 24) & 0xff); in inv_store_cal()
1427 calData[ptr++] = (unsigned char)((t >> 16) & 0xff); in inv_store_cal()
1428 calData[ptr++] = (unsigned char)((t >> 8) & 0xff); in inv_store_cal()
1429 calData[ptr++] = (unsigned char)(t & 0xff); in inv_store_cal()
1434 calData[ptr++] = (unsigned char)((dToLL.ll >> 56) & 0xff); in inv_store_cal()
1435 calData[ptr++] = (unsigned char)((dToLL.ll >> 48) & 0xff); in inv_store_cal()
1436 calData[ptr++] = (unsigned char)((dToLL.ll >> 40) & 0xff); in inv_store_cal()
1437 calData[ptr++] = (unsigned char)((dToLL.ll >> 32) & 0xff); in inv_store_cal()
1438 calData[ptr++] = (unsigned char)((dToLL.ll >> 24) & 0xff); in inv_store_cal()
1439 calData[ptr++] = (unsigned char)((dToLL.ll >> 16) & 0xff); in inv_store_cal()
1440 calData[ptr++] = (unsigned char)((dToLL.ll >> 8) & 0xff); in inv_store_cal()
1441 calData[ptr++] = (unsigned char)(dToLL.ll & 0xff); in inv_store_cal()
1447 calData[ptr++] = (unsigned char)((dToLL.ll >> 56) & 0xff); in inv_store_cal()
1448 calData[ptr++] = (unsigned char)((dToLL.ll >> 48) & 0xff); in inv_store_cal()
1449 calData[ptr++] = (unsigned char)((dToLL.ll >> 40) & 0xff); in inv_store_cal()
1450 calData[ptr++] = (unsigned char)((dToLL.ll >> 32) & 0xff); in inv_store_cal()
1451 calData[ptr++] = (unsigned char)((dToLL.ll >> 24) & 0xff); in inv_store_cal()
1452 calData[ptr++] = (unsigned char)((dToLL.ll >> 16) & 0xff); in inv_store_cal()
1453 calData[ptr++] = (unsigned char)((dToLL.ll >> 8) & 0xff); in inv_store_cal()
1454 calData[ptr++] = (unsigned char)(dToLL.ll & 0xff); in inv_store_cal()
1460 calData[ptr++] = (unsigned char)inv_obj.flags[INV_COMPASS_OFFSET_VALID]; in inv_store_cal()
1461 calData[ptr++] = (unsigned char)inv_obj.compass_offsets[0]; in inv_store_cal()
1462 calData[ptr++] = (unsigned char)inv_obj.compass_offsets[1]; in inv_store_cal()
1463 calData[ptr++] = (unsigned char)inv_obj.compass_offsets[2]; in inv_store_cal()
1466 calData[ptr++] = (unsigned char)(inv_obj.compass_accuracy); in inv_store_cal()
1471 calData[ptr++] = (unsigned char)((chk >> 24) & 0xff); in inv_store_cal()
1472 calData[ptr++] = (unsigned char)((chk >> 16) & 0xff); in inv_store_cal()
1473 calData[ptr++] = (unsigned char)((chk >> 8) & 0xff); in inv_store_cal()
1474 calData[ptr++] = (unsigned char)(chk & 0xff); in inv_store_cal()