Lines Matching refs:tfa9879
28 struct tfa9879_priv *tfa9879 = snd_soc_component_get_drvdata(component); in tfa9879_hw_params() local
84 if (tfa9879->lsb_justified) in tfa9879_hw_params()
110 struct tfa9879_priv *tfa9879 = snd_soc_component_get_drvdata(component); in tfa9879_set_fmt() local
134 tfa9879->lsb_justified = 0; in tfa9879_set_fmt()
138 tfa9879->lsb_justified = 0; in tfa9879_set_fmt()
142 tfa9879->lsb_justified = 1; in tfa9879_set_fmt()
277 struct tfa9879_priv *tfa9879; in tfa9879_i2c_probe() local
280 tfa9879 = devm_kzalloc(&i2c->dev, sizeof(*tfa9879), GFP_KERNEL); in tfa9879_i2c_probe()
281 if (!tfa9879) in tfa9879_i2c_probe()
284 i2c_set_clientdata(i2c, tfa9879); in tfa9879_i2c_probe()
286 tfa9879->regmap = devm_regmap_init_i2c(i2c, &tfa9879_regmap); in tfa9879_i2c_probe()
287 if (IS_ERR(tfa9879->regmap)) in tfa9879_i2c_probe()
288 return PTR_ERR(tfa9879->regmap); in tfa9879_i2c_probe()
292 regmap_write(tfa9879->regmap, in tfa9879_i2c_probe()