Home
last modified time | relevance | path

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

/SCP-firmware-master/product/morello/module/morello_sensor/src/
A Dmod_morello_sensor.c44 struct morello_temp_sensor_ctx *t_dev_ctx; in morello_sensor_timer_callback() local
51 t_dev_ctx = &sensor_ctx.t_dev_ctx_table[count]; in morello_sensor_timer_callback()
76 t_dev_ctx->sensor_data_buffer[t_dev_ctx->buf_index++] = value; in morello_sensor_timer_callback()
79 t_dev_ctx->buf_index = 0; in morello_sensor_timer_callback()
113 struct morello_temp_sensor_ctx *t_dev_ctx; in get_value()
130 if (t_dev_ctx == NULL) { in get_value()
134 buf_value = t_dev_ctx->sensor_data_buffer in get_value()
190 struct morello_temp_sensor_ctx *t_dev_ctx; in morello_sensor_element_init() local
206 t_dev_ctx->config = t_config; in morello_sensor_element_init()
208 t_dev_ctx->sensor_data_buffer = in morello_sensor_element_init()
[all …]
/SCP-firmware-master/product/n1sdp/module/n1sdp_sensor/src/
A Dmod_n1sdp_sensor.c33 struct n1sdp_temp_sensor_ctx *t_dev_ctx; in n1sdp_sensor_timer_callback() local
59 t_dev_ctx->sensor_data_buffer[t_dev_ctx->buf_index++] = value; in n1sdp_sensor_timer_callback()
62 t_dev_ctx->buf_index = 0; in n1sdp_sensor_timer_callback()
95 struct n1sdp_temp_sensor_ctx *t_dev_ctx; in get_value()
111 if (t_dev_ctx == NULL) { in get_value()
115 buf_value = t_dev_ctx->sensor_data_buffer in get_value()
212 struct n1sdp_temp_sensor_ctx *t_dev_ctx; in n1sdp_sensor_element_init() local
227 if (t_dev_ctx == NULL) { in n1sdp_sensor_element_init()
231 t_dev_ctx->config = t_config; in n1sdp_sensor_element_init()
233 t_dev_ctx->sensor_data_buffer = in n1sdp_sensor_element_init()
[all …]

Completed in 3 milliseconds