Searched refs:ihid_elan (Results 1 – 1 of 1) sorted by relevance
40 struct i2c_hid_of_elan *ihid_elan = in elan_i2c_hid_power_up() local44 gpiod_set_value_cansleep(ihid_elan->reset_gpio, 1); in elan_i2c_hid_power_up()46 if (ihid_elan->vcc33) { in elan_i2c_hid_power_up()47 ret = regulator_enable(ihid_elan->vcc33); in elan_i2c_hid_power_up()52 ret = regulator_enable(ihid_elan->vccio); in elan_i2c_hid_power_up()56 if (ihid_elan->chip_data->post_power_delay_ms) in elan_i2c_hid_power_up()57 msleep(ihid_elan->chip_data->post_power_delay_ms); in elan_i2c_hid_power_up()59 gpiod_set_value_cansleep(ihid_elan->reset_gpio, 0); in elan_i2c_hid_power_up()60 if (ihid_elan->chip_data->post_gpio_reset_on_delay_ms) in elan_i2c_hid_power_up()61 msleep(ihid_elan->chip_data->post_gpio_reset_on_delay_ms); in elan_i2c_hid_power_up()[all …]