Home
last modified time | relevance | path

Searched refs:sensor_ctx (Results 1 – 3 of 3) sorted by relevance

/SCP-firmware-master/product/n1sdp/module/n1sdp_sensor/src/
A Dmod_n1sdp_sensor.c29 struct n1sdp_sensor_ctx sensor_ctx; variable
188 sensor_ctx.t_dev_ctx_table = fwk_mm_calloc( in n1sdp_sensor_init()
189 sensor_ctx.module_config->t_sensor_count, in n1sdp_sensor_init()
190 sizeof(sensor_ctx.t_dev_ctx_table[0])); in n1sdp_sensor_init()
192 if (sensor_ctx.t_dev_ctx_table == NULL) { in n1sdp_sensor_init()
196 sensor_ctx.v_dev_ctx_table = fwk_mm_calloc( in n1sdp_sensor_init()
198 sizeof(sensor_ctx.v_dev_ctx_table[0])); in n1sdp_sensor_init()
200 if (sensor_ctx.v_dev_ctx_table == NULL) { in n1sdp_sensor_init()
271 &sensor_ctx.timer_alarm_api); in n1sdp_sensor_bind()
280 &sensor_ctx.scp2pcc_api); in n1sdp_sensor_bind()
[all …]
/SCP-firmware-master/product/morello/module/morello_sensor/src/
A Dmod_morello_sensor.c29 static struct morello_sensor_ctx sensor_ctx; variable
174 sensor_ctx.t_dev_ctx_table = fwk_mm_calloc( in morello_sensor_init()
175 sensor_ctx.module_config->t_sensor_count, in morello_sensor_init()
176 sizeof(sensor_ctx.t_dev_ctx_table[0])); in morello_sensor_init()
178 sensor_ctx.v_dev_ctx_table = fwk_mm_calloc( in morello_sensor_init()
179 sensor_ctx.module_config->v_sensor_count, in morello_sensor_init()
180 sizeof(sensor_ctx.v_dev_ctx_table[0])); in morello_sensor_init()
235 sensor_ctx.module_config->alarm_id, in morello_sensor_bind()
237 &sensor_ctx.timer_alarm_api); in morello_sensor_bind()
246 &sensor_ctx.scp2pcc_api); in morello_sensor_bind()
[all …]
/SCP-firmware-master/product/juno/module/juno_pvt/src/
A Dmod_juno_pvt.c205 sensor_ctx->slope_m = slope_m; in process_pvt_calibration()
206 sensor_ctx->freq_b = freq_b; in process_pvt_calibration()
262 sensor_ctx->slope_m = (int)slope_m; in process_osc_calibration()
263 sensor_ctx->freq_b = (int)freq_b; in process_osc_calibration()
278 struct pvt_sub_dev_ctx *sensor_ctx; in pvt_interrupt_handler() local
314 ((freq_khz - sensor_ctx->freq_b) * 1000) / sensor_ctx->slope_m); in pvt_interrupt_handler()
353 struct pvt_sub_dev_ctx *sensor_ctx; in respond() local
363 sensor_ctx->sensor_hal_id, in respond()
511 struct pvt_sub_dev_ctx *sensor_ctx; in juno_pvt_bind() local
559 struct pvt_sub_dev_ctx *sensor_ctx; in juno_pvt_process_bind_request() local
[all …]

Completed in 6 milliseconds