Searched refs:touchkey (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/input/keyboard/
H A Dtm2-touchkey.c3 * TM2 touchkey device driver
25 #define TM2_TOUCHKEY_DEV_NAME "tm2-touchkey"
88 struct tm2_touchkey_data *touchkey = local
95 data = touchkey->variant->cmd_led_off;
98 data = touchkey->variant->cmd_led_on;
101 if (!touchkey->variant->fixed_regulator)
102 regulator_set_voltage(touchkey->vdd, volt, volt);
104 return touchkey->variant->no_reg ?
105 i2c_smbus_write_byte(touchkey->client, data) :
106 i2c_smbus_write_byte_data(touchkey
110 tm2_touchkey_power_enable(struct tm2_touchkey_data *touchkey) argument
127 struct tm2_touchkey_data *touchkey = data; local
135 struct tm2_touchkey_data *touchkey = devid; local
186 struct tm2_touchkey_data *touchkey; local
302 struct tm2_touchkey_data *touchkey = i2c_get_clientdata(client); local
313 struct tm2_touchkey_data *touchkey = i2c_get_clientdata(client); local
[all...]
H A Dcypress-sf.c33 struct cypress_sf_data *touchkey = devid; local
38 val = i2c_smbus_read_byte_data(touchkey->client,
41 dev_err(&touchkey->client->dev,
47 bitmap_xor(&changed, &keystates, &touchkey->keystates,
48 touchkey->num_keys);
50 for_each_set_bit(key, &changed, touchkey->num_keys) {
52 dev_dbg(&touchkey->client->dev,
54 input_report_key(touchkey->input_dev,
55 touchkey->keycodes[key], new_state);
58 input_sync(touchkey
66 struct cypress_sf_data *touchkey = arg; local
74 struct cypress_sf_data *touchkey; local
174 struct cypress_sf_data *touchkey = i2c_get_clientdata(client); local
193 struct cypress_sf_data *touchkey = i2c_get_clientdata(client); local
[all...]
H A Dmcs_touchkey.c97 struct mcs_touchkey_data *touchkey = data; local
99 touchkey->poweron(false);
H A DMakefile71 obj-$(CONFIG_KEYBOARD_TM2_TOUCHKEY) += tm2-touchkey.o

Completed in 141 milliseconds