/hardware/invensense/60xx/mlsdk/mllite/ |
D | mlFIFO.c | 197 uint_fast8_t kk; in inv_set_fifo_reference() local 200 for (kk = 0; kk < len; ++kk) { in inv_set_fifo_reference() 202 && (fifo_obj.reference_count[kk + refOffset] > 0)) { in inv_set_fifo_reference() 203 fifo_obj.reference_count[kk + refOffset]--; in inv_set_fifo_reference() 208 for (kk = 0; kk < len; ++kk) { in inv_set_fifo_reference() 210 fifo_obj.reference_count[kk + refOffset]++; in inv_set_fifo_reference() 215 for (kk = 0; kk < len; ++kk) { in inv_set_fifo_reference() 216 if (fifo_obj.reference_count[kk + refOffset] > 0) in inv_set_fifo_reference() 217 elements |= (1 << kk); in inv_set_fifo_reference() 233 int_fast8_t kk; in inv_construct3_fifo() local [all …]
|
D | ml.c | 396 int kk; in inv_register_dmp_interupt_cb() local 398 for (kk = 0; kk < mlxCallbackInterrupt.numInterruptProcesses; ++kk) { in inv_register_dmp_interupt_cb() 399 if (mlxCallbackInterrupt.processInterruptCb[kk] == func) { in inv_register_dmp_interupt_cb() 420 int kk, jj; in inv_unregister_dmp_interupt_cb() local 422 for (kk = 0; kk < mlxCallbackInterrupt.numInterruptProcesses; ++kk) { in inv_unregister_dmp_interupt_cb() 423 if (mlxCallbackInterrupt.processInterruptCb[kk] == func) { in inv_unregister_dmp_interupt_cb() 425 for (jj = kk + 1; jj < mlxCallbackInterrupt.numInterruptProcesses; in inv_unregister_dmp_interupt_cb() 444 int kk; in inv_run_dmp_interupt_cb() local 445 for (kk = 0; kk < mlxCallbackInterrupt.numInterruptProcesses; ++kk) { in inv_run_dmp_interupt_cb() 446 if (mlxCallbackInterrupt.processInterruptCb[kk]) in inv_run_dmp_interupt_cb() [all …]
|
D | mlstates.c | 178 int kk; in inv_register_state_callback() local 189 for (kk = 0; kk < sStateChangeCallbacks.numStateChangeCallbacks; ++kk) { in inv_register_state_callback() 190 if (sStateChangeCallbacks.stateChangeCallbacks[kk] == callback) { in inv_register_state_callback() 221 int kk, jj; in inv_unregister_state_callback() local 230 for (kk = 0; kk < sStateChangeCallbacks.numStateChangeCallbacks; ++kk) { in inv_unregister_state_callback() 231 if (sStateChangeCallbacks.stateChangeCallbacks[kk] == callback) { in inv_unregister_state_callback() 232 for (jj = kk + 1; in inv_unregister_state_callback() 249 int kk; in inv_run_state_callbacks() local 258 for (kk = 0; kk < sStateChangeCallbacks.numStateChangeCallbacks; ++kk) { in inv_run_state_callbacks() 259 if (sStateChangeCallbacks.stateChangeCallbacks[kk]) { in inv_run_state_callbacks() [all …]
|
D | mlFIFOHW.c | 117 int_fast8_t kk; in inv_get_fifo() local 162 for (kk = 0; kk < fifo_objHW.fifoCount; ++kk) { in inv_get_fifo() 163 if (buffer[kk] != gFifoFooter[kk]) { in inv_get_fifo() 169 for (kk = 0; kk < (int)toRead; kk++) { in inv_get_fifo() 170 sprintf(out, "%s%02X", out, buffer[kk]);} in inv_get_fifo()
|
D | dmpDefaultMantis.c | 412 int kk; in inv_setup_dmpGetAddress() local 413 for (kk=0; kk<NUM_KEYS; ++kk) { in inv_setup_dmpGetAddress() 414 keys[ kk ].addr = 0xffff; in inv_setup_dmpGetAddress() 415 keys[ kk ].key = kk; in inv_setup_dmpGetAddress() 417 for (kk=0; kk<NUM_LOCAL_KEYS; ++kk) { in inv_setup_dmpGetAddress() 418 keys[ dmpTConfig[kk].key ].addr = dmpTConfig[kk].addr; in inv_setup_dmpGetAddress()
|
D | dmpDefault.c | 309 int kk; in inv_setup_dmpGetAddress() local 310 for (kk=0; kk<NUM_KEYS; ++kk) { in inv_setup_dmpGetAddress() 311 keys[ kk ].addr = 0xffff; in inv_setup_dmpGetAddress() 312 keys[ kk ].key = kk; in inv_setup_dmpGetAddress() 314 for (kk=0; kk<NUM_LOCAL_KEYS; ++kk) { in inv_setup_dmpGetAddress() 315 keys[ dmpTConfig[kk].key ].addr = dmpTConfig[kk].addr; in inv_setup_dmpGetAddress()
|
D | mlBiasNoMotion.c | 163 int kk; in MLAccelMotionDetection() local 186 for (kk = 0; kk < ACCEL_NUM_AXES; ++kk) { in MLAccelMotionDetection() 187 inv_obj->accel_lpf[kk] = in MLAccelMotionDetection() 188 inv_q30_mult(((1L << 30) - gain), inv_obj->accel_lpf[kk]); in MLAccelMotionDetection() 189 inv_obj->accel_lpf[kk] += inv_q30_mult(gain, accel[kk]); in MLAccelMotionDetection()
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | start_manager.c | 51 int kk; in inv_unregister_mpl_start_notification() local 53 for (kk=0; kk<inv_start_cb.num_cb; ++kk) { in inv_unregister_mpl_start_notification() 54 if (inv_start_cb.start_cb[kk] == start_cb) { in inv_unregister_mpl_start_notification() 56 if (kk != (inv_start_cb.num_cb-1)) { in inv_unregister_mpl_start_notification() 57 memmove(&inv_start_cb.start_cb[kk], in inv_unregister_mpl_start_notification() 58 &inv_start_cb.start_cb[kk+1], in inv_unregister_mpl_start_notification() 59 (inv_start_cb.num_cb-kk-1)*sizeof(inv_start_cb_func)); in inv_unregister_mpl_start_notification() 90 int kk; in inv_execute_mpl_start_notification() local 94 for (kk = 0; kk < inv_start_cb.num_cb; ++kk) { in inv_execute_mpl_start_notification() 95 result = inv_start_cb.start_cb[kk](); in inv_execute_mpl_start_notification()
|
D | storage_manager.c | 69 int kk; in inv_register_load_store() local 71 for (kk=0; kk<ds.num; ++kk) { in inv_register_load_store() 72 if (key == ds.hd[kk].key) { in inv_register_load_store() 107 int kk; in inv_find_entry() local 108 for (kk=0; kk<ds.num; ++kk) { in inv_find_entry() 109 if (key == ds.hd[kk].key) { in inv_find_entry() 110 return kk; in inv_find_entry() 175 int kk; in inv_save_mpl_states() local 180 for (kk = 0; kk < ds.num; ++kk) { in inv_save_mpl_states() 183 ds.save[kk](cur); in inv_save_mpl_states() [all …]
|
D | data_builder.c | 816 int kk, nn; in inv_register_data_cb() local 820 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_register_data_cb() 821 if ((inv_data_builder.process[kk].func == func) || in inv_register_data_cb() 822 (inv_data_builder.process[kk].priority == priority)) { in inv_register_data_cb() 829 kk = 0; in inv_register_data_cb() 832 while ((kk < inv_data_builder.num_cb) && in inv_register_data_cb() 833 (inv_data_builder.process[kk].priority < priority)) { in inv_register_data_cb() 834 kk++; in inv_register_data_cb() 836 if (kk != inv_data_builder.num_cb) { in inv_register_data_cb() 838 for (nn = inv_data_builder.num_cb; nn > kk; --nn) { in inv_register_data_cb() [all …]
|
D | ml_math_func.c | 74 int kk; in inv_get_gyro_sum_of_sqr() local 76 for (kk = 0; kk < 3; ++kk) { in inv_get_gyro_sum_of_sqr() 77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | start_manager.c | 51 int kk; in inv_unregister_mpl_start_notification() local 53 for (kk=0; kk<inv_start_cb.num_cb; ++kk) { in inv_unregister_mpl_start_notification() 54 if (inv_start_cb.start_cb[kk] == start_cb) { in inv_unregister_mpl_start_notification() 56 if (kk != (inv_start_cb.num_cb-1)) { in inv_unregister_mpl_start_notification() 57 memmove(&inv_start_cb.start_cb[kk], in inv_unregister_mpl_start_notification() 58 &inv_start_cb.start_cb[kk+1], in inv_unregister_mpl_start_notification() 59 (inv_start_cb.num_cb-kk-1)*sizeof(inv_start_cb_func)); in inv_unregister_mpl_start_notification() 90 int kk; in inv_execute_mpl_start_notification() local 94 for (kk = 0; kk < inv_start_cb.num_cb; ++kk) { in inv_execute_mpl_start_notification() 95 result = inv_start_cb.start_cb[kk](); in inv_execute_mpl_start_notification()
|
D | storage_manager.c | 73 int kk; in inv_register_load_store() local 75 for (kk=0; kk<ds.num; ++kk) { in inv_register_load_store() 76 if (key == ds.hd[kk].key) { in inv_register_load_store() 111 int kk; in inv_find_entry() local 112 for (kk=0; kk<ds.num; ++kk) { in inv_find_entry() 113 if (key == ds.hd[kk].key) { in inv_find_entry() 114 return kk; in inv_find_entry() 179 int kk; in inv_save_mpl_states() local 186 for (kk = 0; kk < ds.num; ++kk) { in inv_save_mpl_states() 189 ds.save[kk](cur); in inv_save_mpl_states() [all …]
|
D | data_builder.c | 1050 int kk, nn; in inv_register_data_cb() local 1054 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_register_data_cb() 1055 if ((inv_data_builder.process[kk].func == func) || in inv_register_data_cb() 1056 (inv_data_builder.process[kk].priority == priority)) { in inv_register_data_cb() 1063 kk = 0; in inv_register_data_cb() 1066 while ((kk < inv_data_builder.num_cb) && in inv_register_data_cb() 1067 (inv_data_builder.process[kk].priority < priority)) { in inv_register_data_cb() 1068 kk++; in inv_register_data_cb() 1070 if (kk != inv_data_builder.num_cb) { in inv_register_data_cb() 1072 for (nn = inv_data_builder.num_cb; nn > kk; --nn) { in inv_register_data_cb() [all …]
|
D | ml_math_func.c | 74 int kk; in inv_get_gyro_sum_of_sqr() local 76 for (kk = 0; kk < 3; ++kk) { in inv_get_gyro_sum_of_sqr() 77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | start_manager.c | 51 int kk; in inv_unregister_mpl_start_notification() local 53 for (kk=0; kk<inv_start_cb.num_cb; ++kk) { in inv_unregister_mpl_start_notification() 54 if (inv_start_cb.start_cb[kk] == start_cb) { in inv_unregister_mpl_start_notification() 56 if (kk != (inv_start_cb.num_cb-1)) { in inv_unregister_mpl_start_notification() 57 memmove(&inv_start_cb.start_cb[kk], in inv_unregister_mpl_start_notification() 58 &inv_start_cb.start_cb[kk+1], in inv_unregister_mpl_start_notification() 59 (inv_start_cb.num_cb-kk-1)*sizeof(inv_start_cb_func)); in inv_unregister_mpl_start_notification() 90 int kk; in inv_execute_mpl_start_notification() local 94 for (kk = 0; kk < inv_start_cb.num_cb; ++kk) { in inv_execute_mpl_start_notification() 95 result = inv_start_cb.start_cb[kk](); in inv_execute_mpl_start_notification()
|
D | storage_manager.c | 73 int kk; in inv_register_load_store() local 75 for (kk=0; kk<ds.num; ++kk) { in inv_register_load_store() 76 if (key == ds.hd[kk].key) { in inv_register_load_store() 111 int kk; in inv_find_entry() local 112 for (kk=0; kk<ds.num; ++kk) { in inv_find_entry() 113 if (key == ds.hd[kk].key) { in inv_find_entry() 114 return kk; in inv_find_entry() 179 int kk; in inv_save_mpl_states() local 186 for (kk = 0; kk < ds.num; ++kk) { in inv_save_mpl_states() 189 ds.save[kk](cur); in inv_save_mpl_states() [all …]
|
D | data_builder.c | 1278 int kk, nn; in inv_register_data_cb() local 1282 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_register_data_cb() 1283 if ((inv_data_builder.process[kk].func == func) || in inv_register_data_cb() 1284 (inv_data_builder.process[kk].priority == priority)) { in inv_register_data_cb() 1291 kk = 0; in inv_register_data_cb() 1294 while ((kk < inv_data_builder.num_cb) && in inv_register_data_cb() 1295 (inv_data_builder.process[kk].priority < priority)) { in inv_register_data_cb() 1296 kk++; in inv_register_data_cb() 1298 if (kk != inv_data_builder.num_cb) { in inv_register_data_cb() 1300 for (nn = inv_data_builder.num_cb; nn > kk; --nn) { in inv_register_data_cb() [all …]
|
D | ml_math_func.c | 74 int kk; in inv_get_gyro_sum_of_sqr() local 76 for (kk = 0; kk < 3; ++kk) { in inv_get_gyro_sum_of_sqr() 77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2)); in inv_get_gyro_sum_of_sqr()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/ |
D | G711EncTest.c | 422 int retval= 0, i= 0, j= 0, k= 0, kk= 0, tcID = 0; in main() local 979 for (kk = 0; kk < audioinfo->nOpBufs; kk++) { in main() 982 if (kk==0){ in main() 987 OMX_FillThisBuffer(pHandle, pOutputBufferHeader[kk]); in main()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g729_enc/tests/ |
D | G729EncTest.c | 384 int retval = 0, i = 0, j = 0, k = 0, kk = 0; in main() local 960 for (kk = 0; kk < audioinfo->nOpBufs; kk++) { in main() 962 if (kk==0) in main() 968 OMX_FillThisBuffer(pHandle, pOutputBufferHeader[kk]); in main()
|
/hardware/ti/omap3/omx/audio/src/openmax_il/g726_enc/tests/ |
D | G726EncTest.c | 471 int retval, i = 0, j = 0, k = 0, kk = 0, tcID = 0; local 1079 for (kk = 0; kk < numOutputBuffers; kk++) { 1083 if (kk==0) 1089 OMX_FillThisBuffer(pHandle, pOutputBufferHeader[kk]);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/aac_enc/tests/ |
D | AacEncTest.c | 534 int status,fdmax,jj,kk,k; local 1338 kk = 0; 1339 for(kk=0; kk<testcnt; kk++) 1341 APP_DPRINT ("%d :: APP: Test counter = %d \n",__LINE__,kk); 1342 if(kk > 0) 1383 APP_IPRINT ("%d :: APP: Encoding the file [%d] Time\n",__LINE__, kk+1);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/ |
D | AmrEncTest.c | 536 int retval, i, j, k, kk, tcID = 0; local 1264 for (kk = 0; kk < numOutputBuffers; kk++) { 1267 if (kk==0) 1273 pComponent->FillThisBuffer(pHandle, pOutputBufferHeader[kk]);
|
/hardware/ti/omap3/omx/audio/src/openmax_il/wbamr_enc/tests/ |
D | WbAmrEncTest.c | 514 int retval, i, j, k, kk, tcID = 0; local 1286 for (kk = 0; kk < numOfOutputBuffer; kk++) { 1290 if (kk == 0) { 1297 pComponent->FillThisBuffer(pHandle, pOutputBufferHeader[kk]);
|