Searched refs:effect_type (Results 1 – 2 of 2) sorted by relevance
195 static int get_compatible_type(struct ff_device *ff, int effect_type) in get_compatible_type() argument 198 if (test_bit(effect_type, ff->ffbit)) in get_compatible_type() 199 return effect_type; in get_compatible_type() 201 if (effect_type == FF_PERIODIC && test_bit(FF_RUMBLE, ff->ffbit)) in get_compatible_type() 329 int effect_type; in ml_get_combo_effect() local 352 effect_type = get_compatible_type(ml->dev->ff, effect->type); in ml_get_combo_effect() 353 if (combo_effect->type != effect_type) { in ml_get_combo_effect() 358 combo_effect->type = effect_type; in ml_get_combo_effect()
287 u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button, in make_core() argument 297 data[1] = effect_type; in make_core()