Home
last modified time | relevance | path

Searched full:cs35l41 (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v6.6/sound/pci/hda/
Dcs35l41_hda.c3 // CS35l41 ALSA HDA audio driver
25 #define CS35L41_PART "cs35l41"
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()
[all …]
Dcs35l41_hda_property.c3 // CS35L41 ALSA HDA Property driver
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()
[all …]
DMakefile31 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
Dcs35l41_hda_spi.c3 // CS35l41 HDA SPI driver
38 { "cs35l41-hda", 0 },
50 .name = "cs35l41-hda",
60 MODULE_DESCRIPTION("HDA CS35L41 driver");
Dcs35l41_hda_i2c.c3 // CS35l41 HDA I2C driver
42 { "cs35l41-hda", 0 },
56 .name = "cs35l41-hda",
66 MODULE_DESCRIPTION("HDA CS35L41 driver");
Dcs35l41_hda_property.h3 * CS35L41 ALSA HDA Property driver
16 int cs35l41_add_dsd_properties(struct cs35l41_hda *cs35l41, struct device *physdev, int id,
Dcs35l41_hda.h3 * CS35L41 ALSA HDA audio driver
17 #include <sound/cs35l41.h>
DKconfig104 tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
113 Say Y or M here to include CS35L41 I2C HD-audio side codec support
120 tristate "Build CS35L41 HD-audio codec support for SPI Bus"
129 Say Y or M here to include CS35L41 SPI HD-audio side codec support
/Linux-v6.6/sound/soc/codecs/
Dcs35l41.c3 // cs35l41.c -- CS35l41 ALSA SoC audio driver
26 #include "cs35l41.h"
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()
[all …]
Dcs35l41-i2c.c3 // cs35l41-i2c.c -- CS35l41 I2C driver
20 #include "cs35l41.h"
24 { "cs35l41", 0 },
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()
[all …]
Dcs35l41-spi.c3 // cs35l41-spi.c -- CS35l41 SPI driver
18 #include "cs35l41.h"
22 { "cs35l41", 0 },
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()
[all …]
Dcs35l41.h3 * cs35l41.h -- CS35L41 ALSA SoC audio driver
17 #include <sound/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);
DMakefile65 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
Dcs35l41-lib.c3 // cs35l41-lib.c -- CS35L41 Common functions for HDA and ASoC Audio drivers
17 #include <sound/cs35l41.h>
1567 MODULE_DESCRIPTION("CS35L41 library");
/Linux-v6.6/Documentation/devicetree/bindings/sound/
Dcirrus,cs35l41.yaml4 $id: http://devicetree.org/schemas/sound/cirrus,cs35l41.yaml#
7 title: Cirrus Logic CS35L41 Speaker Amplifier
13 CS35L41 is a boosted mono Class D amplifier with DSP
20 - cirrus,cs35l41
196 cs35l41: speaker-amp@2 {
198 compatible = "cirrus,cs35l41";
/Linux-v6.6/sound/soc/amd/vangogh/
Dacp5x-mach.c4 * NAU8821 & CS35L41 or NAU8821 & MAX98388 codecs.
31 #define ACP5X_CS35L41_DAI_NAME "cs35l41-pcm"
267 SND_SOC_DAILINK_DEF(cs35l41, DAILINK_COMP_ARRAY(COMP_CODEC(ACP5X_CS35L41_COMP_LNAME,
286 .name = "acp5x-CS35L41-Stereo",
287 .stream_name = "CS35L41 Stereo Playback",
294 SND_SOC_DAILINK_REG(acp5x_bt, cs35l41, platform),
460 * is necessary for the CS35L41 variant, as it doesn't support in acp5x_probe()
503 MODULE_DESCRIPTION("NAU8821/CS35L41 & NAU8821/MAX98388 audio support");
/Linux-v6.6/sound/soc/intel/boards/
Dsof_cirrus_common.h14 * Cirrus Logic CS35L41/CS35L53
16 #define CS35L41_CODEC_DAI "cs35l41-pcm"
Dsof_cirrus_common.c10 #include "../../codecs/cs35l41.h"
17 * Cirrus Logic CS35L41/CS35L53
185 pr_warn("Invalid number of cs35l41 amps found: %d, expected 2 or 4\n", sz); in cs35l41_compute_codec_conf()
/Linux-v6.6/drivers/platform/x86/
Dserial-multi-instantiate.c323 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
324 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
325 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
326 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
/Linux-v6.6/sound/soc/amd/
DKconfig82 tristate "AMD Vangogh support for NAU8821/CS35L41/MAX98388"
90 using NAU8821 and either CS35L41 or MAX98388 codecs.
/Linux-v6.6/arch/arm64/boot/dts/qcom/
Dsm8250-sony-xperia-edo.dtsi473 compatible = "cirrus,cs35l41";
488 compatible = "cirrus,cs35l41";
Dsm8450-sony-xperia-nagara.dtsi570 compatible = "cirrus,cs35l41";
585 compatible = "cirrus,cs35l41";
Dsm8350-sony-xperia-sagami.dtsi495 compatible = "cirrus,cs35l41";
510 compatible = "cirrus,cs35l41";
Dsm6125-sony-xperia-seine-pdx201.dts179 /* Cirrus Logic CS35L41 boosted audio amplifier @ 40 */
/Linux-v6.6/include/sound/
Dcs35l41.h3 * linux/sound/cs35l41.h -- Platform data for CS35L41

12