Searched refs:max_effects (Results 1 - 5 of 5) sorted by relevance

/drivers/input/
H A Dff-core.c41 if (effect_id < 0 || effect_id >= ff->max_effects ||
140 for (id = 0; id < ff->max_effects; id++)
144 if (id >= ff->max_effects) {
253 for (i = 0; i < ff->max_effects; i++)
304 * @max_effects: maximum number of effects supported by the device
312 int input_ff_create(struct input_dev *dev, unsigned int max_effects) argument
318 if (!max_effects) {
324 max_effects * sizeof(struct file *);
325 if (ff_dev_size < max_effects) /* overflow */
332 ff->effects = kcalloc(max_effects, sizeo
[all...]
H A Devdev.c911 dev->ff->max_effects : 0;
/drivers/hid/usbhid/
H A Dhid-pidff.c1239 int max_effects; local
1280 max_effects =
1284 hid_dbg(hid, "max effects is %d\n", max_effects);
1286 if (max_effects > PID_EFFECTS_MAX)
1287 max_effects = PID_EFFECTS_MAX;
1304 error = input_ff_create(dev, max_effects);
/drivers/input/joystick/iforce/
H A Diforce-packets.c144 for (i = 0; i < iforce->dev->ff->max_effects; ++i) {
H A Diforce-main.c224 for (i = 0; i < dev->ff->max_effects; i++) {

Completed in 518 milliseconds