Home
last modified time | relevance | path

Searched refs:haptic (Results 1 – 6 of 6) sorted by relevance

/drivers/input/misc/
A Dmax77693-haptic.c79 dev_err(haptic->dev, in max77693_haptic_set_duty_cycle()
141 dev_err(haptic->dev, in max77693_haptic_configure()
173 if (haptic->enabled) in max77693_haptic_enable()
182 dev_err(haptic->dev, in max77693_haptic_enable()
209 if (!haptic->enabled) in max77693_haptic_disable()
279 dev_err(haptic->dev, in max77693_haptic_open()
297 dev_err(haptic->dev, in max77693_haptic_close()
309 haptic = devm_kzalloc(&pdev->dev, sizeof(*haptic), GFP_KERNEL); in max77693_haptic_probe()
310 if (!haptic) in max77693_haptic_probe()
331 haptic->dev_type); in max77693_haptic_probe()
[all …]
A Dregulator-haptic.c41 if (haptic->active != on) { in regulator_haptic_toggle()
46 dev_err(haptic->dev, in regulator_haptic_toggle()
52 haptic->active = on; in regulator_haptic_toggle()
65 volt_mag_multi = (u64)(haptic->max_volt - haptic->min_volt) * magnitude; in regulator_haptic_set_voltage()
89 if (!haptic->suspended) in regulator_haptic_work()
90 regulator_haptic_set_voltage(haptic, haptic->magnitude); in regulator_haptic_work()
99 if (!haptic->magnitude) in regulator_haptic_play_effect()
149 haptic = devm_kzalloc(&pdev->dev, sizeof(*haptic), GFP_KERNEL); in regulator_haptic_probe()
150 if (!haptic) in regulator_haptic_probe()
154 haptic->dev = &pdev->dev; in regulator_haptic_probe()
[all …]
A DMakefile55 obj-$(CONFIG_INPUT_MAX77693_HAPTIC) += max77693-haptic.o
73 obj-$(CONFIG_INPUT_REGULATOR_HAPTIC) += regulator-haptic.o
A DKconfig155 haptic driver.
243 tristate "MAXIM MAX77693/MAX77705/MAX77843 haptic controller support"
247 This option enables support for the haptic controller on
251 module will be called max77693-haptic.
264 tristate "MAXIM MAX8997 haptic controller support"
268 This option enables device driver support for the haptic controller
273 module will be called max8997-haptic.
472 This option enables device driver support for the haptic controlled
477 module will be called regulator-haptic.
A Dmax8997_haptic.c261 chip->client = iodev->haptic; in max8997_haptic_probe()
/drivers/mfd/
A Dmax8997.c183 max8997->haptic = i2c_new_dummy_device(i2c->adapter, I2C_ADDR_HAPTIC); in max8997_i2c_probe()
184 if (IS_ERR(max8997->haptic)) { in max8997_i2c_probe()
186 ret = PTR_ERR(max8997->haptic); in max8997_i2c_probe()
189 i2c_set_clientdata(max8997->haptic, max8997); in max8997_i2c_probe()
225 i2c_unregister_device(max8997->haptic); in max8997_i2c_probe()

Completed in 19 milliseconds