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

/linux-4.1.27/drivers/hid/usbhid/
H A Dhid-pidff.c204 static int pidff_rescale(int i, int max, struct hid_field *field) pidff_rescale() function
222 usage->value[0] = pidff_rescale(value, 0xffff, usage->field); pidff_set()
233 pidff_rescale(-value, 0x8000, usage->field); pidff_set_signed()
236 pidff_rescale(value, 0x7fff, usage->field); pidff_set_signed()
251 pidff_rescale(envelope->attack_level > pidff_set_envelope_report()
255 pidff_rescale(envelope->fade_level > pidff_set_envelope_report()
324 pidff_rescale(effect->direction, 0xffff, pidff_set_effect_report()

Completed in 38 milliseconds