Searched refs:max_effects (Results 1 – 6 of 6) sorted by relevance
26 if (effect_id < 0 || effect_id >= ff->max_effects || in check_effect_access()125 for (id = 0; id < ff->max_effects; id++) in input_ff_upload()129 if (id >= ff->max_effects) { in input_ff_upload()244 for (i = 0; i < ff->max_effects; i++) in input_ff_flush()304 int input_ff_create(struct input_dev *dev, unsigned int max_effects) in input_ff_create() argument310 if (!max_effects) { in input_ff_create()315 if (max_effects > FF_MAX_EFFECTS) { in input_ff_create()320 ff_dev_size = struct_size(ff, effect_owners, max_effects); in input_ff_create()328 ff->effects = kcalloc(max_effects, sizeof(struct ff_effect), in input_ff_create()335 ff->max_effects = max_effects; in input_ff_create()
1081 dev->ff->max_effects : 0; in evdev_do_ioctl()
1233 int max_effects; in hid_pidff_init() local1276 max_effects = in hid_pidff_init()1280 hid_dbg(hid, "max effects is %d\n", max_effects); in hid_pidff_init()1282 if (max_effects > PID_EFFECTS_MAX) in hid_pidff_init()1283 max_effects = PID_EFFECTS_MAX; in hid_pidff_init()1301 error = input_ff_create(dev, max_effects); in hid_pidff_init()
563 int max_effects; member568 int input_ff_create(struct input_dev *dev, unsigned int max_effects);
107 for (i = 0; i < iforce->dev->ff->max_effects; ++i) { in mark_core_as_ready()
192 for (i = 0; i < dev->ff->max_effects; i++) { in iforce_close()