Searched refs:cs35l45 (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/sound/soc/codecs/ |
D | cs35l45.c | 46 static int cs35l45_set_cspl_mbox_cmd(struct cs35l45_private *cs35l45, in cs35l45_set_cspl_mbox_cmd() argument 53 if (!cs35l45->dsp.cs_dsp.running) { in cs35l45_set_cspl_mbox_cmd() 54 dev_err(cs35l45->dev, "DSP not running\n"); in cs35l45_set_cspl_mbox_cmd() 62 dev_err(cs35l45->dev, "Failed to write MBOX: %d\n", ret); in cs35l45_set_cspl_mbox_cmd() 72 dev_err(cs35l45->dev, "Failed to read MBOX STS: %d\n", ret); in cs35l45_set_cspl_mbox_cmd() 77 dev_dbg(cs35l45->dev, "[%u] cmd %u returned invalid sts %u", i, cmd, sts); in cs35l45_set_cspl_mbox_cmd() 83 dev_err(cs35l45->dev, "Failed to set mailbox cmd %u (status %u)\n", cmd, sts); in cs35l45_set_cspl_mbox_cmd() 92 struct cs35l45_private *cs35l45 = snd_soc_component_get_drvdata(component); in cs35l45_global_en_ev() local 94 dev_dbg(cs35l45->dev, "%s event : %x\n", __func__, event); in cs35l45_global_en_ev() 98 regmap_write(cs35l45->regmap, CS35L45_GLOBAL_ENABLES, in cs35l45_global_en_ev() [all …]
|
D | cs35l45-i2c.c | 18 struct cs35l45_private *cs35l45; in cs35l45_i2c_probe() local 22 cs35l45 = devm_kzalloc(dev, sizeof(struct cs35l45_private), GFP_KERNEL); in cs35l45_i2c_probe() 23 if (!cs35l45) in cs35l45_i2c_probe() 26 i2c_set_clientdata(client, cs35l45); in cs35l45_i2c_probe() 27 cs35l45->regmap = devm_regmap_init_i2c(client, &cs35l45_i2c_regmap); in cs35l45_i2c_probe() 28 if (IS_ERR(cs35l45->regmap)) { in cs35l45_i2c_probe() 29 ret = PTR_ERR(cs35l45->regmap); in cs35l45_i2c_probe() 34 cs35l45->dev = dev; in cs35l45_i2c_probe() 35 cs35l45->irq = client->irq; in cs35l45_i2c_probe() 36 cs35l45->bus_type = CONTROL_BUS_I2C; in cs35l45_i2c_probe() [all …]
|
D | cs35l45-spi.c | 18 struct cs35l45_private *cs35l45; in cs35l45_spi_probe() local 22 cs35l45 = devm_kzalloc(dev, sizeof(struct cs35l45_private), GFP_KERNEL); in cs35l45_spi_probe() 23 if (cs35l45 == NULL) in cs35l45_spi_probe() 29 spi_set_drvdata(spi, cs35l45); in cs35l45_spi_probe() 30 cs35l45->regmap = devm_regmap_init_spi(spi, &cs35l45_spi_regmap); in cs35l45_spi_probe() 31 if (IS_ERR(cs35l45->regmap)) { in cs35l45_spi_probe() 32 ret = PTR_ERR(cs35l45->regmap); in cs35l45_spi_probe() 37 cs35l45->dev = dev; in cs35l45_spi_probe() 38 cs35l45->irq = spi->irq; in cs35l45_spi_probe() 39 cs35l45->bus_type = CONTROL_BUS_SPI; in cs35l45_spi_probe() [all …]
|
D | cs35l45.h | 509 int cs35l45_apply_patch(struct cs35l45_private *cs35l45); 511 int cs35l45_probe(struct cs35l45_private *cs35l45); 512 void cs35l45_remove(struct cs35l45_private *cs35l45);
|
D | cs35l45-tables.c | 36 int cs35l45_apply_patch(struct cs35l45_private *cs35l45) in cs35l45_apply_patch() argument 38 return regmap_register_patch(cs35l45->regmap, cs35l45_patch, in cs35l45_apply_patch()
|
D | Makefile | 74 snd-soc-cs35l45-y := cs35l45.o cs35l45-tables.o 75 snd-soc-cs35l45-spi-y := cs35l45-spi.o 76 snd-soc-cs35l45-i2c-y := cs35l45-i2c.o 481 obj-$(CONFIG_SND_SOC_CS35L45) += snd-soc-cs35l45.o 482 obj-$(CONFIG_SND_SOC_CS35L45_SPI) += snd-soc-cs35l45-spi.o 483 obj-$(CONFIG_SND_SOC_CS35L45_I2C) += snd-soc-cs35l45-i2c.o
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sm8550-sony-xperia-yodo-pdx234.dts | 12 #include <dt-bindings/sound/cs35l45.h> 560 compatible = "cirrus,cs35l45"; 573 compatible = "cirrus,cs35l45";
|