Searched refs:touchkey (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | tm2-touchkey.c | 3 * TM2 touchkey device driver 25 #define TM2_TOUCHKEY_DEV_NAME "tm2-touchkey" 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 in tm2_touchkey_led_brightness_set() 110 tm2_touchkey_power_enable(struct tm2_touchkey_data *touchkey) tm2_touchkey_power_enable() argument 127 struct tm2_touchkey_data *touchkey = data; tm2_touchkey_power_disable() local 135 struct tm2_touchkey_data *touchkey = devid; tm2_touchkey_irq_handler() local 186 struct tm2_touchkey_data *touchkey; tm2_touchkey_probe() local 302 struct tm2_touchkey_data *touchkey = i2c_get_clientdata(client); tm2_touchkey_suspend() local 313 struct tm2_touchkey_data *touchkey = i2c_get_clientdata(client); tm2_touchkey_resume() local [all...] |
H A 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 in cypress_sf_irq_handler() 66 struct cypress_sf_data *touchkey = arg; cypress_sf_disable_regulators() local 74 struct cypress_sf_data *touchkey; cypress_sf_probe() local 174 struct cypress_sf_data *touchkey = i2c_get_clientdata(client); cypress_sf_suspend() local 193 struct cypress_sf_data *touchkey = i2c_get_clientdata(client); cypress_sf_resume() local [all...] |
H A D | mcs_touchkey.c | 97 struct mcs_touchkey_data *touchkey = data; in mcs_touchkey_poweroff() local 99 touchkey->poweron(false); in mcs_touchkey_poweroff()
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | tm2-touchkey.c | 3 * TM2 touchkey device driver 26 #define TM2_TOUCHKEY_DEV_NAME "tm2-touchkey" 89 struct tm2_touchkey_data *touchkey = in tm2_touchkey_led_brightness_set() local 96 data = touchkey->variant->cmd_led_off; in tm2_touchkey_led_brightness_set() 99 data = touchkey->variant->cmd_led_on; in tm2_touchkey_led_brightness_set() 102 if (!touchkey->variant->fixed_regulator) in tm2_touchkey_led_brightness_set() 103 regulator_set_voltage(touchkey->vdd, volt, volt); in tm2_touchkey_led_brightness_set() 105 return touchkey->variant->no_reg ? in tm2_touchkey_led_brightness_set() 106 i2c_smbus_write_byte(touchkey->client, data) : in tm2_touchkey_led_brightness_set() 107 i2c_smbus_write_byte_data(touchkey in tm2_touchkey_led_brightness_set() 111 tm2_touchkey_power_enable(struct tm2_touchkey_data *touchkey) tm2_touchkey_power_enable() argument 128 struct tm2_touchkey_data *touchkey = data; tm2_touchkey_power_disable() local 136 struct tm2_touchkey_data *touchkey = devid; tm2_touchkey_irq_handler() local 186 struct tm2_touchkey_data *touchkey; tm2_touchkey_probe() local 296 struct tm2_touchkey_data *touchkey = i2c_get_clientdata(client); tm2_touchkey_suspend() local 307 struct tm2_touchkey_data *touchkey = i2c_get_clientdata(client); tm2_touchkey_resume() local [all...] |
Completed in 2 milliseconds