/Linux-v4.19/drivers/input/misc/ |
D | rb532_button.c | 48 static void rb532_button_poll(struct input_polled_dev *poll_dev) in rb532_button_poll() argument 50 input_report_key(poll_dev->input, RB532_BTN_KSYM, in rb532_button_poll() 52 input_sync(poll_dev->input); in rb532_button_poll() 57 struct input_polled_dev *poll_dev; in rb532_button_probe() local 60 poll_dev = input_allocate_polled_device(); in rb532_button_probe() 61 if (!poll_dev) in rb532_button_probe() 64 poll_dev->poll = rb532_button_poll; in rb532_button_probe() 65 poll_dev->poll_interval = RB532_BTN_RATE; in rb532_button_probe() 67 poll_dev->input->name = "rb532 button"; in rb532_button_probe() 68 poll_dev->input->phys = "rb532/button0"; in rb532_button_probe() [all …]
|
D | gpio_decoder.c | 27 struct input_polled_dev *poll_dev; member 56 static void gpio_decoder_poll_gpios(struct input_polled_dev *poll_dev) in gpio_decoder_poll_gpios() argument 58 struct gpio_decoder *decoder = poll_dev->private; in gpio_decoder_poll_gpios() 63 input_report_abs(poll_dev->input, decoder->axis, state); in gpio_decoder_poll_gpios() 64 input_sync(poll_dev->input); in gpio_decoder_poll_gpios() 73 struct input_polled_dev *poll_dev; in gpio_decoder_probe() local 96 poll_dev = devm_input_allocate_polled_device(decoder->dev); in gpio_decoder_probe() 97 if (!poll_dev) in gpio_decoder_probe() 100 poll_dev->private = decoder; in gpio_decoder_probe() 101 poll_dev->poll = gpio_decoder_poll_gpios; in gpio_decoder_probe() [all …]
|
D | sgi_btns.c | 61 struct input_polled_dev *poll_dev; member 96 struct input_polled_dev *poll_dev; in sgi_buttons_probe() local 101 poll_dev = input_allocate_polled_device(); in sgi_buttons_probe() 102 if (!bdev || !poll_dev) { in sgi_buttons_probe() 109 poll_dev->private = bdev; in sgi_buttons_probe() 110 poll_dev->poll = handle_buttons; in sgi_buttons_probe() 111 poll_dev->poll_interval = BUTTONS_POLL_INTERVAL; in sgi_buttons_probe() 113 input = poll_dev->input; in sgi_buttons_probe() 129 bdev->poll_dev = poll_dev; in sgi_buttons_probe() 132 error = input_register_polled_device(poll_dev); in sgi_buttons_probe() [all …]
|
D | cobalt_btns.c | 42 struct input_polled_dev *poll_dev; member 78 struct input_polled_dev *poll_dev; in cobalt_buttons_probe() local 84 poll_dev = input_allocate_polled_device(); in cobalt_buttons_probe() 85 if (!bdev || !poll_dev) { in cobalt_buttons_probe() 92 poll_dev->private = bdev; in cobalt_buttons_probe() 93 poll_dev->poll = handle_buttons; in cobalt_buttons_probe() 94 poll_dev->poll_interval = BUTTONS_POLL_INTERVAL; in cobalt_buttons_probe() 96 input = poll_dev->input; in cobalt_buttons_probe() 118 bdev->poll_dev = poll_dev; in cobalt_buttons_probe() 122 error = input_register_polled_device(poll_dev); in cobalt_buttons_probe() [all …]
|
D | kxtj9.c | 88 struct input_polled_dev *poll_dev; member 439 struct input_polled_dev *poll_dev; in kxtj9_setup_polled_device() local 440 poll_dev = input_allocate_polled_device(); in kxtj9_setup_polled_device() 442 if (!poll_dev) { in kxtj9_setup_polled_device() 448 tj9->poll_dev = poll_dev; in kxtj9_setup_polled_device() 449 tj9->input_dev = poll_dev->input; in kxtj9_setup_polled_device() 451 poll_dev->private = tj9; in kxtj9_setup_polled_device() 452 poll_dev->poll = kxtj9_poll; in kxtj9_setup_polled_device() 453 poll_dev->open = kxtj9_polled_input_open; in kxtj9_setup_polled_device() 454 poll_dev->close = kxtj9_polled_input_close; in kxtj9_setup_polled_device() [all …]
|
/Linux-v4.19/drivers/input/keyboard/ |
D | clps711x-keypad.c | 95 struct input_polled_dev *poll_dev; in clps711x_keypad_probe() local 132 poll_dev = input_allocate_polled_device(); in clps711x_keypad_probe() 133 if (!poll_dev) in clps711x_keypad_probe() 136 poll_dev->private = priv; in clps711x_keypad_probe() 137 poll_dev->poll = clps711x_keypad_poll; in clps711x_keypad_probe() 138 poll_dev->poll_interval = poll_interval; in clps711x_keypad_probe() 139 poll_dev->input->name = pdev->name; in clps711x_keypad_probe() 140 poll_dev->input->dev.parent = dev; in clps711x_keypad_probe() 141 poll_dev->input->id.bustype = BUS_HOST; in clps711x_keypad_probe() 142 poll_dev->input->id.vendor = 0x0001; in clps711x_keypad_probe() [all …]
|
D | jornada680_kbd.c | 70 struct input_polled_dev *poll_dev; member 79 struct input_dev *input_dev = jornadakbd->poll_dev->input; in jornada_parse_kbd() 185 struct input_polled_dev *poll_dev; in jornada680kbd_probe() local 194 poll_dev = devm_input_allocate_polled_device(&pdev->dev); in jornada680kbd_probe() 195 if (!poll_dev) { in jornada680kbd_probe() 200 jornadakbd->poll_dev = poll_dev; in jornada680kbd_probe() 205 poll_dev->private = jornadakbd; in jornada680kbd_probe() 206 poll_dev->poll = jornadakbd680_poll; in jornada680kbd_probe() 207 poll_dev->poll_interval = 50; /* msec */ in jornada680kbd_probe() 209 input_dev = poll_dev->input; in jornada680kbd_probe() [all …]
|
D | gpio_keys_polled.c | 40 struct input_polled_dev *poll_dev; member 236 struct input_polled_dev *poll_dev; in gpio_keys_polled_probe() local 261 poll_dev = devm_input_allocate_polled_device(dev); in gpio_keys_polled_probe() 262 if (!poll_dev) { in gpio_keys_polled_probe() 267 poll_dev->private = bdev; in gpio_keys_polled_probe() 268 poll_dev->poll = gpio_keys_polled_poll; in gpio_keys_polled_probe() 269 poll_dev->poll_interval = pdata->poll_interval; in gpio_keys_polled_probe() 270 poll_dev->open = gpio_keys_polled_open; in gpio_keys_polled_probe() 271 poll_dev->close = gpio_keys_polled_close; in gpio_keys_polled_probe() 273 input = poll_dev->input; in gpio_keys_polled_probe() [all …]
|
D | adc-keys.c | 114 struct input_polled_dev *poll_dev; in adc_keys_probe() local 151 poll_dev = devm_input_allocate_polled_device(dev); in adc_keys_probe() 152 if (!poll_dev) { in adc_keys_probe() 158 poll_dev->poll_interval = value; in adc_keys_probe() 160 poll_dev->poll = adc_keys_poll; in adc_keys_probe() 161 poll_dev->private = st; in adc_keys_probe() 163 input = poll_dev->input; in adc_keys_probe() 180 error = input_register_polled_device(poll_dev); in adc_keys_probe()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | ts4800-ts.c | 36 struct input_polled_dev *poll_dev; member 149 struct input_polled_dev *poll_dev; in ts4800_ts_probe() local 167 poll_dev = devm_input_allocate_polled_device(&pdev->dev); in ts4800_ts_probe() 168 if (!poll_dev) in ts4800_ts_probe() 172 ts->poll_dev = poll_dev; in ts4800_ts_probe() 175 poll_dev->private = ts; in ts4800_ts_probe() 176 poll_dev->poll_interval = POLL_INTERVAL; in ts4800_ts_probe() 177 poll_dev->open = ts4800_ts_open; in ts4800_ts_probe() 178 poll_dev->close = ts4800_ts_close; in ts4800_ts_probe() 179 poll_dev->poll = ts4800_ts_poll; in ts4800_ts_probe() [all …]
|
D | tps6507x-ts.c | 43 struct input_polled_dev *poll_dev; member 151 static void tps6507x_ts_poll(struct input_polled_dev *poll_dev) in tps6507x_ts_poll() argument 153 struct tps6507x_ts *tsc = poll_dev->private; in tps6507x_ts_poll() 154 struct input_dev *input_dev = poll_dev->input; in tps6507x_ts_poll() 208 struct input_polled_dev *poll_dev; in tps6507x_ts_probe() local 243 poll_dev = devm_input_allocate_polled_device(&pdev->dev); in tps6507x_ts_probe() 244 if (!poll_dev) { in tps6507x_ts_probe() 249 tsc->poll_dev = poll_dev; in tps6507x_ts_probe() 251 poll_dev->private = tsc; in tps6507x_ts_probe() 252 poll_dev->poll = tps6507x_ts_poll; in tps6507x_ts_probe() [all …]
|
D | sur40.c | 656 struct input_polled_dev *poll_dev; in sur40_probe() local 677 poll_dev = input_allocate_polled_device(); in sur40_probe() 678 if (!poll_dev) { in sur40_probe() 689 poll_dev->private = sur40; in sur40_probe() 690 poll_dev->poll_interval = POLL_INTERVAL; in sur40_probe() 691 poll_dev->open = sur40_open; in sur40_probe() 692 poll_dev->poll = sur40_poll; in sur40_probe() 693 poll_dev->close = sur40_close; in sur40_probe() 696 sur40_input_setup(poll_dev->input); in sur40_probe() 698 poll_dev->input->name = DRIVER_LONG; in sur40_probe() [all …]
|
/Linux-v4.19/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 2661 struct net_device *poll_dev = adapter->netdev; in e1000e_poll() local 2664 adapter = netdev_priv(poll_dev); in e1000e_poll()
|