Lines Matching full:effect
104 * It uploads an effect to the device
106 static int iforce_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *… in iforce_upload_effect() argument
109 struct iforce_core_effect *core_effect = &iforce->core_effects[effect->id]; in iforce_upload_effect()
113 /* Check the effect is not already being updated */ in iforce_upload_effect()
119 * Upload the effect in iforce_upload_effect()
121 switch (effect->type) { in iforce_upload_effect()
123 ret = iforce_upload_periodic(iforce, effect, old); in iforce_upload_effect()
127 ret = iforce_upload_constant(iforce, effect, old); in iforce_upload_effect()
132 ret = iforce_upload_condition(iforce, effect, old); in iforce_upload_effect()
149 * Erases an effect: it frees the effect id and mark as unused the memory
248 iforce->device_memory.name = "I-Force device effect memory"; in iforce_init_device()