Home
last modified time | relevance | path

Searched refs:rel_y (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/drivers/media/rc/
Dir-imon-decoder.c47 int rel_x, rel_y; in ir_imon_decode_scancode() local
56 rel_y = (buf & 0x08) | (buf & 0x10) >> 2 | in ir_imon_decode_scancode()
59 rel_y |= ~0x0f; in ir_imon_decode_scancode()
61 if (rel_x && rel_y && imon->stick_keyboard) { in ir_imon_decode_scancode()
62 if (abs(rel_y) > abs(rel_x)) in ir_imon_decode_scancode()
63 imon->bits = rel_y > 0 ? in ir_imon_decode_scancode()
83 input_report_rel(imon->idev, REL_Y, rel_y); in ir_imon_decode_scancode()
Dimon.c1293 signed char rel_x = 0x00, rel_y = 0x00; in imon_mouse_event() local
1304 rel_y = buf[3]; in imon_mouse_event()
1314 rel_y = (buf[2] & 0x08) | (buf[2] & 0x10) >> 2 | in imon_mouse_event()
1317 rel_y |= ~0x0f; in imon_mouse_event()
1318 rel_y = rel_y + rel_y / 2; in imon_mouse_event()
1338 } else if (rel_x || rel_y) { in imon_mouse_event()
1340 input_report_rel(ictx->idev, REL_Y, rel_y); in imon_mouse_event()
1369 signed char rel_x = 0x00, rel_y = 0x00; in imon_pad_to_keys() local
1389 rel_y = buf[3]; in imon_pad_to_keys()
1392 if ((buf[1] == 0) && ((rel_x != 0) || (rel_y != 0))) { in imon_pad_to_keys()
[all …]
/linux-4.19.296/include/xen/interface/io/
Dkbdif.h273 int32_t rel_y; member