Searched refs:buf_index (Results 1 – 4 of 4) sorted by relevance
76 t_dev_ctx->sensor_data_buffer[t_dev_ctx->buf_index++] = value; in morello_sensor_timer_callback()78 if (t_dev_ctx->buf_index == PVT_HISTORY_LEN) { in morello_sensor_timer_callback()79 t_dev_ctx->buf_index = 0; in morello_sensor_timer_callback()95 v_dev_ctx->sensor_data_buffer[v_dev_ctx->buf_index++] = value; in morello_sensor_timer_callback()97 if (v_dev_ctx->buf_index == PVT_HISTORY_LEN) { in morello_sensor_timer_callback()98 v_dev_ctx->buf_index = 0; in morello_sensor_timer_callback()135 [t_dev_ctx->buf_index == 0 ? PVT_HISTORY_LEN - 1 : in get_value()136 t_dev_ctx->buf_index - 1]; in get_value()145 [v_dev_ctx->buf_index == 0 ? PVT_HISTORY_LEN - 1 : in get_value()211 t_dev_ctx->buf_index = 0; in morello_sensor_element_init()[all …]
59 t_dev_ctx->sensor_data_buffer[t_dev_ctx->buf_index++] = value; in n1sdp_sensor_timer_callback()61 if (t_dev_ctx->buf_index == PVT_HISTORY_LEN) { in n1sdp_sensor_timer_callback()62 t_dev_ctx->buf_index = 0; in n1sdp_sensor_timer_callback()76 v_dev_ctx->sensor_data_buffer[v_dev_ctx->buf_index++] = value; in n1sdp_sensor_timer_callback()78 if (v_dev_ctx->buf_index == PVT_HISTORY_LEN) { in n1sdp_sensor_timer_callback()79 v_dev_ctx->buf_index = 0; in n1sdp_sensor_timer_callback()116 [t_dev_ctx->buf_index == 0 ? PVT_HISTORY_LEN - 1 : in get_value()117 t_dev_ctx->buf_index - 1]; in get_value()125 [v_dev_ctx->buf_index == 0 ? PVT_HISTORY_LEN - 1 : in get_value()239 t_dev_ctx->buf_index = 0; in n1sdp_sensor_element_init()[all …]
24 uint8_t buf_index; member36 uint8_t buf_index; member
130 uint8_t buf_index; member142 uint8_t buf_index; member
Completed in 5 milliseconds