Lines Matching refs:twl6040

50 	struct twl6040 *twl6040;  member
56 struct twl6040 *twl6040 = info->twl6040; in twl6040_vib_irq_handler() local
59 status = twl6040_reg_read(twl6040, TWL6040_REG_STATUS); in twl6040_vib_irq_handler()
62 twl6040_clear_bits(twl6040, TWL6040_REG_VIBCTLL, in twl6040_vib_irq_handler()
67 twl6040_clear_bits(twl6040, TWL6040_REG_VIBCTLR, in twl6040_vib_irq_handler()
76 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_enable() local
85 twl6040_power(info->twl6040, 1); in twl6040_vibra_enable()
86 if (twl6040_get_revid(twl6040) <= TWL6040_REV_ES1_1) { in twl6040_vibra_enable()
92 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLL, in twl6040_vibra_enable()
94 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLR, in twl6040_vibra_enable()
99 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLL, in twl6040_vibra_enable()
101 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLR, in twl6040_vibra_enable()
109 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_disable() local
111 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLL, 0x00); in twl6040_vibra_disable()
112 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLR, 0x00); in twl6040_vibra_disable()
113 twl6040_power(info->twl6040, 0); in twl6040_vibra_disable()
146 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_set_effect() local
162 twl6040_reg_write(twl6040, TWL6040_REG_VIBDATL, vibdatl); in twl6040_vibra_set_effect()
163 twl6040_reg_write(twl6040, TWL6040_REG_VIBDATR, vibdatr); in twl6040_vibra_set_effect()
173 ret = twl6040_get_vibralr_status(info->twl6040); in vibra_play_work()
253 info->twl6040 = dev_get_drvdata(pdev->dev.parent); in twl6040_vibra_probe()