/openbmc/linux/sound/usb/caiaq/ |
H A D | input.c | 615 input_set_abs_params(input, ABS_X, 0, 4096, 0, 10); in snd_usb_caiaq_input_init() 616 input_set_abs_params(input, ABS_Y, 0, 4096, 0, 10); in snd_usb_caiaq_input_init() 617 input_set_abs_params(input, ABS_Z, 0, 4096, 0, 10); in snd_usb_caiaq_input_init() 627 input_set_abs_params(input, ABS_X, 0, 1024, 0, 10); in snd_usb_caiaq_input_init() 628 input_set_abs_params(input, ABS_Y, 0, 1024, 0, 10); in snd_usb_caiaq_input_init() 629 input_set_abs_params(input, ABS_Z, 0, 1024, 0, 10); in snd_usb_caiaq_input_init() 638 input_set_abs_params(input, ABS_X, 0, 999, 0, 10); in snd_usb_caiaq_input_init() 654 input_set_abs_params(input, ABS_HAT0X, 0, 999, 0, 10); in snd_usb_caiaq_input_init() 655 input_set_abs_params(input, ABS_HAT0Y, 0, 999, 0, 10); in snd_usb_caiaq_input_init() 656 input_set_abs_params(input, ABS_HAT1X, 0, 999, 0, 10); in snd_usb_caiaq_input_init() [all …]
|
/openbmc/linux/drivers/hid/ |
H A D | hid-udraw-ps3.c | 313 input_set_abs_params(input_dev, ABS_X, 0, RES_X, 1, 0); in udraw_setup_touch() 315 input_set_abs_params(input_dev, ABS_Y, 0, RES_Y, 1, 0); in udraw_setup_touch() 340 input_set_abs_params(input_dev, ABS_X, 0, RES_X, 1, 0); in udraw_setup_pen() 342 input_set_abs_params(input_dev, ABS_Y, 0, RES_Y, 1, 0); in udraw_setup_pen() 344 input_set_abs_params(input_dev, ABS_PRESSURE, in udraw_setup_pen() 369 input_set_abs_params(input_dev, ABS_X, -512, 512, 0, 0); in udraw_setup_accel() 370 input_set_abs_params(input_dev, ABS_Y, -512, 512, 0, 0); in udraw_setup_accel() 371 input_set_abs_params(input_dev, ABS_Z, -512, 512, 0, 0); in udraw_setup_accel() 399 input_set_abs_params(input_dev, ABS_X, -127, 127, 0, 0); in udraw_setup_joypad() 400 input_set_abs_params(input_dev, ABS_Y, -127, 127, 0, 0); in udraw_setup_joypad()
|
H A D | hid-wiimote-modules.c | 504 input_set_abs_params(wdata->accel, ABS_RX, -500, 500, 2, 4); in wiimod_accel_probe() 505 input_set_abs_params(wdata->accel, ABS_RY, -500, 500, 2, 4); in wiimod_accel_probe() 506 input_set_abs_params(wdata->accel, ABS_RZ, -500, 500, 2, 4); in wiimod_accel_probe() 761 input_set_abs_params(wdata->ir, ABS_HAT0X, 0, 1023, 2, 4); in wiimod_ir_probe() 762 input_set_abs_params(wdata->ir, ABS_HAT0Y, 0, 767, 2, 4); in wiimod_ir_probe() 763 input_set_abs_params(wdata->ir, ABS_HAT1X, 0, 1023, 2, 4); in wiimod_ir_probe() 764 input_set_abs_params(wdata->ir, ABS_HAT1Y, 0, 767, 2, 4); in wiimod_ir_probe() 765 input_set_abs_params(wdata->ir, ABS_HAT2X, 0, 1023, 2, 4); in wiimod_ir_probe() 766 input_set_abs_params(wdata->ir, ABS_HAT2Y, 0, 767, 2, 4); in wiimod_ir_probe() 767 input_set_abs_params(wdata->ir, ABS_HAT3X, 0, 1023, 2, 4); in wiimod_ir_probe() [all …]
|
H A D | hid-magicmouse.c | 609 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 255 << 2, in magicmouse_setup_input() 611 input_set_abs_params(input, ABS_MT_TOUCH_MINOR, 0, 255 << 2, in magicmouse_setup_input() 622 input_set_abs_params(input, ABS_MT_ORIENTATION, -31, 32, 1, 0); in magicmouse_setup_input() 623 input_set_abs_params(input, ABS_MT_POSITION_X, in magicmouse_setup_input() 625 input_set_abs_params(input, ABS_MT_POSITION_Y, in magicmouse_setup_input() 635 input_set_abs_params(input, ABS_MT_PRESSURE, 0, 253, 0, 0); in magicmouse_setup_input() 636 input_set_abs_params(input, ABS_PRESSURE, 0, 253, 0, 0); in magicmouse_setup_input() 637 input_set_abs_params(input, ABS_MT_ORIENTATION, -3, 4, 0, 0); in magicmouse_setup_input() 638 input_set_abs_params(input, ABS_X, TRACKPAD2_MIN_X, in magicmouse_setup_input() 640 input_set_abs_params(input, ABS_Y, TRACKPAD2_MIN_Y, in magicmouse_setup_input() [all …]
|
H A D | hid-letsketch.c | 111 input_set_abs_params(input, ABS_X, 0, 50800, 0, 0); in letsketch_setup_input_tablet() 112 input_set_abs_params(input, ABS_Y, 0, 31750, 0, 0); in letsketch_setup_input_tablet() 113 input_set_abs_params(input, ABS_PRESSURE, 0, 8192, 0, 0); in letsketch_setup_input_tablet() 145 input_set_abs_params(input, ABS_X, 0, 1, 0, 0); in letsketch_setup_input_tablet_pad() 146 input_set_abs_params(input, ABS_Y, 0, 1, 0, 0); in letsketch_setup_input_tablet_pad()
|
H A D | hid-steam.c | 539 input_set_abs_params(input, ABS_X, -32767, 32767, 0, 0); in steam_input_register() 540 input_set_abs_params(input, ABS_Y, -32767, 32767, 0, 0); in steam_input_register() 542 input_set_abs_params(input, ABS_HAT0X, -32767, 32767, in steam_input_register() 544 input_set_abs_params(input, ABS_HAT0Y, -32767, 32767, in steam_input_register() 548 input_set_abs_params(input, ABS_HAT2Y, 0, 32767, 0, 0); in steam_input_register() 549 input_set_abs_params(input, ABS_HAT2X, 0, 32767, 0, 0); in steam_input_register() 551 input_set_abs_params(input, ABS_RX, -32767, 32767, 0, 0); in steam_input_register() 552 input_set_abs_params(input, ABS_RY, -32767, 32767, 0, 0); in steam_input_register() 554 input_set_abs_params(input, ABS_HAT1X, -32767, 32767, in steam_input_register() 556 input_set_abs_params(input, ABS_HAT1Y, -32767, 32767, in steam_input_register() [all …]
|
H A D | wacom_wac.c | 1949 input_set_abs_params(input, code, fmin, fmax, fuzz, 0); in wacom_map_usage() 2638 input_set_abs_params(input, ABS_MT_ORIENTATION, 0, 1, 0, 0); in wacom_wac_finger_usage_mapping() 3543 input_set_abs_params(input_dev, ABS_DISTANCE, in wacom_setup_basic_pro_pen() 3559 input_set_abs_params(input_dev, ABS_WHEEL, 0, 1023, 0, 0); in wacom_setup_cintiq() 3560 input_set_abs_params(input_dev, ABS_TILT_X, -64, 63, features->tilt_fuzz, 0); in wacom_setup_cintiq() 3562 input_set_abs_params(input_dev, ABS_TILT_Y, -64, 63, features->tilt_fuzz, 0); in wacom_setup_cintiq() 3582 input_set_abs_params(input_dev, ABS_RZ, -900, 899, 0, 0); in wacom_setup_intuos() 3584 input_set_abs_params(input_dev, ABS_THROTTLE, -1023, 1023, 0, 0); in wacom_setup_intuos() 3761 input_set_abs_params(input_dev, ABS_X, 0 + features->offset_left, in wacom_setup_pen_input_capabilities() 3764 input_set_abs_params(input_dev, ABS_Y, 0 + features->offset_top, in wacom_setup_pen_input_capabilities() [all …]
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | elo.c | 269 input_set_abs_params(dev, ABS_X, 96, 4000, 0, 0); in elo_setup_10() 270 input_set_abs_params(dev, ABS_Y, 96, 4000, 0, 0); in elo_setup_10() 272 input_set_abs_params(dev, ABS_PRESSURE, 0, 255, 0, 0); in elo_setup_10() 352 input_set_abs_params(input_dev, ABS_PRESSURE, 0, 15, 0, 0); in elo_connect() 356 input_set_abs_params(input_dev, ABS_X, 96, 4000, 0, 0); in elo_connect() 357 input_set_abs_params(input_dev, ABS_Y, 96, 4000, 0, 0); in elo_connect() 361 input_set_abs_params(input_dev, ABS_X, 0, 255, 0, 0); in elo_connect() 362 input_set_abs_params(input_dev, ABS_Y, 0, 255, 0, 0); in elo_connect()
|
H A D | surface3_spi.c | 254 input_set_abs_params(input, ABS_MT_POSITION_X, 0, 9600, 0, 0); in surface3_spi_create_touch_input() 256 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, 7200, 0, 0); in surface3_spi_create_touch_input() 258 input_set_abs_params(input, ABS_MT_WIDTH_MAJOR, 0, 1024, 0, 0); in surface3_spi_create_touch_input() 259 input_set_abs_params(input, ABS_MT_WIDTH_MINOR, 0, 1024, 0, 0); in surface3_spi_create_touch_input() 293 input_set_abs_params(input, ABS_X, 0, 9600, 0, 0); in surface3_spi_create_pen_input() 295 input_set_abs_params(input, ABS_Y, 0, 7200, 0, 0); in surface3_spi_create_pen_input() 297 input_set_abs_params(input, ABS_PRESSURE, 0, 1024, 0, 0); in surface3_spi_create_pen_input()
|
H A D | wacom_w8001.c | 447 input_set_abs_params(dev, ABS_X, 0, coord.x, 0, 0); in w8001_setup_pen() 448 input_set_abs_params(dev, ABS_Y, 0, coord.y, 0, 0); in w8001_setup_pen() 451 input_set_abs_params(dev, ABS_PRESSURE, 0, coord.pen_pressure, 0, 0); in w8001_setup_pen() 453 input_set_abs_params(dev, ABS_TILT_X, 0, coord.tilt_x, 0, 0); in w8001_setup_pen() 454 input_set_abs_params(dev, ABS_TILT_Y, 0, coord.tilt_y, 0, 0); in w8001_setup_pen() 498 input_set_abs_params(dev, ABS_X, 0, touch.x, 0, 0); in w8001_setup_touch() 499 input_set_abs_params(dev, ABS_Y, 0, touch.y, 0, 0); in w8001_setup_touch() 530 input_set_abs_params(dev, ABS_MT_POSITION_X, in w8001_setup_touch() 532 input_set_abs_params(dev, ABS_MT_POSITION_Y, in w8001_setup_touch() 534 input_set_abs_params(dev, ABS_MT_TOOL_TYPE, in w8001_setup_touch()
|
H A D | egalax_ts.c | 197 input_set_abs_params(input_dev, ABS_X, 0, EGALAX_MAX_X, 0, 0); in egalax_ts_probe() 198 input_set_abs_params(input_dev, ABS_Y, 0, EGALAX_MAX_Y, 0, 0); in egalax_ts_probe() 199 input_set_abs_params(input_dev, in egalax_ts_probe() 201 input_set_abs_params(input_dev, in egalax_ts_probe()
|
H A D | s6sy761.c | 435 input_set_abs_params(sdata->input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in s6sy761_probe() 436 input_set_abs_params(sdata->input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in s6sy761_probe() 437 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in s6sy761_probe() 438 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MINOR, 0, 255, 0, 0); in s6sy761_probe() 439 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in s6sy761_probe() 440 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MINOR, 0, 255, 0, 0); in s6sy761_probe() 441 input_set_abs_params(sdata->input, ABS_MT_PRESSURE, 0, 255, 0, 0); in s6sy761_probe()
|
H A D | sis_i2c.c | 334 input_set_abs_params(input, ABS_MT_POSITION_X, 0, SIS_MAX_X, 0, 0); in sis_ts_probe() 335 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, SIS_MAX_Y, 0, 0); in sis_ts_probe() 336 input_set_abs_params(input, ABS_MT_PRESSURE, 0, SIS_MAX_PRESSURE, 0, 0); in sis_ts_probe() 337 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, in sis_ts_probe() 339 input_set_abs_params(input, ABS_MT_TOUCH_MINOR, in sis_ts_probe()
|
H A D | auo-pixcir-ts.c | 534 input_set_abs_params(input_dev, ABS_X, 0, ts->x_max, 0, 0); in auo_pixcir_probe() 535 input_set_abs_params(input_dev, ABS_Y, 0, ts->y_max, 0, 0); in auo_pixcir_probe() 538 input_set_abs_params(input_dev, ABS_MT_POSITION_X, 0, ts->x_max, 0, 0); in auo_pixcir_probe() 539 input_set_abs_params(input_dev, ABS_MT_POSITION_Y, 0, ts->y_max, 0, 0); in auo_pixcir_probe() 540 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, in auo_pixcir_probe() 542 input_set_abs_params(input_dev, ABS_MT_TOUCH_MINOR, in auo_pixcir_probe() 544 input_set_abs_params(input_dev, ABS_MT_ORIENTATION, 0, 1, 0, 0); in auo_pixcir_probe()
|
H A D | penmount.c | 258 input_set_abs_params(pm->dev, ABS_X, 0, max_x, 0, 0); in pm_connect() 259 input_set_abs_params(pm->dev, ABS_Y, 0, max_y, 0, 0); in pm_connect() 263 input_set_abs_params(pm->dev, in pm_connect() 265 input_set_abs_params(pm->dev, in pm_connect()
|
/openbmc/linux/drivers/input/joystick/ |
H A D | pxrc.c | 185 input_set_abs_params(pxrc->input, ABS_X, 0, 255, 0, 0); in pxrc_probe() 186 input_set_abs_params(pxrc->input, ABS_Y, 0, 255, 0, 0); in pxrc_probe() 187 input_set_abs_params(pxrc->input, ABS_RX, 0, 255, 0, 0); in pxrc_probe() 188 input_set_abs_params(pxrc->input, ABS_RY, 0, 255, 0, 0); in pxrc_probe() 189 input_set_abs_params(pxrc->input, ABS_RUDDER, 0, 255, 0, 0); in pxrc_probe() 190 input_set_abs_params(pxrc->input, ABS_THROTTLE, 0, 255, 0, 0); in pxrc_probe() 191 input_set_abs_params(pxrc->input, ABS_MISC, 0, 255, 0, 0); in pxrc_probe()
|
H A D | warrior.c | 148 input_set_abs_params(input_dev, ABS_X, -64, 64, 0, 8); in warrior_connect() 149 input_set_abs_params(input_dev, ABS_Y, -64, 64, 0, 8); in warrior_connect() 150 input_set_abs_params(input_dev, ABS_THROTTLE, -112, 112, 0, 0); in warrior_connect() 151 input_set_abs_params(input_dev, ABS_HAT0X, -1, 1, 0, 0); in warrior_connect() 152 input_set_abs_params(input_dev, ABS_HAT0Y, -1, 1, 0, 0); in warrior_connect()
|
H A D | zhenhua.c | 151 input_set_abs_params(input_dev, ABS_X, 50, 200, 0, 0); in zhenhua_connect() 152 input_set_abs_params(input_dev, ABS_Y, 50, 200, 0, 0); in zhenhua_connect() 153 input_set_abs_params(input_dev, ABS_Z, 50, 200, 0, 0); in zhenhua_connect() 154 input_set_abs_params(input_dev, ABS_RZ, 50, 200, 0, 0); in zhenhua_connect()
|
H A D | walkera0701.c | 260 input_set_abs_params(w->input_dev, ABS_X, -512, 512, 0, 0); in walkera0701_attach() 261 input_set_abs_params(w->input_dev, ABS_Y, -512, 512, 0, 0); in walkera0701_attach() 262 input_set_abs_params(w->input_dev, ABS_Z, -512, 512, 0, 0); in walkera0701_attach() 263 input_set_abs_params(w->input_dev, ABS_THROTTLE, -512, 512, 0, 0); in walkera0701_attach() 264 input_set_abs_params(w->input_dev, ABS_RUDDER, -512, 512, 0, 0); in walkera0701_attach() 265 input_set_abs_params(w->input_dev, ABS_MISC, -512, 512, 0, 0); in walkera0701_attach()
|
/openbmc/linux/drivers/input/tablet/ |
H A D | acecad.c | 183 input_set_abs_params(input_dev, ABS_X, 0, 5000, 4, 0); in usb_acecad_probe() 184 input_set_abs_params(input_dev, ABS_Y, 0, 3750, 4, 0); in usb_acecad_probe() 185 input_set_abs_params(input_dev, ABS_PRESSURE, 0, 512, 0, 0); in usb_acecad_probe() 194 input_set_abs_params(input_dev, ABS_X, 0, 53000, 4, 0); in usb_acecad_probe() 195 input_set_abs_params(input_dev, ABS_Y, 0, 2250, 4, 0); in usb_acecad_probe() 196 input_set_abs_params(input_dev, ABS_PRESSURE, 0, 1024, 0, 0); in usb_acecad_probe()
|
H A D | hanwang.c | 379 input_set_abs_params(input_dev, ABS_X, in hanwang_probe() 381 input_set_abs_params(input_dev, ABS_Y, in hanwang_probe() 383 input_set_abs_params(input_dev, ABS_TILT_X, in hanwang_probe() 385 input_set_abs_params(input_dev, ABS_TILT_Y, in hanwang_probe() 387 input_set_abs_params(input_dev, ABS_PRESSURE, in hanwang_probe()
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 161 input_set_abs_params(input, ABS_MT_POSITION_X, 0, max_x, 0, 0); in rmi_2d_sensor_set_input_params() 162 input_set_abs_params(input, ABS_MT_POSITION_Y, 0, max_y, 0, 0); in rmi_2d_sensor_set_input_params() 180 input_set_abs_params(input, ABS_MT_PRESSURE, 0, 0xff, 0, 0); in rmi_2d_sensor_set_input_params() 181 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 0x0f, 0, 0); in rmi_2d_sensor_set_input_params() 182 input_set_abs_params(input, ABS_MT_TOUCH_MINOR, 0, 0x0f, 0, 0); in rmi_2d_sensor_set_input_params() 183 input_set_abs_params(input, ABS_MT_ORIENTATION, 0, 1, 0, 0); in rmi_2d_sensor_set_input_params() 184 input_set_abs_params(input, ABS_MT_TOOL_TYPE, in rmi_2d_sensor_set_input_params()
|
/openbmc/linux/drivers/macintosh/ams/ |
H A D | ams-input.c | 70 input_set_abs_params(input, ABS_X, -50, 50, 3, 0); in ams_input_enable() 71 input_set_abs_params(input, ABS_Y, -50, 50, 3, 0); in ams_input_enable() 72 input_set_abs_params(input, ABS_Z, -50, 50, 3, 0); in ams_input_enable()
|
/openbmc/linux/drivers/input/misc/ |
H A D | mma8450.c | 166 input_set_abs_params(input, ABS_X, -2048, 2047, 32, 32); in mma8450_probe() 167 input_set_abs_params(input, ABS_Y, -2048, 2047, 32, 32); in mma8450_probe() 168 input_set_abs_params(input, ABS_Z, -2048, 2047, 32, 32); in mma8450_probe()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | touchkit_ps2.c | 77 input_set_abs_params(dev, ABS_X, 0, TOUCHKIT_MAX_XC, 0, 0); in touchkit_ps2_detect() 78 input_set_abs_params(dev, ABS_Y, 0, TOUCHKIT_MAX_YC, 0, 0); in touchkit_ps2_detect()
|