Home
last modified time | relevance | path

Searched refs:cs530x (Results 1 – 4 of 4) sorted by relevance

/linux/sound/soc/codecs/
H A Dcs530x.c111 struct cs530x_priv *cs530x = snd_soc_component_get_drvdata(component); in cs530x_put_volsw_vu() local
112 struct regmap *regmap = cs530x->regmap; in cs530x_put_volsw_vu()
230 struct cs530x_priv *cs530x = snd_soc_component_get_drvdata(component); in cs530x_adc_event() local
231 struct regmap *regmap = cs530x->regmap; in cs530x_adc_event()
235 cs530x->adc_pairs_count++; in cs530x_adc_event()
243 cs530x->adc_pairs_count--; in cs530x_adc_event()
244 if (!cs530x->adc_pairs_count) { in cs530x_adc_event()
420 struct cs530x_priv *cs530x = snd_soc_component_get_drvdata(component); in cs530x_set_bclk() local
421 struct regmap *regmap = cs530x->regmap; in cs530x_set_bclk()
490 struct cs530x_priv *cs530x = snd_soc_component_get_drvdata(component); in cs530x_hw_params() local
[all …]
H A Dcs530x-i2c.c40 struct cs530x_priv *cs530x; in cs530x_i2c_probe() local
42 cs530x = devm_kzalloc(&client->dev, sizeof(*cs530x), GFP_KERNEL); in cs530x_i2c_probe()
43 if (!cs530x) in cs530x_i2c_probe()
46 i2c_set_clientdata(client, cs530x); in cs530x_i2c_probe()
48 cs530x->regmap = devm_regmap_init_i2c(client, &cs530x_regmap); in cs530x_i2c_probe()
49 if (IS_ERR(cs530x->regmap)) in cs530x_i2c_probe()
50 return dev_err_probe(&client->dev, PTR_ERR(cs530x->regmap), in cs530x_i2c_probe()
53 cs530x->devtype = (uintptr_t)i2c_get_match_data(client); in cs530x_i2c_probe()
54 cs530x->dev = &client->dev; in cs530x_i2c_probe()
56 return cs530x_probe(cs530x); in cs530x_i2c_probe()
H A Dcs530x.h221 int cs530x_probe(struct cs530x_priv *cs530x);
H A DMakefile112 snd-soc-cs530x-y := cs530x.o
113 snd-soc-cs530x-i2c-y := cs530x-i2c.o
519 obj-$(CONFIG_SND_SOC_CS530X) += snd-soc-cs530x.o
520 obj-$(CONFIG_SND_SOC_CS530X_I2C) += snd-soc-cs530x-i2c.o