Searched refs:max_effects (Results 1 - 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/drivers/input/ |
H A D | ff-core.c | 27 if (effect_id < 0 || effect_id >= ff->max_effects || in check_effect_access() 126 for (id = 0; id < ff->max_effects; id++) in input_ff_upload() 130 if (id >= ff->max_effects) { in input_ff_upload() 245 for (i = 0; i < ff->max_effects; i++) in input_ff_flush() 297 * @max_effects: maximum number of effects supported by the device 305 int input_ff_create(struct input_dev *dev, unsigned int max_effects) in input_ff_create() argument 311 if (!max_effects) { in input_ff_create() 316 if (max_effects > FF_MAX_EFFECTS) { in input_ff_create() 322 max_effects * sizeof(struct file *); in input_ff_create() 323 if (ff_dev_size < max_effects) /* overflo in input_ff_create() [all...] |
H A D | evdev.c | 1081 dev->ff->max_effects : 0; in evdev_do_ioctl()
|
/kernel/linux/linux-6.6/drivers/input/ |
H A D | ff-core.c | 24 if (effect_id < 0 || effect_id >= ff->max_effects || in check_effect_access() 123 for (id = 0; id < ff->max_effects; id++) in input_ff_upload() 127 if (id >= ff->max_effects) { in input_ff_upload() 242 for (i = 0; i < ff->max_effects; i++) in input_ff_flush() 294 * @max_effects: maximum number of effects supported by the device 302 int input_ff_create(struct input_dev *dev, unsigned int max_effects) in input_ff_create() argument 308 if (!max_effects) { in input_ff_create() 313 if (max_effects > FF_MAX_EFFECTS) { in input_ff_create() 319 max_effects * sizeof(struct file *); in input_ff_create() 320 if (ff_dev_size < max_effects) /* overflo in input_ff_create() [all...] |
H A D | evdev.c | 1081 dev->ff->max_effects : 0; in evdev_do_ioctl()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | input.h | 520 * @max_effects: maximum number of effects supported by device 551 int max_effects; member 556 int input_ff_create(struct input_dev *dev, unsigned int max_effects);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | input.h | 532 * @max_effects: maximum number of effects supported by device 563 int max_effects; member 568 int input_ff_create(struct input_dev *dev, unsigned int max_effects);
|
/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 1233 int max_effects; in hid_pidff_init() local 1276 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()
|
/kernel/linux/linux-6.6/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 1233 int max_effects; in hid_pidff_init() local 1276 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()
|
/kernel/linux/linux-5.10/drivers/input/joystick/iforce/ |
H A D | iforce-packets.c | 107 for (i = 0; i < iforce->dev->ff->max_effects; ++i) { in mark_core_as_ready()
|
H A D | iforce-main.c | 192 for (i = 0; i < dev->ff->max_effects; i++) { in iforce_close()
|
/kernel/linux/linux-6.6/drivers/input/joystick/iforce/ |
H A D | iforce-packets.c | 107 for (i = 0; i < iforce->dev->ff->max_effects; ++i) { in mark_core_as_ready()
|
H A D | iforce-main.c | 192 for (i = 0; i < dev->ff->max_effects; i++) { in iforce_close()
|
Completed in 12 milliseconds