Searched refs:sigmadsp (Results 1 – 9 of 9) sorted by relevance
/linux-5.19.10/sound/soc/codecs/ |
D | sigmadsp.c | 95 static int sigmadsp_write(struct sigmadsp *sigmadsp, unsigned int addr, in sigmadsp_write() argument 98 return sigmadsp->write(sigmadsp->control_data, addr, data, len); in sigmadsp_write() 101 static int sigmadsp_read(struct sigmadsp *sigmadsp, unsigned int addr, in sigmadsp_read() argument 104 return sigmadsp->read(sigmadsp->control_data, addr, data, len); in sigmadsp_read() 118 static int sigmadsp_ctrl_write(struct sigmadsp *sigmadsp, in sigmadsp_ctrl_write() argument 122 if (ctrl->num_bytes <= 20 && sigmadsp->ops && sigmadsp->ops->safeload) in sigmadsp_ctrl_write() 123 return sigmadsp->ops->safeload(sigmadsp, ctrl->addr, data, in sigmadsp_ctrl_write() 126 return sigmadsp_write(sigmadsp, ctrl->addr, data, in sigmadsp_ctrl_write() 134 struct sigmadsp *sigmadsp = snd_kcontrol_chip(kcontrol); in sigmadsp_ctrl_put() local 138 mutex_lock(&sigmadsp->lock); in sigmadsp_ctrl_put() [all …]
|
D | sigmadsp.h | 17 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);
|
D | sigmadsp-regmap.c | 39 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()
|
D | sigmadsp-i2c.c | 77 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()
|
D | adau17x1.c | 536 if (adau->sigmadsp) { in adau17x1_hw_params() 774 if (adau->sigmadsp) in adau17x1_startup() 775 return sigmadsp_restrict_params(adau->sigmadsp, substream); in adau17x1_startup() 893 if (adau->sigmadsp->current_samplerate == rate) in adau17x1_setup_firmware() 910 ret = sigmadsp_setup(adau->sigmadsp, rate); in adau17x1_setup_firmware() 945 if (!adau->sigmadsp) in adau17x1_add_widgets() 948 ret = sigmadsp_attach(adau->sigmadsp, component); in adau17x1_add_widgets() 999 static int adau17x1_safeload(struct sigmadsp *sigmadsp, unsigned int addr, in adau17x1_safeload() argument 1013 ret = regmap_raw_write(sigmadsp->control_data, in adau17x1_safeload() 1019 ret = regmap_raw_write(sigmadsp->control_data, in adau17x1_safeload() [all …]
|
D | adau1701.c | 118 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() 849 adau1701->sigmadsp = devm_sigmadsp_init_i2c(client, in adau1701_i2c_probe() 851 if (IS_ERR(adau1701->sigmadsp)) { in adau1701_i2c_probe() 852 ret = PTR_ERR(adau1701->sigmadsp); in adau1701_i2c_probe()
|
D | adau17x1.h | 54 struct sigmadsp *sigmadsp; member
|
D | Makefile | 227 snd-soc-sigmadsp-objs := sigmadsp.o 228 snd-soc-sigmadsp-i2c-objs := sigmadsp-i2c.o 229 snd-soc-sigmadsp-regmap-objs := sigmadsp-regmap.o 573 obj-$(CONFIG_SND_SOC_SIGMADSP) += snd-soc-sigmadsp.o 574 obj-$(CONFIG_SND_SOC_SIGMADSP_I2C) += snd-soc-sigmadsp-i2c.o 575 obj-$(CONFIG_SND_SOC_SIGMADSP_REGMAP) += snd-soc-sigmadsp-regmap.o
|
/linux-5.19.10/ |
D | MAINTAINERS | 1288 F: sound/soc/codecs/sigmadsp.*
|