Home
last modified time | relevance | path

Searched refs:v_dev_ctx (Results 1 – 2 of 2) sorted by relevance

/SCP-firmware-master/product/morello/module/morello_sensor/src/
A Dmod_morello_sensor.c45 struct morello_volt_sensor_ctx *v_dev_ctx; in morello_sensor_timer_callback() local
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()
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() local
217 v_dev_ctx->config = v_config; in morello_sensor_element_init()
219 v_dev_ctx->sensor_data_buffer = in morello_sensor_element_init()
[all …]
/SCP-firmware-master/product/n1sdp/module/n1sdp_sensor/src/
A Dmod_n1sdp_sensor.c34 struct n1sdp_volt_sensor_ctx *v_dev_ctx; in n1sdp_sensor_timer_callback() local
76 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() local
244 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