Searched refs:amplitude (Results 1 – 2 of 2) sorted by relevance
/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/ |
D | tfa2_haptic.c | 28 …ntf(str, len, "index:%d,\tamplitude:%d,\tduration:%d,\tfrequency:%d", data->index, data->amplitude, in tfa2_haptic_current_effect() 130 level = (data->amplitude * 0x7fffff + 50) / 100; /* Q1.23, percentage of max */ in tfa2_haptic_start_object() 267 data->amplitude = level * 33; in tfa2_haptic_parse_value() 269 data->amplitude = level; in tfa2_haptic_parse_value() 542 data->amplitude = (100 * obj->level + 0x3fffff) / 0x7fffff; in tfa2_haptic_obj_get() 844 save_amplitude = tfa->hap_data.amplitude; in tfa2_hap_sequencer() 857 tfa->hap_data.amplitude = seq->level[i]; in tfa2_hap_sequencer() 883 tfa->hap_data.amplitude = save_amplitude; in tfa2_hap_sequencer()
|
D | tfa2_dev.h | 225 int amplitude; /* level, strength of signal 0-100% */ member
|