kprec             477 drivers/input/keyboard/pxa27x_keypad.c static inline int rotary_delta(uint32_t kprec)
kprec             479 drivers/input/keyboard/pxa27x_keypad.c 	if (kprec & KPREC_OF0)
kprec             480 drivers/input/keyboard/pxa27x_keypad.c 		return (kprec & 0xff) + 0x7f;
kprec             481 drivers/input/keyboard/pxa27x_keypad.c 	else if (kprec & KPREC_UF0)
kprec             482 drivers/input/keyboard/pxa27x_keypad.c 		return (kprec & 0xff) - 0x7f - 0xff;
kprec             484 drivers/input/keyboard/pxa27x_keypad.c 		return (kprec & 0xff) - 0x7f;
kprec             514 drivers/input/keyboard/pxa27x_keypad.c 	uint32_t kprec;
kprec             517 drivers/input/keyboard/pxa27x_keypad.c 	kprec = keypad_readl(KPREC);
kprec             521 drivers/input/keyboard/pxa27x_keypad.c 		report_rotary_event(keypad, 0, rotary_delta(kprec));
kprec             524 drivers/input/keyboard/pxa27x_keypad.c 		report_rotary_event(keypad, 1, rotary_delta(kprec >> 16));