Lines Matching full:effect
105 * It uploads an effect to the device
107 static int iforce_upload_effect(struct input_dev *dev, struct ff_effect *effect, struct ff_effect *… in iforce_upload_effect() argument
110 struct iforce_core_effect *core_effect = &iforce->core_effects[effect->id]; in iforce_upload_effect()
114 /* Check the effect is not already being updated */ in iforce_upload_effect()
120 * Upload the effect in iforce_upload_effect()
122 switch (effect->type) { in iforce_upload_effect()
124 ret = iforce_upload_periodic(iforce, effect, old); in iforce_upload_effect()
128 ret = iforce_upload_constant(iforce, effect, old); in iforce_upload_effect()
133 ret = iforce_upload_condition(iforce, effect, old); in iforce_upload_effect()
150 * Erases an effect: it frees the effect id and mark as unused the memory
249 iforce->device_memory.name = "I-Force device effect memory"; in iforce_init_device()