Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/joystick/iforce/
H A Diforce-packets.c108 if (test_bit(FF_CORE_IS_USED, iforce->core_effects[i].flags) && in mark_core_as_ready()
109 (iforce->core_effects[i].mod1_chunk.start == addr || in mark_core_as_ready()
110 iforce->core_effects[i].mod2_chunk.start == addr)) { in mark_core_as_ready()
111 clear_bit(FF_CORE_UPDATE, iforce->core_effects[i].flags); in mark_core_as_ready()
196 if (!test_and_set_bit(FF_CORE_IS_PLAYED, iforce->core_effects[i].flags)) { in iforce_process_packet()
200 } else if (test_and_clear_bit(FF_CORE_IS_PLAYED, iforce->core_effects[i].flags)) { in iforce_process_packet()
H A Diforce-ff.c326 if (test_bit(FF_CORE_SHOULD_PLAY, iforce->core_effects[id].flags)) { in make_core()
342 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_periodic()
343 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk); in iforce_upload_periodic()
344 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk); in iforce_upload_periodic()
412 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_constant()
413 struct resource* mod1_chunk = &(iforce->core_effects[core_id].mod1_chunk); in iforce_upload_constant()
414 struct resource* mod2_chunk = &(iforce->core_effects[core_id].mod2_chunk); in iforce_upload_constant()
468 struct iforce_core_effect* core_effect = iforce->core_effects + core_id; in iforce_upload_condition()
H A Diforce-main.c69 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id]; in iforce_playback()
110 struct iforce_core_effect *core_effect = &iforce->core_effects[effect->id]; in iforce_upload_effect()
156 struct iforce_core_effect *core_effect = &iforce->core_effects[effect_id]; in iforce_erase_effect()
193 if (test_bit(FF_CORE_IS_USED, iforce->core_effects[i].flags)) { in iforce_close()
H A Diforce.h99 struct iforce_core_effect core_effects[IFORCE_EFFECTS_MAX]; member