Home
last modified time | relevance | path

Searched refs:kk (Results 1 – 14 of 14) sorted by relevance

/hardware/invensense/mlsdk/mllite/
DmlFIFO.c197 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 …]
Dml.c385 int kk; in inv_register_dmp_interupt_cb() local
387 for (kk = 0; kk < mlxCallbackInterrupt.numInterruptProcesses; ++kk) { in inv_register_dmp_interupt_cb()
388 if (mlxCallbackInterrupt.processInterruptCb[kk] == func) { in inv_register_dmp_interupt_cb()
409 int kk, jj; in inv_unregister_dmp_interupt_cb() local
411 for (kk = 0; kk < mlxCallbackInterrupt.numInterruptProcesses; ++kk) { in inv_unregister_dmp_interupt_cb()
412 if (mlxCallbackInterrupt.processInterruptCb[kk] == func) { in inv_unregister_dmp_interupt_cb()
414 for (jj = kk + 1; jj < mlxCallbackInterrupt.numInterruptProcesses; in inv_unregister_dmp_interupt_cb()
433 int kk; in inv_run_dmp_interupt_cb() local
434 for (kk = 0; kk < mlxCallbackInterrupt.numInterruptProcesses; ++kk) { in inv_run_dmp_interupt_cb()
435 if (mlxCallbackInterrupt.processInterruptCb[kk]) in inv_run_dmp_interupt_cb()
[all …]
Dmlstates.c178 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 …]
DmlFIFOHW.c117 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()
DdmpDefaultMantis.c412 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()
DdmpDefault.c309 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()
DmlBiasNoMotion.c163 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/ti/omap3/omx/audio/src/openmax_il/g711_enc/tests/
DG711EncTest.c422 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/
DG729EncTest.c384 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/
DG726EncTest.c471 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/
DAacEncTest.c534 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/wbamr_enc/tests/
DWbAmrEncTest.c514 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]);
/hardware/ti/omap3/omx/audio/src/openmax_il/nbamr_enc/tests/
DAmrEncTest.c536 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/video/src/openmax_il/prepost_processor/src/
DOMX_VPP_Utils.c1240 int kk; in VPP_StateToIdle() local
1379 for (kk = 0; kk < nFilledInBuf; kk ++) { in VPP_StateToIdle()
1382 for (kk = 0; kk < nFreeOutBuf; kk ++) { in VPP_StateToIdle()