Home
last modified time | relevance | path

Searched refs:relbit (Results 1 – 25 of 55) sorted by relevance

123

/openbmc/linux/drivers/input/mouse/
H A Dsermouse.c254 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in sermouse_connect()
259 if (c & 0x10) set_bit(REL_WHEEL, input_dev->relbit); in sermouse_connect()
260 if (c & 0x20) set_bit(REL_HWHEEL, input_dev->relbit); in sermouse_connect()
H A Datarimouse.c131 atamouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in atamouse_init()
H A Drpcmouse.c81 rpcmouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in rpcmouse_init()
H A Dbyd.c506 __clear_bit(REL_X, dev->relbit); in byd_init()
507 __clear_bit(REL_Y, dev->relbit); in byd_init()
H A Dfocaltech.c331 __clear_bit(REL_X, dev->relbit); in focaltech_set_input_params()
332 __clear_bit(REL_Y, dev->relbit); in focaltech_set_input_params()
H A Dhgpk.c550 memset(input->relbit, 0, sizeof(input->relbit)); in hgpk_setup_input_device()
561 __set_bit(REL_X, input->relbit); in hgpk_setup_input_device()
562 __set_bit(REL_Y, input->relbit); in hgpk_setup_input_device()
H A Damimouse.c110 dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in amimouse_probe()
H A Dvsxxxaa.c482 __set_bit(REL_X, input_dev->relbit); in vsxxxaa_connect()
483 __set_bit(REL_Y, input_dev->relbit); in vsxxxaa_connect()
H A Dlogibm.c140 logibm_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in logibm_init()
H A Dmaplemouse.c94 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y) | in probe_maple_mouse()
H A Dinport.c147 inport_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in inport_init()
H A Dsynaptics_i2c.c499 __set_bit(REL_X, input->relbit); in synaptics_i2c_set_input_params()
500 __set_bit(REL_Y, input->relbit); in synaptics_i2c_set_input_params()
H A Dsynaptics_usb.c395 __set_bit(REL_X, input_dev->relbit); in synusb_probe()
396 __set_bit(REL_Y, input_dev->relbit); in synusb_probe()
H A Dpsmouse-base.c561 __set_bit(REL_WHEEL, psmouse->dev->relbit); in genius_detect()
592 __set_bit(REL_WHEEL, psmouse->dev->relbit); in intellimouse_detect()
635 __set_bit(REL_WHEEL, psmouse->dev->relbit); in im_explorer_detect()
636 __set_bit(REL_HWHEEL, psmouse->dev->relbit); in im_explorer_detect()
966 bitmap_zero(input_dev->relbit, REL_CNT); in psmouse_apply_defaults()
/openbmc/linux/drivers/hid/
H A Dhid-magicmouse.c537 __set_bit(REL_X, input->relbit); in magicmouse_setup_input()
538 __set_bit(REL_Y, input->relbit); in magicmouse_setup_input()
540 __set_bit(REL_WHEEL, input->relbit); in magicmouse_setup_input()
541 __set_bit(REL_HWHEEL, input->relbit); in magicmouse_setup_input()
542 __set_bit(REL_WHEEL_HI_RES, input->relbit); in magicmouse_setup_input()
543 __set_bit(REL_HWHEEL_HI_RES, input->relbit); in magicmouse_setup_input()
/openbmc/linux/drivers/hid/usbhid/
H A Dusbmouse.c170 input_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in usb_mouse_probe()
173 input_dev->relbit[0] |= BIT_MASK(REL_WHEEL); in usb_mouse_probe()
/openbmc/linux/drivers/input/keyboard/
H A Dpxa27x_keypad.c229 __set_bit(relcode, input_dev->relbit); in pxa27x_keypad_rotary_parse_dt()
233 __set_bit(relcode, input_dev->relbit); in pxa27x_keypad_rotary_parse_dt()
382 __set_bit(pdata->rotary0_rel_code, input_dev->relbit); in pxa27x_keypad_build_keycode()
399 __set_bit(pdata->rotary1_rel_code, input_dev->relbit); in pxa27x_keypad_build_keycode()
H A Dgoldfish_events.c152 events_import_bits(edev, input_dev->relbit, EV_REL, REL_MAX); in events_probe()
H A Dhil_kbd.c369 __set_bit(REL_X + i, input_dev->relbit); in hil_dev_pointer_setup()
372 __set_bit(REL_X + i, input_dev->relbit); in hil_dev_pointer_setup()
/openbmc/linux/drivers/input/rmi4/
H A Drmi_2d_sensor.c200 set_bit(REL_X, input->relbit); in rmi_2d_sensor_set_input_params()
201 set_bit(REL_Y, input->relbit); in rmi_2d_sensor_set_input_params()
/openbmc/linux/drivers/input/joystick/
H A Da3d.c309 input_dev->relbit[0] |= BIT_MASK(REL_X) | BIT_MASK(REL_Y); in a3d_connect()
336 input_dev->relbit[0] |= BIT_MASK(REL_X) | BIT_MASK(REL_Y); in a3d_connect()
H A Dwarrior.c147 input_dev->relbit[0] = BIT_MASK(REL_DIAL); in warrior_connect()
/openbmc/linux/drivers/macintosh/
H A Dmac_hid.c53 mac_hid_emumouse_dev->relbit[0] = BIT_MASK(REL_X) | BIT_MASK(REL_Y); in mac_hid_create_emumouse()
/openbmc/linux/drivers/input/
H A Dinput.c301 if (is_event_supported(code, dev->relbit, REL_MAX) && value) in input_get_disposition()
1025 !bitmap_subset(id->relbit, dev->relbit, REL_MAX) || in input_match_device_id()
1221 input_seq_print_bitmap(seq, "REL", dev->relbit, REL_MAX); in input_devices_seq_show()
1445 'r', id->relbit, 0, REL_MAX); in input_print_modalias_parts()
1777 INPUT_ADD_HOTPLUG_BM_VAR("REL=", dev->relbit, REL_MAX); in input_dev_uevent()
2193 __set_bit(code, dev->relbit); in input_set_capability()
2260 events += bitmap_weight(dev->relbit, REL_CNT); in input_estimate_events_per_packet()
/openbmc/linux/drivers/input/misc/
H A Dadxl34x.c769 __set_bit(REL_X, input_dev->relbit); in adxl34x_probe()
770 __set_bit(REL_Y, input_dev->relbit); in adxl34x_probe()
771 __set_bit(REL_Z, input_dev->relbit); in adxl34x_probe()

123