Home
last modified time | relevance | path

Searched refs:core_effects (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/input/joystick/iforce/
Diforce-packets.c145 if (test_bit(FF_CORE_IS_USED, iforce->core_effects[i].flags) && in mark_core_as_ready()
146 (iforce->core_effects[i].mod1_chunk.start == addr || in mark_core_as_ready()
147 iforce->core_effects[i].mod2_chunk.start == addr)) { in mark_core_as_ready()
148 clear_bit(FF_CORE_UPDATE, iforce->core_effects[i].flags); in mark_core_as_ready()
229 if (!test_and_set_bit(FF_CORE_IS_PLAYED, iforce->core_effects[i].flags)) { in iforce_process_packet()
233 } else if (test_and_clear_bit(FF_CORE_IS_PLAYED, iforce->core_effects[i].flags)) { in iforce_process_packet()
Diforce-ff.c345 if (test_bit(FF_CORE_SHOULD_PLAY, iforce->core_effects[id].flags)) { in make_core()
361 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_periodic()
362 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk); in iforce_upload_periodic()
363 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk); in iforce_upload_periodic()
431 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_constant()
432 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk); in iforce_upload_constant()
433 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk); in iforce_upload_constant()
487 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_condition()
Diforce-main.c92 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id]; in iforce_playback()
133 struct iforce_core_effect *core_effect = &iforce->core_effects[effect->id]; in iforce_upload_effect()
180 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id]; in iforce_erase_effect()
225 if (test_bit(FF_CORE_IS_USED, iforce->core_effects[i].flags)) { in iforce_close()
Diforce.h130 struct iforce_core_effect core_effects[IFORCE_EFFECTS_MAX]; member