/linux-3.3/drivers/input/keyboard/ |
D | hil_kbd.c | 235 if (val < input_abs_get_min(dev, ABS_X + i)) in hil_dev_handle_ptr_events() 236 input_abs_set_min(dev, ABS_X + i, val); in hil_dev_handle_ptr_events() 237 if (val > input_abs_get_max(dev, ABS_X + i)) in hil_dev_handle_ptr_events() 238 input_abs_set_max(dev, ABS_X + i, val); in hil_dev_handle_ptr_events() 241 val = input_abs_get_max(dev, ABS_X + i) - val; in hil_dev_handle_ptr_events() 242 input_report_abs(dev, ABS_X + i, val); in hil_dev_handle_ptr_events() 382 input_set_abs_params(input_dev, ABS_X + i, in hil_dev_pointer_setup() 386 input_set_abs_params(input_dev, ABS_X + i, in hil_dev_pointer_setup() 391 int diff = input_abs_get_max(input_dev, ABS_X + i) / 10; in hil_dev_pointer_setup() 392 input_abs_set_min(input_dev, ABS_X + i, in hil_dev_pointer_setup() [all …]
|
/linux-3.3/drivers/input/joystick/ |
D | grip.c | 69 static int grip_abs_gpp[] = { ABS_X, ABS_Y, -1 }; 70 static int grip_abs_bd[] = { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 }; 71 static int grip_abs_xt[] = { ABS_X, ABS_Y, ABS_BRAKE, ABS_GAS, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, … 72 static int grip_abs_dc[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 }; 207 input_report_abs(dev, ABS_X, ((*data >> 15) & 1) - ((*data >> 16) & 1)); in grip_poll() 223 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll() 242 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll() 264 input_report_abs(dev, ABS_X, (data[0] >> 2) & 0x3f); in grip_poll()
|
D | amijoy.c | 69 input_report_abs(amijoy_dev[i], ABS_X, ((data >> 1) & 1) - ((data >> 9) & 1)); in amijoy_interrupt() 138 amijoy_dev[i]->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in amijoy_init() 142 input_set_abs_params(amijoy_dev[i], ABS_X + j, in amijoy_init()
|
D | sidewinder.c | 87 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 88 { ABS_X, ABS_Y }, 89 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 90 { ABS_X, ABS_Y, ABS_RZ, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 91 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y }, 316 input_report_abs(dev, ABS_X, (GB( 3,3) << 7) | GB(16,7)); in sw_parse() 341 input_report_abs(sw->dev[i], ABS_X, GB(i*15+3,1) - GB(i*15+2,1)); in sw_parse() 359 input_report_abs(dev, ABS_X, GB( 9,10)); in sw_parse() 380 input_report_abs(dev, ABS_X, GB( 0,10)); in sw_parse()
|
D | db9.c | 118 static const short db9_abs[] = { ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_RZ, ABS_Z, ABS_HAT0X, ABS_HAT0Y,… 379 input_report_abs(dev2, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 387 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 396 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 405 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 416 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 433 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 453 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer() 496 input_report_abs(dev, ABS_X, (data & DB9_RIGHT ? 0 : 1) - (data & DB9_LEFT ? 0 : 1)); in db9_timer()
|
D | maplecontrol.c | 56 input_report_abs(dev, ABS_X, res[12]); in dc_pad_callback() 93 ABS_GAS, ABS_BRAKE, ABS_X, ABS_Y, ABS_RX, ABS_RY, -1, -1, in probe_maple_controller() 132 for (i = ABS_X; i <= ABS_BRAKE; i++) in probe_maple_controller()
|
D | gamecon.c | 248 input_report_abs(dev, ABS_X, x); in gc_n64_process_packet() 396 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet() 407 input_report_abs(dev, ABS_X, !(s & data[6]) - !(s & data[7])); in gc_nes_process_packet() 506 input_report_abs(dev, ABS_X, in gc_multi_process_packet() 552 ABS_X, ABS_Y, ABS_RX, ABS_RY, ABS_HAT0X, ABS_HAT0Y 669 input_report_abs(dev, ABS_X, in gc_psx_report_one() 692 input_report_abs(dev, ABS_X, in gc_psx_report_one() 853 input_set_abs_params(input_dev, ABS_X + i, -1, 1, 0, 0); in gc_setup_pad() 866 input_set_abs_params(input_dev, ABS_X + i, -127, 126, 0, 2); in gc_setup_pad()
|
D | zhenhua.c | 97 input_report_abs(dev, ABS_X, data[2]); in zhenhua_process_packet() 177 input_set_abs_params(input_dev, ABS_X, 50, 200, 0, 0); in zhenhua_connect()
|
/linux-3.3/drivers/input/touchscreen/ |
D | elo.c | 102 input_report_abs(dev, ABS_X, (elo->data[4] << 8) | elo->data[3]); in elo_process_data_10() 151 input_report_abs(dev, ABS_X, ((elo->data[0] & 0x3f) << 6) | (elo->data[1] & 0x3f)); in elo_process_data_6() 194 input_report_abs(dev, ABS_X, elo->data[1]); in elo_process_data_3() 274 input_set_abs_params(dev, ABS_X, 96, 4000, 0, 0); in elo_setup_10() 358 input_set_abs_params(input_dev, ABS_X, 96, 4000, 0, 0); in elo_connect() 363 input_set_abs_params(input_dev, ABS_X, 0, 255, 0, 0); in elo_connect()
|
D | hp680_ts_input.c | 58 input_report_abs(hp680_ts_dev, ABS_X, absx); in do_softint() 87 input_set_abs_params(hp680_ts_dev, ABS_X, in hp680_ts_init()
|
D | wacom_w8001.c | 251 input_report_abs(dev, ABS_X, coord->x); in report_pen_events() 272 input_report_abs(dev, ABS_X, x); in report_single_touch() 415 input_set_abs_params(dev, ABS_X, 0, coord.x, 0, 0); in w8001_setup() 417 input_abs_set_res(dev, ABS_X, W8001_PEN_RESOLUTION); in w8001_setup() 450 input_set_abs_params(dev, ABS_X, 0, touch.x, 0, 0); in w8001_setup() 452 input_abs_set_res(dev, ABS_X, touch.panel_res); in w8001_setup()
|
D | 88pm860x-ts.c | 75 input_report_abs(touch->idev, ABS_X, x); in pm860x_touch_handler() 172 __set_bit(ABS_X, touch->idev->absbit); in pm860x_touch_probe() 179 input_set_abs_params(touch->idev, ABS_X, 0, 1 << ACCURATE_BIT, 0, 0); in pm860x_touch_probe()
|
D | fujitsu_ts.c | 68 input_report_abs(dev, ABS_X, in fujitsu_interrupt() 128 input_set_abs_params(input_dev, ABS_X, 0, 4096, 0, 0); in fujitsu_connect()
|
D | jornada720_ts.c | 89 input_report_abs(input, ABS_X, x); in jornada720_ts_interrupt() 125 input_set_abs_params(input_dev, ABS_X, 270, 3900, 0, 0); in jornada720_ts_probe()
|
D | mk712.c | 110 input_report_abs(mk712_dev, ABS_X, last_x); in mk712_interrupt() 190 input_set_abs_params(mk712_dev, ABS_X, 0, 0xfff, 88, 0); in mk712_init()
|
D | touchright.c | 68 input_report_abs(dev, ABS_X, in tr_interrupt() 130 input_set_abs_params(tr->dev, ABS_X, TR_MIN_XC, TR_MAX_XC, 0, 0); in tr_connect()
|
/linux-3.3/sound/usb/caiaq/ |
D | input.c | 218 snd_caiaq_input_report_abs(dev, ABS_X, buf, 2); in snd_caiaq_input_read_analog() 225 snd_caiaq_input_report_abs(dev, ABS_X, buf, 0); in snd_caiaq_input_read_analog() 253 input_report_abs(input_dev, ABS_X, i); in snd_caiaq_input_read_erp() 327 input_report_abs(dev->input_dev, ABS_X, buf[5] & 0xf); in snd_caiaq_input_read_io() 619 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init() 624 input_set_abs_params(input, ABS_X, 0, 4096, 0, 10); in snd_usb_caiaq_input_init() 631 input->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | in snd_usb_caiaq_input_init() 636 input_set_abs_params(input, ABS_X, 0, 1024, 0, 10); in snd_usb_caiaq_input_init() 643 input->absbit[0] = BIT_MASK(ABS_X); in snd_usb_caiaq_input_init() 647 input_set_abs_params(input, ABS_X, 0, 999, 0, 10); in snd_usb_caiaq_input_init() [all …]
|
/linux-3.3/drivers/input/mouse/ |
D | pc110pad.c | 77 input_report_abs(pc110pad_dev, ABS_X, in pc110pad_interrupt() 145 pc110pad_dev->absbit[0] = BIT_MASK(ABS_X) | BIT_MASK(ABS_Y); in pc110pad_init() 148 input_abs_set_max(pc110pad_dev, ABS_X, 0x1ff); in pc110pad_init()
|
D | touchkit_ps2.c | 61 input_report_abs(dev, ABS_X, TOUCHKIT_GET_X(packet)); in touchkit_ps2_process_byte() 90 input_set_abs_params(dev, ABS_X, 0, TOUCHKIT_MAX_XC, 0, 0); in touchkit_ps2_detect()
|
D | lifebook.c | 176 input_report_abs(dev1, ABS_X, in lifebook_process_byte() 181 input_report_abs(dev1, ABS_X, in lifebook_process_byte() 327 input_set_abs_params(dev1, ABS_X, 0, max_coord, 0, 0); in lifebook_init()
|
/linux-3.3/drivers/input/ |
D | mousedev.c | 139 case ABS_X: in mousedev_touchpad_event() 143 size = input_abs_get_max(dev, ABS_X) - in mousedev_touchpad_event() 144 input_abs_get_min(dev, ABS_X); in mousedev_touchpad_event() 160 size = input_abs_get_max(dev, ABS_X) - in mousedev_touchpad_event() 161 input_abs_get_min(dev, ABS_X); in mousedev_touchpad_event() 182 case ABS_X: in mousedev_abs_event() 183 min = input_abs_get_min(dev, ABS_X); in mousedev_abs_event() 184 max = input_abs_get_max(dev, ABS_X); in mousedev_abs_event() 1028 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) }, 1038 .absbit = { BIT_MASK(ABS_X) | BIT_MASK(ABS_Y) | [all …]
|
/linux-3.3/drivers/macintosh/ams/ |
D | ams-input.c | 45 input_report_abs(idev, ABS_X, invert ? -x : x); in ams_idev_poll() 79 input_set_abs_params(input, ABS_X, -50, 50, 3, 0); in ams_input_enable()
|
/linux-3.3/drivers/input/tablet/ |
D | acecad.c | 94 input_report_abs(dev, ABS_X, x); in usb_acecad_irq() 202 input_set_abs_params(input_dev, ABS_X, 0, 5000, 4, 0); in usb_acecad_probe() 213 input_set_abs_params(input_dev, ABS_X, 0, 53000, 4, 0); in usb_acecad_probe()
|
D | wacom_wac.c | 40 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq() 56 input_report_abs(input, ABS_X, get_unaligned_le16(&data[1])); in wacom_penpartner_irq() 122 input_report_abs(input, ABS_X, data[3] | (data[2] << 7) | ((data[1] & 0x03) << 14)); in wacom_pl_irq() 163 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_ptu_irq() 190 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_dtu_irq() 243 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2])); in wacom_graphire_irq() 413 input_report_abs(input, ABS_X, 0); in wacom_intuos_inout() 645 input_report_abs(input, ABS_X, (data[2] << 9) | (data[3] << 1) | ((data[9] >> 1) & 1)); in wacom_intuos_irq() 649 input_report_abs(input, ABS_X, be16_to_cpup((__be16 *)&data[2])); in wacom_intuos_irq() 785 input_report_abs(input, ABS_X, x); in wacom_tpc_single_touch() [all …]
|
/linux-3.3/drivers/input/joystick/iforce/ |
D | iforce-main.c | 55 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_HAT0X, ABS_HAT0Y, -1 }; 58 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER, ABS_HAT0X, ABS_HAT0Y, -1 }; 61 { ABS_X, ABS_Y, ABS_THROTTLE, ABS_RUDDER, ABS_HAT0X, ABS_HAT0Y, 398 case ABS_X: in iforce_init_device()
|