/linux-6.12.1/sound/pci/hda/ |
D | cs35l41_hda.c | 140 static int cs35l41_request_tuning_param_file(struct cs35l41_hda *cs35l41, char *tuning_filename, in cs35l41_request_tuning_param_file() argument 151 ret = firmware_request_nowarn(firmware, *filename, cs35l41->dev); in cs35l41_request_tuning_param_file() 153 dev_dbg(cs35l41->dev, "Failed to request '%s'\n", *filename); in cs35l41_request_tuning_param_file() 161 static int cs35l41_request_firmware_file(struct cs35l41_hda *cs35l41, in cs35l41_request_firmware_file() argument 166 const char * const dsp_name = cs35l41->cs_dsp.name; in cs35l41_request_firmware_file() 172 dsp_name, hda_cs_dsp_fw_ids[cs35l41->firmware_type], in cs35l41_request_firmware_file() 176 dsp_name, hda_cs_dsp_fw_ids[cs35l41->firmware_type], in cs35l41_request_firmware_file() 180 dsp_name, hda_cs_dsp_fw_ids[cs35l41->firmware_type], in cs35l41_request_firmware_file() 184 dsp_name, hda_cs_dsp_fw_ids[cs35l41->firmware_type], in cs35l41_request_firmware_file() 188 dsp_name, hda_cs_dsp_fw_ids[cs35l41->firmware_type], in cs35l41_request_firmware_file() [all …]
|
D | cs35l41_hda_property.c | 138 static int cs35l41_add_gpios(struct cs35l41_hda *cs35l41, struct device *physdev, int reset_gpio, in cs35l41_add_gpios() argument 152 if (cs35l41->dacpi->driver_gpios) in cs35l41_add_gpios() 232 static int generic_dsd_config(struct cs35l41_hda *cs35l41, struct device *physdev, int id, in generic_dsd_config() argument 235 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in generic_dsd_config() 244 if (!strcasecmp(cfg->ssid, cs35l41->acpi_subsystem_id)) in generic_dsd_config() 251 if (!cs35l41->dacpi || cs35l41->dacpi != ACPI_COMPANION(physdev)) { in generic_dsd_config() 252 dev_err(cs35l41->dev, "ACPI Device does not match, cannot override _DSD.\n"); in generic_dsd_config() 256 dev_info(cs35l41->dev, "Adding DSD properties for %s\n", cs35l41->acpi_subsystem_id); in generic_dsd_config() 258 dsd_found = acpi_dev_has_props(cs35l41->dacpi); in generic_dsd_config() 261 ret = cs35l41_add_gpios(cs35l41, physdev, cfg->reset_gpio_index, in generic_dsd_config() [all …]
|
D | Makefile | 34 snd-hda-scodec-cs35l41-y := cs35l41_hda.o cs35l41_hda_property.o 35 snd-hda-scodec-cs35l41-i2c-y := cs35l41_hda_i2c.o 36 snd-hda-scodec-cs35l41-spi-y := cs35l41_hda_spi.o 66 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41) += snd-hda-scodec-cs35l41.o 67 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_I2C) += snd-hda-scodec-cs35l41-i2c.o 68 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_SPI) += snd-hda-scodec-cs35l41-spi.o
|
D | cs35l41_hda_property.h | 16 int cs35l41_add_dsd_properties(struct cs35l41_hda *cs35l41, struct device *physdev, int id,
|
D | cs35l41_hda.h | 107 int cs35l41_hda_parse_acpi(struct cs35l41_hda *cs35l41, struct device *physdev, int id);
|
/linux-6.12.1/sound/soc/codecs/ |
D | cs35l41.c | 187 struct cs35l41_private *cs35l41 = snd_soc_component_get_drvdata(component); in cs35l41_dsp_preload_ev() local 192 if (cs35l41->dsp.cs_dsp.booted) in cs35l41_dsp_preload_ev() 197 if (cs35l41->dsp.preloaded) in cs35l41_dsp_preload_ev() 200 if (cs35l41->dsp.cs_dsp.running) { in cs35l41_dsp_preload_ev() 216 struct cs35l41_private *cs35l41 = snd_soc_component_get_drvdata(component); in cs35l41_dsp_audio_ev() local 222 if (!cs35l41->dsp.cs_dsp.running) in cs35l41_dsp_audio_ev() 225 ret = regmap_read(cs35l41->regmap, CS35L41_DSP_MBOX_2, &fw_status); in cs35l41_dsp_audio_ev() 227 dev_err(cs35l41->dev, in cs35l41_dsp_audio_ev() 237 dev_err(cs35l41->dev, "Firmware status is invalid: %u\n", in cs35l41_dsp_audio_ev() 242 return cs35l41_set_cspl_mbox_cmd(cs35l41->dev, cs35l41->regmap, in cs35l41_dsp_audio_ev() [all …]
|
D | cs35l41-i2c.c | 34 struct cs35l41_private *cs35l41; in cs35l41_i2c_probe() local 39 cs35l41 = devm_kzalloc(dev, sizeof(struct cs35l41_private), GFP_KERNEL); in cs35l41_i2c_probe() 41 if (!cs35l41) in cs35l41_i2c_probe() 44 cs35l41->dev = dev; in cs35l41_i2c_probe() 45 cs35l41->irq = client->irq; in cs35l41_i2c_probe() 47 i2c_set_clientdata(client, cs35l41); in cs35l41_i2c_probe() 48 cs35l41->regmap = devm_regmap_init_i2c(client, regmap_config); in cs35l41_i2c_probe() 49 if (IS_ERR(cs35l41->regmap)) in cs35l41_i2c_probe() 50 return dev_err_probe(cs35l41->dev, PTR_ERR(cs35l41->regmap), in cs35l41_i2c_probe() 53 return cs35l41_probe(cs35l41, hw_cfg); in cs35l41_i2c_probe() [all …]
|
D | cs35l41-spi.c | 34 struct cs35l41_private *cs35l41; in cs35l41_spi_probe() local 36 cs35l41 = devm_kzalloc(&spi->dev, sizeof(struct cs35l41_private), GFP_KERNEL); in cs35l41_spi_probe() 37 if (!cs35l41) in cs35l41_spi_probe() 43 spi_set_drvdata(spi, cs35l41); in cs35l41_spi_probe() 44 cs35l41->regmap = devm_regmap_init_spi(spi, regmap_config); in cs35l41_spi_probe() 45 if (IS_ERR(cs35l41->regmap)) in cs35l41_spi_probe() 46 return dev_err_probe(cs35l41->dev, PTR_ERR(cs35l41->regmap), in cs35l41_spi_probe() 49 cs35l41->dev = &spi->dev; in cs35l41_spi_probe() 50 cs35l41->irq = spi->irq; in cs35l41_spi_probe() 52 return cs35l41_probe(cs35l41, hw_cfg); in cs35l41_spi_probe() [all …]
|
D | cs35l41.h | 38 int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg *hw_cfg); 39 void cs35l41_remove(struct cs35l41_private *cs35l41);
|
D | Makefile | 70 snd-soc-cs35l41-lib-y := cs35l41-lib.o 71 snd-soc-cs35l41-y := cs35l41.o 72 snd-soc-cs35l41-spi-y := cs35l41-spi.o 73 snd-soc-cs35l41-i2c-y := cs35l41-i2c.o 477 obj-$(CONFIG_SND_SOC_CS35L41) += snd-soc-cs35l41.o 478 obj-$(CONFIG_SND_SOC_CS35L41_LIB) += snd-soc-cs35l41-lib.o 479 obj-$(CONFIG_SND_SOC_CS35L41_SPI) += snd-soc-cs35l41-spi.o 480 obj-$(CONFIG_SND_SOC_CS35L41_I2C) += snd-soc-cs35l41-i2c.o
|
/linux-6.12.1/sound/soc/amd/vangogh/ |
D | acp5x-mach.c | 267 SND_SOC_DAILINK_DEF(cs35l41, DAILINK_COMP_ARRAY(COMP_CODEC(ACP5X_CS35L41_COMP_LNAME, 294 SND_SOC_DAILINK_REG(acp5x_bt, cs35l41, platform),
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sm8250-sony-xperia-edo.dtsi | 478 compatible = "cirrus,cs35l41"; 493 compatible = "cirrus,cs35l41";
|
D | sm8450-sony-xperia-nagara.dtsi | 570 compatible = "cirrus,cs35l41"; 585 compatible = "cirrus,cs35l41";
|
D | sm8350-sony-xperia-sagami.dtsi | 495 compatible = "cirrus,cs35l41"; 510 compatible = "cirrus,cs35l41";
|