Lines Matching refs:input
38 struct input_dev *input; member
48 struct input_dev *input; member
93 struct input_dev *input = chip->input; in tca6416_keys_scan() local
114 input_event(input, type, button->code, !!state); in tca6416_keys_scan()
115 input_sync(input); in tca6416_keys_scan()
205 struct input_dev *input; in tca6416_keypad_probe() local
225 input = input_allocate_device(); in tca6416_keypad_probe()
226 if (!chip || !input) { in tca6416_keypad_probe()
232 chip->input = input; in tca6416_keypad_probe()
239 input->phys = "tca6416-keys/input0"; in tca6416_keypad_probe()
240 input->name = client->name; in tca6416_keypad_probe()
241 input->dev.parent = &client->dev; in tca6416_keypad_probe()
243 input->open = tca6416_keys_open; in tca6416_keypad_probe()
244 input->close = tca6416_keys_close; in tca6416_keypad_probe()
246 input->id.bustype = BUS_HOST; in tca6416_keypad_probe()
247 input->id.vendor = 0x0001; in tca6416_keypad_probe()
248 input->id.product = 0x0001; in tca6416_keypad_probe()
249 input->id.version = 0x0100; in tca6416_keypad_probe()
253 __set_bit(EV_REP, input->evbit); in tca6416_keypad_probe()
260 input_set_capability(input, type, pdata->buttons[i].code); in tca6416_keypad_probe()
263 input_set_drvdata(input, chip); in tca6416_keypad_probe()
293 error = input_register_device(input); in tca6416_keypad_probe()
311 input_free_device(input); in tca6416_keypad_probe()
325 input_unregister_device(chip->input); in tca6416_keypad_remove()