Searched refs:touchkey (Results 1 – 5 of 5) sorted by relevance
/drivers/input/keyboard/ |
D | tm2-touchkey.c | 88 struct tm2_touchkey_data *touchkey = in tm2_touchkey_led_brightness_set() local 95 data = touchkey->variant->cmd_led_off; in tm2_touchkey_led_brightness_set() 98 data = touchkey->variant->cmd_led_on; in tm2_touchkey_led_brightness_set() 101 if (!touchkey->variant->fixed_regulator) in tm2_touchkey_led_brightness_set() 102 regulator_set_voltage(touchkey->vdd, volt, volt); in tm2_touchkey_led_brightness_set() 104 return touchkey->variant->no_reg ? in tm2_touchkey_led_brightness_set() 105 i2c_smbus_write_byte(touchkey->client, data) : in tm2_touchkey_led_brightness_set() 106 i2c_smbus_write_byte_data(touchkey->client, in tm2_touchkey_led_brightness_set() 107 touchkey->variant->base_reg, data); in tm2_touchkey_led_brightness_set() 110 static int tm2_touchkey_power_enable(struct tm2_touchkey_data *touchkey) in tm2_touchkey_power_enable() argument [all …]
|
D | cypress-sf.c | 33 struct cypress_sf_data *touchkey = devid; in cypress_sf_irq_handler() local 38 val = i2c_smbus_read_byte_data(touchkey->client, in cypress_sf_irq_handler() 41 dev_err(&touchkey->client->dev, in cypress_sf_irq_handler() 47 bitmap_xor(&changed, &keystates, &touchkey->keystates, in cypress_sf_irq_handler() 48 touchkey->num_keys); in cypress_sf_irq_handler() 50 for_each_set_bit(key, &changed, touchkey->num_keys) { in cypress_sf_irq_handler() 52 dev_dbg(&touchkey->client->dev, in cypress_sf_irq_handler() 54 input_report_key(touchkey->input_dev, in cypress_sf_irq_handler() 55 touchkey->keycodes[key], new_state); in cypress_sf_irq_handler() 58 input_sync(touchkey->input_dev); in cypress_sf_irq_handler() [all …]
|
D | mcs_touchkey.c | 97 struct mcs_touchkey_data *touchkey = data; in mcs_touchkey_poweroff() local 99 touchkey->poweron(false); in mcs_touchkey_poweroff()
|
D | Makefile | 71 obj-$(CONFIG_KEYBOARD_TM2_TOUCHKEY) += tm2-touchkey.o
|
D | Kconfig | 428 Say Y here if you have the MELFAS MCS5000/5080 touchkey controller 440 Say Y here if you have Freescale MPR121 touchkey controller 713 tristate "TM2 touchkey support" 717 Say Y here to enable device driver for tm2-touchkey with 721 module will be called tm2-touchkey. 803 tristate "Cypress StreetFighter touchkey support"
|