Home
last modified time | relevance | path

Searched refs:max98373 (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Dmax98373-sdw.c256 regmap_read(max98373->regmap, max98373->cache[i].reg, &max98373->cache[i].val); in max98373_suspend()
415 if (max98373->v_slot < 8) in max98373_io_init()
532 if (!max98373->slave) in max98373_sdw_dai_hw_params()
540 if (max98373->slot) { in max98373_sdw_dai_hw_params()
655 if (!max98373->slave) in max98373_pcm_hw_free()
695 max98373->slot = slots; in max98373_sdw_set_tdm_slot()
737 max98373 = devm_kzalloc(dev, sizeof(*max98373), GFP_KERNEL); in max98373_init()
738 if (!max98373) in max98373_init()
743 max98373->slave = slave; in max98373_init()
748 max98373->cache = devm_kcalloc(dev, max98373->cache_num, in max98373_init()
[all …]
H A Dmax98373-i2c.c198 if (!max98373->tdm_mode) { in max98373_set_clock()
331 max98373->tdm_mode = false; in max98373_dai_tdm_slot()
333 max98373->tdm_mode = true; in max98373_dai_tdm_slot()
389 regmap_write(max98373->regmap, in max98373_dai_tdm_slot()
392 regmap_write(max98373->regmap, in max98373_dai_tdm_slot()
485 regmap_read(max98373->regmap, max98373->cache[i].reg, &max98373->cache[i].val); in max98373_suspend()
497 max98373_reset(max98373, dev); in max98373_resume()
525 max98373 = devm_kzalloc(&i2c->dev, sizeof(*max98373), GFP_KERNEL); in max98373_i2c_probe()
527 if (!max98373) { in max98373_i2c_probe()
549 max98373->cache = devm_kcalloc(&i2c->dev, max98373->cache_num, in max98373_i2c_probe()
[all …]
H A Dmax98373.c39 max98373->tdm_mode = false; in max98373_dac_event()
386 max98373->v_slot) & 0xFF); in max98373_probe()
387 if (max98373->v_slot < 8) in max98373_probe()
390 1 << max98373->v_slot, 0); in max98373_probe()
396 if (max98373->i_slot < 8) in max98373_probe()
475 max98373->v_slot = 0; in max98373_slot_config()
480 max98373->i_slot = 1; in max98373_slot_config()
487 max98373->reset_gpio); in max98373_slot_config()
490 max98373->reset_gpio); in max98373_slot_config()
494 max98373->reset_gpio = -1; in max98373_slot_config()
[all …]
H A Dmax98373.h237 void max98373_reset(struct max98373_priv *max98373, struct device *dev);
239 struct max98373_priv *max98373);
H A DMakefile156 snd-soc-max98373-objs := max98373.o
157 snd-soc-max98373-i2c-objs := max98373-i2c.o
158 snd-soc-max98373-sdw-objs := max98373-sdw.o
537 obj-$(CONFIG_SND_SOC_MAX98373) += snd-soc-max98373.o
538 obj-$(CONFIG_SND_SOC_MAX98373_I2C) += snd-soc-max98373-i2c.o
539 obj-$(CONFIG_SND_SOC_MAX98373_SDW) += snd-soc-max98373-sdw.o
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dmax98373.txt7 - compatible : "maxim,max98373"
33 codec: max98373@31 {
34 compatible = "maxim,max98373";
/openbmc/linux/sound/soc/intel/avs/boards/
H A DMakefile10 snd-soc-avs-max98373-objs := max98373.o
27 obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_MAX98373) += snd-soc-avs-max98373.o
H A DKconfig70 tristate "max98373 I2S board"