Home
last modified time | relevance | path

Searched refs:hap_data (Results 1 – 2 of 2) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/components/codec/tfa9xxx/vas_tfa_drv/
Dtfa2_haptic.c184 struct haptic_data *data = &tfa->hap_data; in tfa2_haptic_get_duration()
441 if (tfa->hap_data.recalc_play_object) in tfa2_hap_recalc()
646 tfa2_i2c_read_cf_mem32(tfa->i2c, FW_XMEM_GENOBJECTS1, (int *)tfa->hap_data.object_table1_cache, in tfa2_dev_start_hapticboost()
648 tfa2_i2c_read_cf_mem32(tfa->i2c, FW_XMEM_GENOBJECTS2, (int *)tfa->hap_data.object_table2_cache, in tfa2_dev_start_hapticboost()
651 …tfa2_i2c_read_cf_mem32(tfa->i2c, FW_XMEM_DELAY_ATTACK_SMP, &tfa->hap_data.delay_attack, 1, TFA2_CF… in tfa2_dev_start_hapticboost()
652 tfa->hap_data.delay_attack /= 48; /* make it milliseconds */ in tfa2_dev_start_hapticboost()
655 tfa->hap_data.seq_max = tfa2_hap_cnt_sequencer_count(tfa->cnt, tfa->dev_idx); in tfa2_dev_start_hapticboost()
658 tfa2_haptic_obj_get_defaults(&tfa->hap_data); in tfa2_dev_start_hapticboost()
722 msleep_interruptible(1000 + tfa->hap_data.delay_attack); // TODO determine optimal delay in tfa2_hap_calibrate()
843 save_duration = tfa->hap_data.duration; in tfa2_hap_sequencer()
[all …]
Dtfa2_dev.h312 struct haptic_data hap_data; /**< haptic specific data */ member