Home
last modified time | relevance | path

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

12

/linux/sound/pci/hda/
H A Dcs35l41_hda.c3 // CS35l41 ALSA HDA audio driver
26 #define CS35L41_PART "cs35l41"
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()
[all …]
H A Dcs35l41_hda_property.c3 // CS35L41 ALSA HDA Property driver
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()
[all …]
H A DMakefile34 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
H A Dcs35l41_hda_spi.c3 // CS35l41 HDA SPI driver
38 { "cs35l41-hda", 0 },
51 .name = "cs35l41-hda",
61 MODULE_DESCRIPTION("HDA CS35L41 driver");
H A Dcs35l41_hda_i2c.c3 // CS35l41 HDA I2C driver
42 { "cs35l41-hda" },
56 .name = "cs35l41-hda",
66 MODULE_DESCRIPTION("HDA CS35L41 driver");
H A Dcs35l41_hda.h3 * CS35L41 ALSA HDA audio driver
18 #include <sound/cs35l41.h>
107 int cs35l41_hda_parse_acpi(struct cs35l41_hda *cs35l41, struct device *physdev, int id);
H A Dcs35l41_hda_property.h3 * CS35L41 ALSA HDA Property driver
16 int cs35l41_add_dsd_properties(struct cs35l41_hda *cs35l41, struct device *physdev, int id,
H A DKconfig123 tristate "Build CS35L41 HD-audio side codec support for I2C Bus"
133 Say Y or M here to include CS35L41 I2C HD-audio side codec support
140 tristate "Build CS35L41 HD-audio codec support for SPI Bus"
150 Say Y or M here to include CS35L41 SPI HD-audio side codec support
/linux/sound/soc/codecs/
H A Dcs35l41.c3 // cs35l41.c -- CS35l41 ALSA SoC audio driver
25 #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 …]
H A 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
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()
[all …]
H A Dcs35l41-i2c.c3 // cs35l41-i2c.c -- CS35l41 I2C driver
20 #include "cs35l41.h"
24 { "cs35l41" },
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()
[all …]
H A 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);
H A DMakefile70 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
H A Dcs35l41-lib.c3 // cs35l41-lib.c -- CS35L41 Common functions for HDA and ASoC Audio drivers
17 #include <sound/cs35l41.h>
1589 MODULE_DESCRIPTION("CS35L41 library");
/linux/Documentation/devicetree/bindings/sound/
H A 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/sound/soc/amd/vangogh/
H A 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),
494 MODULE_DESCRIPTION("NAU8821/CS35L41 & NAU8821/MAX98388 audio support");
/linux/sound/soc/intel/boards/
H A Dsof_cirrus_common.h15 * Cirrus Logic CS35L41/CS35L53
17 #define CS35L41_CODEC_DAI "cs35l41-pcm"
H A 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()
H A Dsof_ssp_amp.c7 * with RT1308/CS35L41 codec.
/linux/drivers/platform/x86/
H A Dserial-multi-instantiate.c339 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
340 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
341 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
342 { "cs35l41-hda", IRQ_RESOURCE_AUTO, 0 },
/linux/sound/soc/amd/
H A DKconfig82 tristate "AMD Vangogh support for NAU8821/CS35L41/MAX98388"
90 using NAU8821 and either CS35L41 or MAX98388 codecs.
/linux/sound/soc/intel/common/
H A Dsoc-acpi-intel-ssp-common.c50 CODEC_MAP_ENTRY("CS35L41", "cs35l41", CS35L41_ACPI_HID, CODEC_CS35L41),
/linux/arch/arm64/boot/dts/qcom/
H A Dsm8250-sony-xperia-edo.dtsi478 compatible = "cirrus,cs35l41";
493 compatible = "cirrus,cs35l41";
H A Dsm8450-sony-xperia-nagara.dtsi570 compatible = "cirrus,cs35l41";
585 compatible = "cirrus,cs35l41";
/linux/include/sound/
H A Dcs35l41.h3 * linux/sound/cs35l41.h -- Platform data for CS35L41

12