Home
last modified time | relevance | path

Searched refs:num_cb (Results 1 – 4 of 4) 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
1054 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_register_data_cb()
1062 if (inv_data_builder.num_cb <= INV_MAX_DATA_CB - 1) { in inv_register_data_cb()
1064 if (inv_data_builder.num_cb != 0) { in inv_register_data_cb()
1066 while ((kk < inv_data_builder.num_cb) && 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()
1082 inv_data_builder.num_cb++; in inv_register_data_cb()
1107 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_unregister_data_cb()
1110 for (nn = kk + 1; nn < inv_data_builder.num_cb; ++nn) { in inv_unregister_data_cb()
[all …]
/hardware/invensense/6515/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
1282 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_register_data_cb()
1290 if (inv_data_builder.num_cb <= INV_MAX_DATA_CB - 1) { in inv_register_data_cb()
1292 if (inv_data_builder.num_cb != 0) { in inv_register_data_cb()
1294 while ((kk < inv_data_builder.num_cb) && 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()
1310 inv_data_builder.num_cb++; in inv_register_data_cb()
1335 for (kk = 0; kk < inv_data_builder.num_cb; ++kk) { in inv_unregister_data_cb()
1338 for (nn = kk + 1; nn < inv_data_builder.num_cb; ++nn) { in inv_unregister_data_cb()
[all …]