Searched refs:v_dev_ctx (Results 1 – 2 of 2) sorted by relevance
45 struct morello_volt_sensor_ctx *v_dev_ctx; in morello_sensor_timer_callback() local95 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()114 struct morello_volt_sensor_ctx *v_dev_ctx; in get_value()140 if (v_dev_ctx == NULL) { in get_value()144 buf_value = v_dev_ctx->sensor_data_buffer in get_value()191 struct morello_volt_sensor_ctx *v_dev_ctx; in morello_sensor_element_init() local217 v_dev_ctx->config = v_config; in morello_sensor_element_init()219 v_dev_ctx->sensor_data_buffer = in morello_sensor_element_init()[all …]
34 struct n1sdp_volt_sensor_ctx *v_dev_ctx; in n1sdp_sensor_timer_callback() local76 v_dev_ctx->sensor_data_buffer[v_dev_ctx->buf_index++] = value; in n1sdp_sensor_timer_callback()79 v_dev_ctx->buf_index = 0; in n1sdp_sensor_timer_callback()96 struct n1sdp_volt_sensor_ctx *v_dev_ctx; in get_value()120 if (v_dev_ctx == NULL) { in get_value()124 buf_value = v_dev_ctx->sensor_data_buffer in get_value()213 struct n1sdp_volt_sensor_ctx *v_dev_ctx; in n1sdp_sensor_element_init() local244 if (v_dev_ctx == NULL) { in n1sdp_sensor_element_init()248 v_dev_ctx->config = v_config; in n1sdp_sensor_element_init()250 v_dev_ctx->sensor_data_buffer = in n1sdp_sensor_element_init()[all …]
Completed in 3 milliseconds