/Linux-v6.6/sound/pci/hda/ |
D | cs35l41_hda.c | 101 static void cs35l41_add_controls(struct cs35l41_hda *cs35l41) in cs35l41_add_controls() argument 105 info.device_name = cs35l41->amp_name; in cs35l41_add_controls() 106 info.fw_type = cs35l41->firmware_type; in cs35l41_add_controls() 107 info.card = cs35l41->codec->card; in cs35l41_add_controls() 109 hda_cs_dsp_add_controls(&cs35l41->cs_dsp, &info); in cs35l41_add_controls() 116 static int cs35l41_request_firmware_file(struct cs35l41_hda *cs35l41, in cs35l41_request_firmware_file() argument 121 const char * const dsp_name = cs35l41->cs_dsp.name; in cs35l41_request_firmware_file() 127 dsp_name, hda_cs_dsp_fw_ids[cs35l41->firmware_type], in cs35l41_request_firmware_file() 131 dsp_name, hda_cs_dsp_fw_ids[cs35l41->firmware_type], in cs35l41_request_firmware_file() 135 dsp_name, hda_cs_dsp_fw_ids[cs35l41->firmware_type], in cs35l41_request_firmware_file() [all …]
|
D | cs35l41_hda_property.c | 20 static int lenovo_legion_no_acpi(struct cs35l41_hda *cs35l41, struct device *physdev, int id, in lenovo_legion_no_acpi() argument 23 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in lenovo_legion_no_acpi() 26 cs35l41->index = id == 0x40 ? 0 : 1; in lenovo_legion_no_acpi() 27 cs35l41->channel_index = 0; in lenovo_legion_no_acpi() 28 cs35l41->reset_gpio = gpiod_get_index(physdev, NULL, 0, GPIOD_OUT_HIGH); in lenovo_legion_no_acpi() 29 cs35l41->speaker_id = cs35l41_get_speaker_id(physdev, 0, 0, 2); in lenovo_legion_no_acpi() 30 hw_cfg->spk_pos = cs35l41->index; in lenovo_legion_no_acpi() 52 static int hp_vision_acpi_fix(struct cs35l41_hda *cs35l41, struct device *physdev, int id, in hp_vision_acpi_fix() argument 55 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in hp_vision_acpi_fix() 57 dev_info(cs35l41->dev, "Adding DSD properties for %s\n", cs35l41->acpi_subsystem_id); in hp_vision_acpi_fix() [all …]
|
D | Makefile | 31 snd-hda-scodec-cs35l41-objs := cs35l41_hda.o cs35l41_hda_property.o 32 snd-hda-scodec-cs35l41-i2c-objs := cs35l41_hda_i2c.o 33 snd-hda-scodec-cs35l41-spi-objs := cs35l41_hda_spi.o 59 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41) += snd-hda-scodec-cs35l41.o 60 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_I2C) += snd-hda-scodec-cs35l41-i2c.o 61 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,
|
/Linux-v6.6/sound/soc/codecs/ |
D | cs35l41.c | 188 struct cs35l41_private *cs35l41 = snd_soc_component_get_drvdata(component); in cs35l41_dsp_preload_ev() local 193 if (cs35l41->dsp.cs_dsp.booted) in cs35l41_dsp_preload_ev() 198 if (cs35l41->dsp.preloaded) in cs35l41_dsp_preload_ev() 201 if (cs35l41->dsp.cs_dsp.running) { in cs35l41_dsp_preload_ev() 217 struct cs35l41_private *cs35l41 = snd_soc_component_get_drvdata(component); in cs35l41_dsp_audio_ev() local 223 if (!cs35l41->dsp.cs_dsp.running) in cs35l41_dsp_audio_ev() 226 ret = regmap_read(cs35l41->regmap, CS35L41_DSP_MBOX_2, &fw_status); in cs35l41_dsp_audio_ev() 228 dev_err(cs35l41->dev, in cs35l41_dsp_audio_ev() 238 dev_err(cs35l41->dev, "Firmware status is invalid: %u\n", in cs35l41_dsp_audio_ev() 243 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 40 cs35l41 = devm_kzalloc(dev, sizeof(struct cs35l41_private), GFP_KERNEL); in cs35l41_i2c_probe() 42 if (!cs35l41) in cs35l41_i2c_probe() 45 cs35l41->dev = dev; in cs35l41_i2c_probe() 46 cs35l41->irq = client->irq; in cs35l41_i2c_probe() 48 i2c_set_clientdata(client, cs35l41); in cs35l41_i2c_probe() 49 cs35l41->regmap = devm_regmap_init_i2c(client, regmap_config); in cs35l41_i2c_probe() 50 if (IS_ERR(cs35l41->regmap)) { in cs35l41_i2c_probe() 51 ret = PTR_ERR(cs35l41->regmap); in cs35l41_i2c_probe() 52 dev_err(cs35l41->dev, "Failed to allocate register map: %d\n", ret); in cs35l41_i2c_probe() [all …]
|
D | cs35l41-spi.c | 34 struct cs35l41_private *cs35l41; in cs35l41_spi_probe() local 37 cs35l41 = devm_kzalloc(&spi->dev, sizeof(struct cs35l41_private), GFP_KERNEL); in cs35l41_spi_probe() 38 if (!cs35l41) in cs35l41_spi_probe() 44 spi_set_drvdata(spi, cs35l41); in cs35l41_spi_probe() 45 cs35l41->regmap = devm_regmap_init_spi(spi, regmap_config); in cs35l41_spi_probe() 46 if (IS_ERR(cs35l41->regmap)) { in cs35l41_spi_probe() 47 ret = PTR_ERR(cs35l41->regmap); in cs35l41_spi_probe() 52 cs35l41->dev = &spi->dev; in cs35l41_spi_probe() 53 cs35l41->irq = spi->irq; in cs35l41_spi_probe() 55 return cs35l41_probe(cs35l41, hw_cfg); in cs35l41_spi_probe() [all …]
|
D | cs35l41.h | 39 int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg *hw_cfg); 40 void cs35l41_remove(struct cs35l41_private *cs35l41);
|
D | Makefile | 65 snd-soc-cs35l41-lib-objs := cs35l41-lib.o 66 snd-soc-cs35l41-objs := cs35l41.o 67 snd-soc-cs35l41-spi-objs := cs35l41-spi.o 68 snd-soc-cs35l41-i2c-objs := cs35l41-i2c.o 451 obj-$(CONFIG_SND_SOC_CS35L41) += snd-soc-cs35l41.o 452 obj-$(CONFIG_SND_SOC_CS35L41_LIB) += snd-soc-cs35l41-lib.o 453 obj-$(CONFIG_SND_SOC_CS35L41_SPI) += snd-soc-cs35l41-spi.o 454 obj-$(CONFIG_SND_SOC_CS35L41_I2C) += snd-soc-cs35l41-i2c.o
|
/Linux-v6.6/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-v6.6/arch/arm64/boot/dts/qcom/ |
D | sm8250-sony-xperia-edo.dtsi | 473 compatible = "cirrus,cs35l41"; 488 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";
|