Home
last modified time | relevance | path

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

/linux/drivers/input/joystick/iforce/
H A Diforce-main.c69 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id]; in iforce_playback() local
72 set_bit(FF_CORE_SHOULD_PLAY, core_effect->flags); in iforce_playback()
74 clear_bit(FF_CORE_SHOULD_PLAY, core_effect->flags); in iforce_playback()
110 struct iforce_core_effect *core_effect = &iforce->core_effects[effect->id]; in iforce_upload_effect() local
113 if (__test_and_set_bit(FF_CORE_IS_USED, core_effect->flags)) { in iforce_upload_effect()
115 if (test_bit(FF_CORE_UPDATE, core_effect->flags)) in iforce_upload_effect()
144 set_bit(FF_CORE_UPDATE, core_effect->flags); in iforce_upload_effect()
156 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id]; in iforce_erase_effect() local
159 if (test_bit(FF_MOD1_IS_USED, core_effect->flags)) in iforce_erase_effect()
160 err = release_resource(&core_effect->mod1_chunk); in iforce_erase_effect()
[all …]
H A Diforce-ff.c342 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_periodic() local
356 set_bit(FF_MOD1_IS_USED, core_effect->flags); in iforce_upload_periodic()
368 set_bit(FF_MOD2_IS_USED, core_effect->flags); in iforce_upload_periodic()
412 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_constant() local
425 set_bit(FF_MOD1_IS_USED, core_effect->flags); in iforce_upload_constant()
437 set_bit(FF_MOD2_IS_USED, core_effect->flags); in iforce_upload_constant()
468 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_condition() local
469 struct resource* mod1_chunk = &(core_effect->mod1_chunk); in iforce_upload_condition()
470 struct resource* mod2_chunk = &(core_effect->mod2_chunk); in iforce_upload_condition()
492 set_bit(FF_MOD1_IS_USED, core_effect->flags); in iforce_upload_condition()
[all …]