Home
last modified time | relevance | path

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/
Dtfa2_haptic.c28 …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()
Dtfa2_dev.h225 int amplitude; /* level, strength of signal 0-100% */ member