Home
last modified time | relevance | path

Searched refs:ia_sensor_mgr (Results 1 – 6 of 6) sorted by relevance

/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_iaxxx_sensor_control.h195 struct ia_sensor_mgr { struct
199 struct ia_sensor_mgr *iaxxx_sensor_mgr_init(void); argument
200 int iaxxx_sensor_mgr_deinit(struct ia_sensor_mgr *smd);
201 void oslo_driver_set_param(struct ia_sensor_mgr *smd, int param_id, float param_val);
202 uint32_t oslo_driver_get_param(struct ia_sensor_mgr *smd, int param_id);
203 size_t oslo_driver_set_param_blk(struct ia_sensor_mgr *smd, uint32_t param_blk_id,
205 int oslo_driver_get_stats(struct ia_sensor_mgr *smd, struct iaxxx_sensor_mode_stats stats[]);
Doslo_iaxxx_sensor_control.c28 struct ia_sensor_mgr *iaxxx_sensor_mgr_init(void) { in iaxxx_sensor_mgr_init()
29 struct ia_sensor_mgr *smd = NULL; in iaxxx_sensor_mgr_init()
31 smd = (struct ia_sensor_mgr *)malloc(sizeof(struct ia_sensor_mgr)); in iaxxx_sensor_mgr_init()
47 int iaxxx_sensor_mgr_deinit(struct ia_sensor_mgr *smd) { in iaxxx_sensor_mgr_deinit()
62 void oslo_driver_set_param(struct ia_sensor_mgr *smd, int param_id, float param_val) { in oslo_driver_set_param()
88 uint32_t oslo_driver_get_param(struct ia_sensor_mgr *smd, int param_id) { in oslo_driver_get_param()
116 size_t oslo_driver_set_param_blk(struct ia_sensor_mgr *smd, uint32_t param_blk_id, in oslo_driver_set_param_blk()
147 int oslo_driver_get_stats(struct ia_sensor_mgr *smd, struct iaxxx_sensor_mode_stats stats[]) { in oslo_driver_get_stats()
Dsensor_param_test.c35 struct ia_sensor_mgr { struct
71 void set_param(struct ia_sensor_mgr *smd, int param_id, float param_val) { in set_param()
99 void get_param(struct ia_sensor_mgr *smd, int param_id) { in get_param()
127 struct ia_sensor_mgr * smd; in main()
177 smd = (struct ia_sensor_mgr*) malloc(sizeof(struct ia_sensor_mgr)); in main()
Doslo_config_test.c327 void oslo_enable(struct ia_sensor_mgr *smd, bool enable) { in oslo_enable()
339 bool ping_test(struct ia_sensor_mgr *smd, uint32_t ping_timeout_sec) { in ping_test()
369 void read_register(struct ia_sensor_mgr *smd, uint32_t reg_addr) { in read_register()
383 void write_register(struct ia_sensor_mgr *smd, uint32_t reg_addr, uint32_t reg_val) { in write_register()
559 struct ia_sensor_mgr * smd; in main()
Doslo_get_stats.c31 struct ia_sensor_mgr *smd; in main()
Doslo_data_injection_test.c186 struct ia_sensor_mgr *smd; in main()