/openbmc/linux/sound/pci/hda/ |
H A D | cs35l56_hda.c | 51 static void cs35l56_hda_play(struct cs35l56_hda *cs35l56) in cs35l56_hda_play() argument 56 pm_runtime_get_sync(cs35l56->base.dev); in cs35l56_hda_play() 57 ret = cs35l56_mbox_send(&cs35l56->base, CS35L56_MBOX_CMD_AUDIO_PLAY); in cs35l56_hda_play() 60 ret = regmap_read_poll_timeout(cs35l56->base.regmap, in cs35l56_hda_play() 66 dev_warn(cs35l56->base.dev, "PS0 wait failed: %d\n", ret); in cs35l56_hda_play() 68 regmap_set_bits(cs35l56->base.regmap, CS35L56_ASP1_ENABLES1, in cs35l56_hda_play() 70 cs35l56->asp_tx_mask); in cs35l56_hda_play() 71 cs35l56->playing = true; in cs35l56_hda_play() 74 static void cs35l56_hda_pause(struct cs35l56_hda *cs35l56) in cs35l56_hda_pause() argument 76 cs35l56->playing = false; in cs35l56_hda_pause() [all …]
|
H A D | cs35l56_hda_i2c.c | 16 struct cs35l56_hda *cs35l56; in cs35l56_hda_i2c_probe() local 19 cs35l56 = devm_kzalloc(&clt->dev, sizeof(*cs35l56), GFP_KERNEL); in cs35l56_hda_i2c_probe() 20 if (!cs35l56) in cs35l56_hda_i2c_probe() 23 cs35l56->base.dev = &clt->dev; in cs35l56_hda_i2c_probe() 24 cs35l56->base.regmap = devm_regmap_init_i2c(clt, &cs35l56_regmap_i2c); in cs35l56_hda_i2c_probe() 25 if (IS_ERR(cs35l56->base.regmap)) { in cs35l56_hda_i2c_probe() 26 ret = PTR_ERR(cs35l56->base.regmap); in cs35l56_hda_i2c_probe() 27 dev_err(cs35l56->base.dev, "Failed to allocate register map: %d\n", in cs35l56_hda_i2c_probe() 32 ret = cs35l56_hda_common_probe(cs35l56, clt->addr); in cs35l56_hda_i2c_probe() 35 ret = cs35l56_irq_request(&cs35l56->base, clt->irq); in cs35l56_hda_i2c_probe() [all …]
|
H A D | cs35l56_hda_spi.c | 16 struct cs35l56_hda *cs35l56; in cs35l56_hda_spi_probe() local 19 cs35l56 = devm_kzalloc(&spi->dev, sizeof(*cs35l56), GFP_KERNEL); in cs35l56_hda_spi_probe() 20 if (!cs35l56) in cs35l56_hda_spi_probe() 23 cs35l56->base.dev = &spi->dev; in cs35l56_hda_spi_probe() 24 cs35l56->base.regmap = devm_regmap_init_spi(spi, &cs35l56_regmap_spi); in cs35l56_hda_spi_probe() 25 if (IS_ERR(cs35l56->base.regmap)) { in cs35l56_hda_spi_probe() 26 ret = PTR_ERR(cs35l56->base.regmap); in cs35l56_hda_spi_probe() 27 dev_err(cs35l56->base.dev, "Failed to allocate register map: %d\n", in cs35l56_hda_spi_probe() 32 ret = cs35l56_hda_common_probe(cs35l56, spi->chip_select); in cs35l56_hda_spi_probe() 35 ret = cs35l56_irq_request(&cs35l56->base, spi->irq); in cs35l56_hda_spi_probe() [all …]
|
H A D | Makefile | 34 snd-hda-scodec-cs35l56-objs := cs35l56_hda.o 35 snd-hda-scodec-cs35l56-i2c-objs := cs35l56_hda_i2c.o 36 snd-hda-scodec-cs35l56-spi-objs := cs35l56_hda_spi.o 62 obj-$(CONFIG_SND_HDA_SCODEC_CS35L56) += snd-hda-scodec-cs35l56.o 63 obj-$(CONFIG_SND_HDA_SCODEC_CS35L56_I2C) += snd-hda-scodec-cs35l56-i2c.o 64 obj-$(CONFIG_SND_HDA_SCODEC_CS35L56_SPI) += snd-hda-scodec-cs35l56-spi.o
|
H A D | cs35l56_hda.h | 45 int cs35l56_hda_common_probe(struct cs35l56_hda *cs35l56, int id);
|
/openbmc/linux/sound/soc/codecs/ |
H A D | cs35l56.c | 36 static void cs35l56_wait_dsp_ready(struct cs35l56_private *cs35l56) in cs35l56_wait_dsp_ready() argument 39 flush_work(&cs35l56->dsp_work); in cs35l56_wait_dsp_ready() 46 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_dspwait_get_volsw() local 48 cs35l56_wait_dsp_ready(cs35l56); in cs35l56_dspwait_get_volsw() 56 struct cs35l56_private *cs35l56 = snd_soc_component_get_drvdata(component); in cs35l56_dspwait_put_volsw() local 58 cs35l56_wait_dsp_ready(cs35l56); in cs35l56_dspwait_put_volsw() 71 static int cs35l56_sync_asp1_mixer_widgets_with_firmware(struct cs35l56_private *cs35l56) in cs35l56_sync_asp1_mixer_widgets_with_firmware() argument 73 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cs35l56->component); in cs35l56_sync_asp1_mixer_widgets_with_firmware() 74 const char *prefix = cs35l56->component->name_prefix; in cs35l56_sync_asp1_mixer_widgets_with_firmware() 82 if (cs35l56->asp1_mixer_widgets_initialized) in cs35l56_sync_asp1_mixer_widgets_with_firmware() [all …]
|
H A D | cs35l56-sdw.c | 166 struct cs35l56_private *cs35l56 = dev_get_drvdata(&peripheral->dev); in cs35l56_sdw_init() local 169 pm_runtime_get_noresume(cs35l56->base.dev); in cs35l56_sdw_init() 171 regcache_cache_only(cs35l56->base.regmap, false); in cs35l56_sdw_init() 173 ret = cs35l56_init(cs35l56); in cs35l56_sdw_init() 175 regcache_cache_only(cs35l56->base.regmap, true); in cs35l56_sdw_init() 183 if (cs35l56->base.init_done) { in cs35l56_sdw_init() 190 pm_runtime_mark_last_busy(cs35l56->base.dev); in cs35l56_sdw_init() 191 pm_runtime_put_autosuspend(cs35l56->base.dev); in cs35l56_sdw_init() 197 struct cs35l56_private *cs35l56 = dev_get_drvdata(&peripheral->dev); in cs35l56_sdw_interrupt() local 201 dev_dbg(cs35l56->base.dev, "int control_port=%#x\n", status->control_port); in cs35l56_sdw_interrupt() [all …]
|
H A D | cs35l56-i2c.c | 20 struct cs35l56_private *cs35l56; in cs35l56_i2c_probe() local 25 cs35l56 = devm_kzalloc(dev, sizeof(struct cs35l56_private), GFP_KERNEL); in cs35l56_i2c_probe() 26 if (!cs35l56) in cs35l56_i2c_probe() 29 cs35l56->base.dev = dev; in cs35l56_i2c_probe() 31 i2c_set_clientdata(client, cs35l56); in cs35l56_i2c_probe() 32 cs35l56->base.regmap = devm_regmap_init_i2c(client, regmap_config); in cs35l56_i2c_probe() 33 if (IS_ERR(cs35l56->base.regmap)) { in cs35l56_i2c_probe() 34 ret = PTR_ERR(cs35l56->base.regmap); in cs35l56_i2c_probe() 35 return dev_err_probe(cs35l56->base.dev, ret, "Failed to allocate register map\n"); in cs35l56_i2c_probe() 38 ret = cs35l56_common_probe(cs35l56); in cs35l56_i2c_probe() [all …]
|
H A D | cs35l56-spi.c | 20 struct cs35l56_private *cs35l56; in cs35l56_spi_probe() local 23 cs35l56 = devm_kzalloc(&spi->dev, sizeof(struct cs35l56_private), GFP_KERNEL); in cs35l56_spi_probe() 24 if (!cs35l56) in cs35l56_spi_probe() 27 spi_set_drvdata(spi, cs35l56); in cs35l56_spi_probe() 28 cs35l56->base.regmap = devm_regmap_init_spi(spi, regmap_config); in cs35l56_spi_probe() 29 if (IS_ERR(cs35l56->base.regmap)) { in cs35l56_spi_probe() 30 ret = PTR_ERR(cs35l56->base.regmap); in cs35l56_spi_probe() 34 cs35l56->base.dev = &spi->dev; in cs35l56_spi_probe() 36 ret = cs35l56_common_probe(cs35l56); in cs35l56_spi_probe() 40 ret = cs35l56_init(cs35l56); in cs35l56_spi_probe() [all …]
|
H A D | cs35l56.h | 68 int cs35l56_common_probe(struct cs35l56_private *cs35l56); 69 int cs35l56_init(struct cs35l56_private *cs35l56); 70 void cs35l56_remove(struct cs35l56_private *cs35l56);
|
H A D | Makefile | 72 snd-soc-cs35l56-objs := cs35l56.o 73 snd-soc-cs35l56-shared-objs := cs35l56-shared.o 74 snd-soc-cs35l56-i2c-objs := cs35l56-i2c.o 75 snd-soc-cs35l56-spi-objs := cs35l56-spi.o 76 snd-soc-cs35l56-sdw-objs := cs35l56-sdw.o 458 obj-$(CONFIG_SND_SOC_CS35L56) += snd-soc-cs35l56.o 459 obj-$(CONFIG_SND_SOC_CS35L56_SHARED) += snd-soc-cs35l56-shared.o 460 obj-$(CONFIG_SND_SOC_CS35L56_I2C) += snd-soc-cs35l56-i2c.o 461 obj-$(CONFIG_SND_SOC_CS35L56_SPI) += snd-soc-cs35l56-spi.o 462 obj-$(CONFIG_SND_SOC_CS35L56_SDW) += snd-soc-cs35l56-sdw.o
|
/openbmc/linux/ |
H A D | opengrok0.0.log | [all...] |
H A D | opengrok1.0.log | [all...] |