Home
last modified time | relevance | path

Searched refs:sigmadsp (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/sound/soc/codecs/
A Dsigmadsp.c118 static int sigmadsp_ctrl_write(struct sigmadsp *sigmadsp, in sigmadsp_ctrl_write() argument
123 return sigmadsp->ops->safeload(sigmadsp, ctrl->addr, data, in sigmadsp_ctrl_write()
134 struct sigmadsp *sigmadsp = snd_kcontrol_chip(kcontrol); in sigmadsp_ctrl_put() local
160 struct sigmadsp *sigmadsp = snd_kcontrol_chip(kcontrol); in sigmadsp_ctrl_get() local
202 static int sigma_fw_load_control(struct sigmadsp *sigmadsp, in sigma_fw_load_control() argument
260 static int sigma_fw_load_data(struct sigmadsp *sigmadsp, in sigma_fw_load_data() argument
318 static int sigmadsp_fw_load_v2(struct sigmadsp *sigmadsp, in sigmadsp_fw_load_v2() argument
580 struct sigmadsp *sigmadsp; in devm_sigmadsp_init() local
715 int sigmadsp_attach(struct sigmadsp *sigmadsp, in sigmadsp_attach() argument
792 void sigmadsp_reset(struct sigmadsp *sigmadsp) in sigmadsp_reset() argument
[all …]
A Dsigmadsp.h17 struct sigmadsp;
22 int (*safeload)(struct sigmadsp *sigmadsp, unsigned int addr,
26 struct sigmadsp { struct
45 struct sigmadsp *devm_sigmadsp_init(struct device *dev, argument
48 int sigmadsp_restrict_params(struct sigmadsp *sigmadsp,
53 struct sigmadsp *devm_sigmadsp_init_regmap(struct device *dev,
56 struct sigmadsp *devm_sigmadsp_init_i2c(struct i2c_client *client,
59 int sigmadsp_attach(struct sigmadsp *sigmadsp,
61 int sigmadsp_setup(struct sigmadsp *sigmadsp, unsigned int samplerate);
62 void sigmadsp_reset(struct sigmadsp *sigmadsp);
A Dsigmadsp-regmap.c39 struct sigmadsp *devm_sigmadsp_init_regmap(struct device *dev, in devm_sigmadsp_init_regmap()
43 struct sigmadsp *sigmadsp; in devm_sigmadsp_init_regmap() local
45 sigmadsp = devm_sigmadsp_init(dev, ops, firmware_name); in devm_sigmadsp_init_regmap()
46 if (IS_ERR(sigmadsp)) in devm_sigmadsp_init_regmap()
47 return sigmadsp; in devm_sigmadsp_init_regmap()
49 sigmadsp->control_data = regmap; in devm_sigmadsp_init_regmap()
50 sigmadsp->write = sigmadsp_write_regmap; in devm_sigmadsp_init_regmap()
51 sigmadsp->read = sigmadsp_read_regmap; in devm_sigmadsp_init_regmap()
53 return sigmadsp; in devm_sigmadsp_init_regmap()
A Dsigmadsp-i2c.c77 struct sigmadsp *devm_sigmadsp_init_i2c(struct i2c_client *client, in devm_sigmadsp_init_i2c()
80 struct sigmadsp *sigmadsp; in devm_sigmadsp_init_i2c() local
82 sigmadsp = devm_sigmadsp_init(&client->dev, ops, firmware_name); in devm_sigmadsp_init_i2c()
83 if (IS_ERR(sigmadsp)) in devm_sigmadsp_init_i2c()
84 return sigmadsp; in devm_sigmadsp_init_i2c()
86 sigmadsp->control_data = client; in devm_sigmadsp_init_i2c()
87 sigmadsp->write = sigmadsp_write_i2c; in devm_sigmadsp_init_i2c()
88 sigmadsp->read = sigmadsp_read_i2c; in devm_sigmadsp_init_i2c()
90 return sigmadsp; in devm_sigmadsp_init_i2c()
A Dadau17x1.c535 if (adau->sigmadsp) { in adau17x1_hw_params()
773 if (adau->sigmadsp) in adau17x1_startup()
892 if (adau->sigmadsp->current_samplerate == rate) in adau17x1_setup_firmware()
909 ret = sigmadsp_setup(adau->sigmadsp, rate); in adau17x1_setup_firmware()
944 if (!adau->sigmadsp) in adau17x1_add_widgets()
998 static int adau17x1_safeload(struct sigmadsp *sigmadsp, unsigned int addr, in adau17x1_safeload() argument
1029 ret = regmap_raw_write(sigmadsp->control_data, in adau17x1_safeload()
1036 ret = regmap_raw_write(sigmadsp->control_data, in adau17x1_safeload()
1100 if (IS_ERR(adau->sigmadsp)) { in adau17x1_probe()
1102 PTR_ERR(adau->sigmadsp)); in adau17x1_probe()
[all …]
A Dadau1701.c118 struct sigmadsp *sigmadsp; member
256 static int adau1701_safeload(struct sigmadsp *sigmadsp, unsigned int addr, in adau1701_safeload() argument
259 struct i2c_client *client = to_i2c_client(sigmadsp->dev); in adau1701_safeload()
307 sigmadsp_reset(adau1701->sigmadsp); in adau1701_reset()
350 ret = sigmadsp_setup(adau1701->sigmadsp, rate); in adau1701_reset()
624 return sigmadsp_restrict_params(adau1701->sigmadsp, substream); in adau1701_startup()
675 ret = sigmadsp_attach(adau1701->sigmadsp, component); in adau1701_probe()
848 adau1701->sigmadsp = devm_sigmadsp_init_i2c(client, in adau1701_i2c_probe()
850 if (IS_ERR(adau1701->sigmadsp)) { in adau1701_i2c_probe()
851 ret = PTR_ERR(adau1701->sigmadsp); in adau1701_i2c_probe()
A Dadau17x1.h54 struct sigmadsp *sigmadsp; member
A DMakefile238 snd-soc-sigmadsp-objs := sigmadsp.o
239 snd-soc-sigmadsp-i2c-objs := sigmadsp-i2c.o
240 snd-soc-sigmadsp-regmap-objs := sigmadsp-regmap.o
599 obj-$(CONFIG_SND_SOC_SIGMADSP) += snd-soc-sigmadsp.o
600 obj-$(CONFIG_SND_SOC_SIGMADSP_I2C) += snd-soc-sigmadsp-i2c.o
601 obj-$(CONFIG_SND_SOC_SIGMADSP_REGMAP) += snd-soc-sigmadsp-regmap.o
/linux-6.3-rc2/
A DMAINTAINERS1390 F: sound/soc/codecs/sigmadsp.*

Completed in 36 milliseconds