Searched refs:tfa9879 (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/sound/soc/codecs/
H A Dtfa9879.c2 * tfa9879.c -- driver for NXP Semiconductors TFA9879
22 #include "tfa9879.h"
34 struct tfa9879_priv *tfa9879 = snd_soc_codec_get_drvdata(codec); tfa9879_hw_params() local
90 if (tfa9879->lsb_justified) tfa9879_hw_params()
115 struct tfa9879_priv *tfa9879 = snd_soc_codec_get_drvdata(codec); tfa9879_set_fmt() local
139 tfa9879->lsb_justified = 0; tfa9879_set_fmt()
143 tfa9879->lsb_justified = 0; tfa9879_set_fmt()
147 tfa9879->lsb_justified = 1; tfa9879_set_fmt()
266 .name = "tfa9879-hifi",
279 struct tfa9879_priv *tfa9879; tfa9879_i2c_probe() local
282 tfa9879 = devm_kzalloc(&i2c->dev, sizeof(*tfa9879), GFP_KERNEL); tfa9879_i2c_probe()
283 if (!tfa9879) tfa9879_i2c_probe()
286 i2c_set_clientdata(i2c, tfa9879); tfa9879_i2c_probe()
288 tfa9879->regmap = devm_regmap_init_i2c(i2c, &tfa9879_regmap); tfa9879_i2c_probe()
289 if (IS_ERR(tfa9879->regmap)) tfa9879_i2c_probe()
290 return PTR_ERR(tfa9879->regmap); tfa9879_i2c_probe()
294 regmap_write(tfa9879->regmap, tfa9879_i2c_probe()
309 { "tfa9879", 0 },
316 .name = "tfa9879",
H A Dtfa9879.h2 * tfa9879.h -- driver for NXP Semiconductors TFA9879
H A DMakefile118 snd-soc-tfa9879-objs := tfa9879.o
310 obj-$(CONFIG_SND_SOC_TFA9879) += snd-soc-tfa9879.o

Completed in 248 milliseconds