Home
last modified time | relevance | path

Searched refs:param_val (Results 1 – 10 of 10) sorted by relevance

/hardware/knowles/athletico/sound_trigger_hal/tests/
Doslo_iaxxx_sensor_control.c62 void oslo_driver_set_param(struct ia_sensor_mgr *smd, int param_id, float param_val) { in oslo_driver_set_param() argument
75 sp.param_val = param_val; in oslo_driver_set_param()
77 ALOGD("Set sensor param 0x%X with value %f", param_id, param_val); in oslo_driver_set_param()
78 fprintf(stdout, "Set sensor param 0x%X with value %f\n", param_id, param_val); in oslo_driver_set_param()
102 sp.param_val = 0; in oslo_driver_get_param()
109 ALOGD("Value of param 0x%X is %u", sp.param_id, sp.param_val); in oslo_driver_get_param()
110 fprintf(stdout, "Value of param 0x%X is %u\n", sp.param_id, sp.param_val); in oslo_driver_get_param()
113 return sp.param_val; in oslo_driver_get_param()
164 void oslo_plugin_set_param(int param_id, uint32_t param_val) { in oslo_plugin_set_param() argument
174 err = iaxxx_odsp_plugin_set_parameter(ioh, SENSOR_INSTANCE_ID, param_id, param_val, in oslo_plugin_set_param()
[all …]
Dsensor_param_test.c71 void set_param(struct ia_sensor_mgr *smd, int param_id, float param_val) { in set_param() argument
84 sp.param_val = param_val; in set_param()
87 param_id, param_val); in set_param()
89 param_id, param_val); in set_param()
119 sp.param_id, sp.param_val); in get_param()
121 sp.param_id, sp.param_val); in get_param()
131 float param_val; in main() local
154 param_val = strtof(optarg, NULL); in main()
191 set_param(smd, param_id, param_val); in main()
Dodsp_api_test.c61 unsigned int param_val, unsigned int inst_id, in set_param() argument
65 err = iaxxx_odsp_plugin_set_parameter(ioh, inst_id, param_id, param_val, in set_param()
75 unsigned int param_val = 0; in get_param() local
78 &param_val); in get_param()
83 ALOGD("Value of parameter id %u is %u", param_id, param_val); in get_param()
123 unsigned int param_id, param_val, inst_id, block_id; in main() local
151 param_val = strtol(argv[optind], NULL, 0); in main()
159 "block_id %d", param_id, param_val, inst_id, block_id); in main()
246 set_param(ioh, param_id, param_val, inst_id, block_id); in main()
Doslo_config_test.c554 float param_val = 0.0; in main() local
592 param_val = strtof(optarg, NULL); in main()
598 param_val = strtof(optarg, NULL); in main()
735 oslo_driver_set_param(smd, driver_param_id, param_val); in main()
737 oslo_plugin_set_param(plugin_param_id, param_val); in main()
739 uint32_t integer_param = (uint32_t)lrintf(param_val); in main()
740 if (param_val < 0) { in main()
743 } else if (param_val > 0) { in main()
Doslo_iaxxx_sensor_control.h191 void oslo_driver_set_param(struct ia_sensor_mgr *smd, int param_id, float param_val);
196 void oslo_plugin_set_param(int param_id, uint32_t param_val);
/hardware/knowles/athletico/sound_trigger_hal/
Diaxxx_odsp_hw.c554 const uint32_t param_val, in iaxxx_odsp_plugin_set_parameter() argument
569 __func__, inst_id, block_id, param_id, param_val); in iaxxx_odsp_plugin_set_parameter()
574 pp.param_val = param_val; in iaxxx_odsp_plugin_set_parameter()
600 uint32_t *param_val) in iaxxx_odsp_plugin_get_parameter() argument
616 pp.param_val = 0; in iaxxx_odsp_plugin_get_parameter()
624 *param_val = pp.param_val; in iaxxx_odsp_plugin_get_parameter()
627 __func__, inst_id, block_id, param_id, *param_val); in iaxxx_odsp_plugin_get_parameter()
Diaxxx_odsp_hw.h254 const uint32_t param_val,
271 uint32_t *param_val);
Dcvq_ioctl.h193 const uint32_t param_val);
Dcvq_util.c114 const uint32_t param_val) in get_model_state() argument
121 param_val, block_id); in get_model_state()
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c217 int param_val; in parse_card_device_params() local
223 param_val = str_parms_get_str(parms, "card", value, sizeof(value)); in parse_card_device_params()
224 if (param_val >= 0) { in parse_card_device_params()
228 param_val = str_parms_get_str(parms, "device", value, sizeof(value)); in parse_card_device_params()
229 if (param_val >= 0) { in parse_card_device_params()