Home
last modified time | relevance | path

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

12

/Linux-v6.1/sound/pci/hda/
Dcs35l41_hda.c3 // CS35l41 ALSA HDA audio driver
24 #define CS35L41_PART "cs35l41"
94 static void cs35l41_add_controls(struct cs35l41_hda *cs35l41) in cs35l41_add_controls() argument
98 info.device_name = cs35l41->amp_name; in cs35l41_add_controls()
99 info.fw_type = cs35l41->firmware_type; in cs35l41_add_controls()
100 info.card = cs35l41->codec->card; in cs35l41_add_controls()
102 hda_cs_dsp_add_controls(&cs35l41->cs_dsp, &info); in cs35l41_add_controls()
109 static int cs35l41_request_firmware_file(struct cs35l41_hda *cs35l41, in cs35l41_request_firmware_file() argument
114 const char * const dsp_name = cs35l41->cs_dsp.name; in cs35l41_request_firmware_file()
120 dsp_name, hda_cs_dsp_fw_ids[cs35l41->firmware_type], in cs35l41_request_firmware_file()
[all …]
DMakefile31 snd-hda-scodec-cs35l41-objs := cs35l41_hda.o
32 snd-hda-scodec-cs35l41-i2c-objs := cs35l41_hda_i2c.o
33 snd-hda-scodec-cs35l41-spi-objs := cs35l41_hda_spi.o
55 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41) += snd-hda-scodec-cs35l41.o
56 obj-$(CONFIG_SND_HDA_SCODEC_CS35L41_I2C) += snd-hda-scodec-cs35l41-i2c.o
57 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.h3 * CS35L41 ALSA HDA audio driver
17 #include <sound/cs35l41.h>
DKconfig104 tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
112 Say Y or M here to include CS35L41 I2C HD-audio side codec support
119 tristate "Build CS35L41 HD-audio codec support for SPI Bus"
127 Say Y or M here to include CS35L41 SPI HD-audio side codec support
/Linux-v6.1/sound/soc/codecs/
Dcs35l41.c3 // cs35l41.c -- CS35l41 ALSA SoC audio driver
26 #include "cs35l41.h"
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()
[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>
38 int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg *hw_cfg);
39 void cs35l41_remove(struct cs35l41_private *cs35l41);
DMakefile59 snd-soc-cs35l41-lib-objs := cs35l41-lib.o
60 snd-soc-cs35l41-objs := cs35l41.o
61 snd-soc-cs35l41-spi-objs := cs35l41-spi.o
62 snd-soc-cs35l41-i2c-objs := cs35l41-i2c.o
419 obj-$(CONFIG_SND_SOC_CS35L41) += snd-soc-cs35l41.o
420 obj-$(CONFIG_SND_SOC_CS35L41_LIB) += snd-soc-cs35l41-lib.o
421 obj-$(CONFIG_SND_SOC_CS35L41_SPI) += snd-soc-cs35l41-spi.o
422 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>
1410 MODULE_DESCRIPTION("CS35L41 library");
DKconfig654 tristate "Cirrus Logic CS35L41 CODEC (SPI)"
661 tristate "Cirrus Logic CS35L41 CODEC (I2C)"
/Linux-v6.1/sound/soc/amd/vangogh/
Dacp5x-mach.c3 * Machine driver for AMD Vangogh platform using NAU8821 & CS35L41
26 #include "../../codecs/cs35l41.h"
181 if (strcmp(codec_dai->name, "cs35l41-pcm") == 0) { in acp5x_cs35l41_hw_params()
194 dev_err(card->dev, "failed to set sysclk for CS35l41 dai\n"); in acp5x_cs35l41_hw_params()
234 SND_SOC_DAILINK_DEF(cs35l41,
235 DAILINK_COMP_ARRAY(COMP_CODEC("spi-VLV1776:00", "cs35l41-pcm"),
236 COMP_CODEC("spi-VLV1776:01", "cs35l41-pcm")));
254 .name = "acp5x-CS35L41-Stereo",
255 .stream_name = "CS35L41 Stereo Playback",
262 SND_SOC_DAILINK_REG(acp5x_bt, cs35l41, platform),
[all …]
/Linux-v6.1/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
182 cs35l41: cs35l41@2 {
184 compatible = "cirrus,cs35l41";
/Linux-v6.1/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
180 pr_warn("Invalid number of cs35l41 amps found: %d, expected 2 or 4\n", sz); in cs35l41_compute_codec_conf()
Dsof_ssp_amp.c7 * with RT1308/CS35L41 codec.
/Linux-v6.1/arch/arm64/boot/dts/qcom/
Dsm8350-sony-xperia-sagami.dtsi113 cs35l41_l: cs35l41@40 {
114 compatible = "cirrus,cs35l41";
128 cs35l41_r: cs35l41@41 {
129 compatible = "cirrus,cs35l41";
Dsm8250-sony-xperia-edo.dtsi450 cs35l41_l: cs35l41@40 {
451 compatible = "cirrus,cs35l41";
465 cs35l41_r: cs35l41@41 {
466 compatible = "cirrus,cs35l41";
Dsm8450-sony-xperia-nagara-pdx223.dts470 compatible = "cirrus,cs35l41";
485 compatible = "cirrus,cs35l41";
/Linux-v6.1/drivers/platform/x86/
Dserial-multi-instantiate.c311 { "cs35l41-hda", IRQ_RESOURCE_GPIO, 0 },
312 { "cs35l41-hda", IRQ_RESOURCE_GPIO, 0 },
313 { "cs35l41-hda", IRQ_RESOURCE_GPIO, 0 },
314 { "cs35l41-hda", IRQ_RESOURCE_GPIO, 0 },
/Linux-v6.1/sound/soc/amd/
DKconfig81 tristate "AMD Vangogh support for NAU8821 CS35L41"
87 using NAU8821 and CS35L41 codecs.
/Linux-v6.1/include/sound/
Dcs35l41.h3 * linux/sound/cs35l41.h -- Platform data for CS35L41
/Linux-v6.1/sound/soc/intel/common/
Dsoc-acpi-intel-adl-match.c526 .sof_tplg_filename = "sof-adl-cs35l41.tplg",

12