Lines Matching refs:twl6040

65 	struct twl6040 *twl6040;  member
71 struct twl6040 *twl6040 = info->twl6040; in twl6040_vib_irq_handler() local
74 status = twl6040_reg_read(twl6040, TWL6040_REG_STATUS); in twl6040_vib_irq_handler()
77 twl6040_clear_bits(twl6040, TWL6040_REG_VIBCTLL, in twl6040_vib_irq_handler()
82 twl6040_clear_bits(twl6040, TWL6040_REG_VIBCTLR, in twl6040_vib_irq_handler()
91 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_enable() local
100 twl6040_power(info->twl6040, 1); in twl6040_vibra_enable()
101 if (twl6040_get_revid(twl6040) <= TWL6040_REV_ES1_1) { in twl6040_vibra_enable()
107 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLL, in twl6040_vibra_enable()
109 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLR, in twl6040_vibra_enable()
114 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLL, in twl6040_vibra_enable()
116 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLR, in twl6040_vibra_enable()
124 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_disable() local
126 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLL, 0x00); in twl6040_vibra_disable()
127 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLR, 0x00); in twl6040_vibra_disable()
128 twl6040_power(info->twl6040, 0); in twl6040_vibra_disable()
161 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_set_effect() local
177 twl6040_reg_write(twl6040, TWL6040_REG_VIBDATL, vibdatl); in twl6040_vibra_set_effect()
178 twl6040_reg_write(twl6040, TWL6040_REG_VIBDATR, vibdatr); in twl6040_vibra_set_effect()
206 ret = twl6040_get_vibralr_status(info->twl6040); in vibra_play()
281 info->twl6040 = dev_get_drvdata(pdev->dev.parent); in twl6040_vibra_probe()