Searched refs:pidff_rescale (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/hid/usbhid/ |
H A D | hid-pidff.c | 204 static int pidff_rescale(int i, int max, struct hid_field *field) function 222 usage->value[0] = pidff_rescale(value, 0xffff, usage->field); 233 pidff_rescale(-value, 0x8000, usage->field); 236 pidff_rescale(value, 0x7fff, usage->field); 251 pidff_rescale(envelope->attack_level > 255 pidff_rescale(envelope->fade_level > 323 pidff_rescale(effect->direction, 0xffff,
|
Completed in 158 milliseconds