Home
last modified time | relevance | path

Searched refs:num_cb (Results 1 – 5 of 5) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dstart_manager.c30 int num_cb; member
53 for (kk=0; kk<inv_start_cb.num_cb; ++kk) { in inv_unregister_mpl_start_notification()
56 if (kk != (inv_start_cb.num_cb-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()
61 inv_start_cb.num_cb--; in inv_unregister_mpl_start_notification()
75 if (inv_start_cb.num_cb >= INV_MAX_START_CB) in inv_register_mpl_start_notification()
78 inv_start_cb.start_cb[inv_start_cb.num_cb] = start_cb; in inv_register_mpl_start_notification()
79 inv_start_cb.num_cb++; in inv_register_mpl_start_notification()
94 for (kk = 0; kk < inv_start_cb.num_cb; ++kk) { in inv_execute_mpl_start_notification()
Ddata_builder.c43 int num_cb; member
984 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_register_data_cb()
992 if (inv_data_builder.num_cb <= INV_MAX_DATA_CB - 1) { in inv_register_data_cb()
994 if (inv_data_builder.num_cb != 0) { in inv_register_data_cb()
996 while ((kk < inv_data_builder.num_cb) && in inv_register_data_cb()
1000 if (kk != inv_data_builder.num_cb) { in inv_register_data_cb()
1002 for (nn = inv_data_builder.num_cb; nn > kk; --nn) { in inv_register_data_cb()
1012 inv_data_builder.num_cb++; in inv_register_data_cb()
1037 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_unregister_data_cb()
1040 for (nn = kk + 1; nn < inv_data_builder.num_cb; ++nn) { in inv_unregister_data_cb()
[all …]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dstart_manager.c30 int num_cb; member
53 for (kk=0; kk<inv_start_cb.num_cb; ++kk) { in inv_unregister_mpl_start_notification()
56 if (kk != (inv_start_cb.num_cb-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()
61 inv_start_cb.num_cb--; in inv_unregister_mpl_start_notification()
75 if (inv_start_cb.num_cb >= INV_MAX_START_CB) in inv_register_mpl_start_notification()
78 inv_start_cb.start_cb[inv_start_cb.num_cb] = start_cb; in inv_register_mpl_start_notification()
79 inv_start_cb.num_cb++; in inv_register_mpl_start_notification()
94 for (kk = 0; kk < inv_start_cb.num_cb; ++kk) { in inv_execute_mpl_start_notification()
Ddata_builder.c61 int num_cb; member
820 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_register_data_cb()
828 if (inv_data_builder.num_cb <= INV_MAX_DATA_CB - 1) { in inv_register_data_cb()
830 if (inv_data_builder.num_cb != 0) { in inv_register_data_cb()
832 while ((kk < inv_data_builder.num_cb) && 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()
848 inv_data_builder.num_cb++; in inv_register_data_cb()
873 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_unregister_data_cb()
876 for (nn = kk + 1; nn < inv_data_builder.num_cb; ++nn) { in inv_unregister_data_cb()
[all …]
/hardware/invensense/60xx/mlsdk/mllite/
DmlFIFO.c155 int_fast8_t num_cb; member
2147 for (kk = 0; kk < fifo_rate_obj.num_cb; ++kk) { in inv_register_fifo_rate_process()
2156 if (fifo_rate_obj.num_cb <= MAX_HIGH_RATE_PROCESSES - 1) { in inv_register_fifo_rate_process()
2158 if (fifo_rate_obj.num_cb != 0) { in inv_register_fifo_rate_process()
2160 while ((kk < fifo_rate_obj.num_cb) && in inv_register_fifo_rate_process()
2164 if (kk != fifo_rate_obj.num_cb) { in inv_register_fifo_rate_process()
2166 for (nn = fifo_rate_obj.num_cb; nn > kk; --nn) { in inv_register_fifo_rate_process()
2176 fifo_rate_obj.num_cb++; in inv_register_fifo_rate_process()
2203 for (kk = 0; kk < fifo_rate_obj.num_cb; ++kk) { in inv_unregister_fifo_rate_process()
2205 for (jj = kk + 1; jj < fifo_rate_obj.num_cb; ++jj) { in inv_unregister_fifo_rate_process()
[all …]