/drivers/input/misc/ |
D | rb532_button.c | 49 static void rb532_button_poll(struct input_polled_dev *poll_dev) in rb532_button_poll() argument 51 input_report_key(poll_dev->input, RB532_BTN_KSYM, in rb532_button_poll() 53 input_sync(poll_dev->input); in rb532_button_poll() 58 struct input_polled_dev *poll_dev; in rb532_button_probe() local 61 poll_dev = input_allocate_polled_device(); in rb532_button_probe() 62 if (!poll_dev) in rb532_button_probe() 65 poll_dev->poll = rb532_button_poll; in rb532_button_probe() 66 poll_dev->poll_interval = RB532_BTN_RATE; in rb532_button_probe() 68 poll_dev->input->name = "rb532 button"; in rb532_button_probe() 69 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 | 48 struct input_polled_dev *poll_dev; member 83 struct input_polled_dev *poll_dev; in sgi_buttons_probe() local 88 poll_dev = input_allocate_polled_device(); in sgi_buttons_probe() 89 if (!bdev || !poll_dev) { in sgi_buttons_probe() 96 poll_dev->private = bdev; in sgi_buttons_probe() 97 poll_dev->poll = handle_buttons; in sgi_buttons_probe() 98 poll_dev->poll_interval = BUTTONS_POLL_INTERVAL; in sgi_buttons_probe() 100 input = poll_dev->input; in sgi_buttons_probe() 116 bdev->poll_dev = poll_dev; in sgi_buttons_probe() 119 error = input_register_polled_device(poll_dev); in sgi_buttons_probe() [all …]
|
D | cobalt_btns.c | 29 struct input_polled_dev *poll_dev; member 65 struct input_polled_dev *poll_dev; in cobalt_buttons_probe() local 71 poll_dev = input_allocate_polled_device(); in cobalt_buttons_probe() 72 if (!bdev || !poll_dev) { in cobalt_buttons_probe() 79 poll_dev->private = bdev; in cobalt_buttons_probe() 80 poll_dev->poll = handle_buttons; in cobalt_buttons_probe() 81 poll_dev->poll_interval = BUTTONS_POLL_INTERVAL; in cobalt_buttons_probe() 83 input = poll_dev->input; in cobalt_buttons_probe() 105 bdev->poll_dev = poll_dev; in cobalt_buttons_probe() 109 error = input_register_polled_device(poll_dev); in cobalt_buttons_probe() [all …]
|
D | kxtj9.c | 75 struct input_polled_dev *poll_dev; member 426 struct input_polled_dev *poll_dev; in kxtj9_setup_polled_device() local 427 poll_dev = input_allocate_polled_device(); in kxtj9_setup_polled_device() 429 if (!poll_dev) { in kxtj9_setup_polled_device() 435 tj9->poll_dev = poll_dev; in kxtj9_setup_polled_device() 436 tj9->input_dev = poll_dev->input; in kxtj9_setup_polled_device() 438 poll_dev->private = tj9; in kxtj9_setup_polled_device() 439 poll_dev->poll = kxtj9_poll; in kxtj9_setup_polled_device() 440 poll_dev->open = kxtj9_polled_input_open; in kxtj9_setup_polled_device() 441 poll_dev->close = kxtj9_polled_input_close; in kxtj9_setup_polled_device() [all …]
|
/drivers/input/keyboard/ |
D | clps711x-keypad.c | 91 struct input_polled_dev *poll_dev; in clps711x_keypad_probe() local 128 poll_dev = input_allocate_polled_device(); in clps711x_keypad_probe() 129 if (!poll_dev) in clps711x_keypad_probe() 132 poll_dev->private = priv; in clps711x_keypad_probe() 133 poll_dev->poll = clps711x_keypad_poll; in clps711x_keypad_probe() 134 poll_dev->poll_interval = poll_interval; in clps711x_keypad_probe() 135 poll_dev->input->name = pdev->name; in clps711x_keypad_probe() 136 poll_dev->input->dev.parent = dev; in clps711x_keypad_probe() 137 poll_dev->input->id.bustype = BUS_HOST; in clps711x_keypad_probe() 138 poll_dev->input->id.vendor = 0x0001; in clps711x_keypad_probe() [all …]
|
D | jornada680_kbd.c | 67 struct input_polled_dev *poll_dev; member 76 struct input_dev *input_dev = jornadakbd->poll_dev->input; in jornada_parse_kbd() 182 struct input_polled_dev *poll_dev; in jornada680kbd_probe() local 191 poll_dev = devm_input_allocate_polled_device(&pdev->dev); in jornada680kbd_probe() 192 if (!poll_dev) { in jornada680kbd_probe() 197 jornadakbd->poll_dev = poll_dev; in jornada680kbd_probe() 202 poll_dev->private = jornadakbd; in jornada680kbd_probe() 203 poll_dev->poll = jornadakbd680_poll; in jornada680kbd_probe() 204 poll_dev->poll_interval = 50; /* msec */ in jornada680kbd_probe() 206 input_dev = poll_dev->input; in jornada680kbd_probe() [all …]
|
D | gpio_keys_polled.c | 37 struct input_polled_dev *poll_dev; member 235 struct input_polled_dev *poll_dev; in gpio_keys_polled_probe() local 258 poll_dev = devm_input_allocate_polled_device(dev); in gpio_keys_polled_probe() 259 if (!poll_dev) { in gpio_keys_polled_probe() 264 poll_dev->private = bdev; in gpio_keys_polled_probe() 265 poll_dev->poll = gpio_keys_polled_poll; in gpio_keys_polled_probe() 266 poll_dev->poll_interval = pdata->poll_interval; in gpio_keys_polled_probe() 267 poll_dev->open = gpio_keys_polled_open; in gpio_keys_polled_probe() 268 poll_dev->close = gpio_keys_polled_close; in gpio_keys_polled_probe() 270 input = poll_dev->input; in gpio_keys_polled_probe() [all …]
|
D | adc-keys.c | 111 struct input_polled_dev *poll_dev; in adc_keys_probe() local 148 poll_dev = devm_input_allocate_polled_device(dev); in adc_keys_probe() 149 if (!poll_dev) { in adc_keys_probe() 155 poll_dev->poll_interval = value; in adc_keys_probe() 157 poll_dev->poll = adc_keys_poll; in adc_keys_probe() 158 poll_dev->private = st; in adc_keys_probe() 160 input = poll_dev->input; in adc_keys_probe() 177 error = input_register_polled_device(poll_dev); in adc_keys_probe()
|
/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 165 poll_dev = devm_input_allocate_polled_device(&pdev->dev); in ts4800_ts_probe() 166 if (!poll_dev) in ts4800_ts_probe() 170 ts->poll_dev = poll_dev; in ts4800_ts_probe() 173 poll_dev->private = ts; in ts4800_ts_probe() 174 poll_dev->poll_interval = POLL_INTERVAL; in ts4800_ts_probe() 175 poll_dev->open = ts4800_ts_open; in ts4800_ts_probe() 176 poll_dev->close = ts4800_ts_close; in ts4800_ts_probe() 177 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 | raspberrypi-ts.c | 37 struct input_polled_dev *poll_dev; member 126 struct input_polled_dev *poll_dev; in rpi_ts_probe() local 173 poll_dev = devm_input_allocate_polled_device(dev); in rpi_ts_probe() 174 if (!poll_dev) { in rpi_ts_probe() 178 ts->poll_dev = poll_dev; in rpi_ts_probe() 179 input = poll_dev->input; in rpi_ts_probe() 183 poll_dev->poll_interval = RPI_TS_POLL_INTERVAL; in rpi_ts_probe() 184 poll_dev->poll = rpi_ts_poll; in rpi_ts_probe() 185 poll_dev->private = ts; in rpi_ts_probe() 200 error = input_register_polled_device(poll_dev); in rpi_ts_probe()
|
D | sur40.c | 652 struct input_polled_dev *poll_dev; in sur40_probe() local 673 poll_dev = input_allocate_polled_device(); in sur40_probe() 674 if (!poll_dev) { in sur40_probe() 685 poll_dev->private = sur40; in sur40_probe() 686 poll_dev->poll_interval = POLL_INTERVAL; in sur40_probe() 687 poll_dev->open = sur40_open; in sur40_probe() 688 poll_dev->poll = sur40_poll; in sur40_probe() 689 poll_dev->close = sur40_close; in sur40_probe() 692 sur40_input_setup(poll_dev->input); in sur40_probe() 694 poll_dev->input->name = DRIVER_LONG; in sur40_probe() [all …]
|
/drivers/net/ethernet/intel/igc/ |
D | igc.h | 298 struct net_device poll_dev; member
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 2664 struct net_device *poll_dev = adapter->netdev; in e1000e_poll() local 2667 adapter = netdev_priv(poll_dev); in e1000e_poll()
|