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