Home
last modified time | relevance | path

Searched refs:counter (Results 1 – 25 of 54) sorted by relevance

123

/hardware/bsp/intel/peripheral/libmraa/examples/c++/
DIsr-pin6.cpp29 static volatile int counter = 0; variable
35 ++counter; in interrupt()
48 if (counter != oldcounter) { in main()
49 fprintf(stdout, "timeout counter == %d\n", counter); in main()
50 oldcounter = counter; in main()
/hardware/bsp/intel/peripheral/libmraa/examples/
Disr_pin6.c29 static volatile int counter = 0; variable
35 ++counter; in interrupt()
56 if (counter != oldcounter) { in main()
57 fprintf(stdout, "timeout counter == %d\n", counter); in main()
58 oldcounter = counter; in main()
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Drpr220-intr.cxx40 volatile unsigned int counter = 0; variable
45 counter++; in rprISR()
68 cout << "Counter: " << counter << endl; in main()
Da110x-intr.cxx41 volatile unsigned int counter = 0; variable
46 counter++; in hallISR()
66 cout << "Pulses detected: " << counter << endl; in main()
Dhmtrp.cxx123 int counter = 0; in main() local
148 counter++; in main()
150 if (counter > 10) in main()
155 counter = 0; in main()
Dwheelencoder.cxx57 << sensor->counter() << endl; in main()
/hardware/bsp/intel/peripheral/libupm/examples/java/
DA110X_intrSample.java29 public static int counter=0; field in A110X_intrSample
54 System.out.println("Counter: " + counter); in main()
66 A110X_intrSample.counter++; in run()
DRPR220_intrSample.java29 public static int counter = 0; field in RPR220_intrSample
51 System.out.println("Counter: " + counter); in main()
63 RPR220_intrSample.counter++; in run()
DGroveButton_intrSample.java30 public static int counter = 0; field in GroveButton_intrSample
49 System.out.println("Counter: " + counter); in main()
62 GroveButton_intrSample.counter++; in run()
DHMTRPSample.java96 int counter = 0; in main() local
120 counter++; in main()
122 if (counter > 10) { in main()
125 counter = 0; in main()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h280 int *counter) in build_channel_array() argument
291 *counter = 0; in build_channel_array()
320 (*counter)++; in build_channel_array()
324 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array()
419 bsort_channel_array_by_index(ci_array, *counter); in build_channel_array()
596 int *counter, char *sensor, int en) in enable_se() argument
604 *counter = 0; in enable_se()
631 struct iio_channel_info **ci_array, int *counter, in enable_accel_se() argument
634 return enable_se(device_dir, ci_array, counter, "accel", en); in enable_accel_se()
638 struct iio_channel_info **ci_array, int *counter, in enable_anglvel_se() argument
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h280 int *counter) in build_channel_array() argument
291 *counter = 0; in build_channel_array()
320 (*counter)++; in build_channel_array()
324 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array()
419 bsort_channel_array_by_index(ci_array, *counter); in build_channel_array()
596 int *counter, char *sensor, int en) in enable_se() argument
604 *counter = 0; in enable_se()
631 struct iio_channel_info **ci_array, int *counter, in enable_accel_se() argument
634 return enable_se(device_dir, ci_array, counter, "accel", en); in enable_accel_se()
638 struct iio_channel_info **ci_array, int *counter, in enable_anglvel_se() argument
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h279 int *counter) in build_channel_array() argument
290 *counter = 0; in build_channel_array()
319 (*counter)++; in build_channel_array()
323 *ci_array = malloc(sizeof(**ci_array) * (*counter)); in build_channel_array()
418 bsort_channel_array_by_index(ci_array, *counter); in build_channel_array()
643 int *counter) in enable() argument
650 *counter = 0; in enable()
673 int *counter) { in disable_q_out() argument
679 *counter = 0; in disable_q_out()
Dstress_iio.c504 static int counter = 0; variable
510 counter++; in run_enable_sequence()
552 enable_compass(counter%2); in run_enable_sequence()
560 enable_pressure(counter%3); in run_enable_sequence()
619 enable_pressure(counter%3); in run_disable_sequence()
628 counter++; in run_dmp_off()
666 enable_compass(counter%2); in run_dmp_off()
674 enable_pressure(counter%3); in run_dmp_off()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
Dfilter_v6.asm50 mov r7, r7, lsl #16 ; height is top part of counter
57 orr r7, r7, r3, lsr #2 ; construct loop counter
85 ands r10, r7, #0xff ; test loop counter
140 mov r7, r7, lsl #16 ; height is top part of counter
147 orr r7, r7, r3, lsr #2 ; construct loop counter
175 ands r10, r7, #0xff ; test loop counter
233 mov r7, r7, lsl #16 ; height is top part of counter
240 orr r7, r7, r3, lsr #2 ; construct loop counter
268 ands r10, r7, #0xff ; test loop counter
313 mov r7, r3, lsl #16 ; height is top part of counter
[all …]
Dbilinearfilter_v6.asm32 mov r12, r3 ; outer-loop counter
53 mov lr, r4, lsr #2 ; 4-in-parellel loop counter
111 mov lr, r4, lsr #2 ; loop counter
155 …mov r12, r4 ; outer-loop counter = width, since we work on transposed …
165 mov lr, r3, lsr #2 ; loop counter
Dsixtappredict8x4_v6.asm48 mov r2, #0x90000 ; height=9 is top part of counter
59 orr r2, r2, #0x4 ; construct loop counter. width=8=4x2
85 tst r2, #0xff ; test loop counter
146 orr r2, r2, #2 ; loop counter
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dwheelencoder.js42 sensor.counter());
/hardware/bsp/intel/peripheral/libupm/src/wheelencoder/
Dwheelencoder.h118 uint32_t counter() { return m_counter; }; in counter() function
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dwheelencoder.py49 print "Millis:", sensor.getMillis(), "Count:", sensor.counter()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/
Dssim_opt.asm176 mov rdx, 8 ;row counter
190 dec rdx ; counter
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/
Dvp9_ssim_opt.asm176 mov rdx, 8 ;row counter
190 dec rdx ; counter
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/
Dvp8_subtract_armv6.asm55 subs r9, r9, #1 ; decrement loop counter
125 subs r4, r4, #1 ; update loop counter
170 subs r4, r4, #1 ; update loop counter
261 subs r4, r4, #1 ; update loop counter
/hardware/ti/omap4xxx/test/CameraHal/
Dcamera_test_menu.cpp452 static int counter = 1; in my_raw_callback() local
467 sprintf(fn, "/sdcard/img%03d.raw", counter); in my_raw_callback()
486 counter++; in my_raw_callback()
499 static int counter = 1; in saveFile() local
511 sprintf(fn, "/sdcard/preview%03d.yuv", counter); in saveFile()
533 counter++; in saveFile()
585 static int counter = 1; in my_jpeg_callback() local
600 sprintf(fn, "%s/img%03d.jpg", dir_path,counter); in my_jpeg_callback()
623 counter++; in my_jpeg_callback()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/arm/neon/
Dvp9_convolve8_neon.asm79 mov r10, r6 ; w loop counter
165 mov r6, r10 ; restore w counter
200 mov r12, lr ; h loop counter

123