Lines Matching defs:twl6040
15 #include <linux/mfd/twl6040.h>
25 #include "twl6040.h"
100 struct twl6040 *twl6040 = to_twl6040(component);
115 value = twl6040_reg_read(twl6040, reg);
162 struct twl6040 *twl6040 = to_twl6040(component);
169 return twl6040_reg_write(twl6040, reg, value);
563 struct twl6040 *twl6040 = to_twl6040(component);
565 if (twl6040_get_revid(twl6040) < TWL6040_REV_ES1_3)
821 struct twl6040 *twl6040 = to_twl6040(component);
833 ret = twl6040_set_pll(twl6040, TWL6040_SYSCLK_SEL_LPPLL,
838 ret = twl6040_power(twl6040, 1);
851 twl6040_power(twl6040, 0);
913 struct twl6040 *twl6040 = to_twl6040(component);
923 ret = twl6040_set_pll(twl6040, priv->pll, priv->clk_in, priv->sysclk);
955 struct twl6040 *twl6040 = to_twl6040(component);
974 twl6040_reg_write(twl6040, TWL6040_REG_EARCTL, earctl);
975 twl6040_reg_write(twl6040, TWL6040_REG_HSLCTL, hslctl);
976 twl6040_reg_write(twl6040, TWL6040_REG_HSRCTL, hsrctl);
991 twl6040_reg_write(twl6040, TWL6040_REG_HFLCTL, hflctl);
992 twl6040_reg_write(twl6040, TWL6040_REG_HFRCTL, hfrctl);
1029 .name = "twl6040-legacy",
1048 .name = "twl6040-ul",
1060 .name = "twl6040-dl1",
1072 .name = "twl6040-dl2",
1084 .name = "twl6040-vib",
1167 .name = "twl6040-codec",