/Linux-v6.1/sound/soc/codecs/ |
D | rt5682-i2c.c | 59 struct rt5682_priv *rt5682 = container_of(work, struct rt5682_priv, in rt5682_jd_check_handler() local 62 if (snd_soc_component_read(rt5682->component, RT5682_AJD1_CTRL) & RT5682_JDH_RS_MASK) in rt5682_jd_check_handler() 65 &rt5682->jack_detect_work, 0); in rt5682_jd_check_handler() 67 schedule_delayed_work(&rt5682->jd_check_work, 500); in rt5682_jd_check_handler() 72 struct rt5682_priv *rt5682 = data; in rt5682_irq() local 75 &rt5682->jack_detect_work, msecs_to_jiffies(rt5682->irq_work_delay_time)); in rt5682_irq() 116 struct rt5682_priv *rt5682 = data; in rt5682_i2c_disable_regulators() local 118 regulator_bulk_disable(ARRAY_SIZE(rt5682->supplies), rt5682->supplies); in rt5682_i2c_disable_regulators() 124 struct rt5682_priv *rt5682; in rt5682_i2c_probe() local 128 rt5682 = devm_kzalloc(&i2c->dev, sizeof(struct rt5682_priv), in rt5682_i2c_probe() [all …]
|
D | rt5682-sdw.c | 43 struct rt5682_priv *rt5682 = dev_get_drvdata(dev); in rt5682_sdw_read() local 46 regmap_write(rt5682->sdw_regmap, RT5682_SDW_CMD, 0); in rt5682_sdw_read() 47 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_H, (reg >> 8) & 0xff); in rt5682_sdw_read() 48 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_L, (reg & 0xff)); in rt5682_sdw_read() 49 regmap_read(rt5682->sdw_regmap, RT5682_SDW_DATA_H, &data_h); in rt5682_sdw_read() 50 regmap_read(rt5682->sdw_regmap, RT5682_SDW_DATA_L, &data_l); in rt5682_sdw_read() 62 struct rt5682_priv *rt5682 = dev_get_drvdata(dev); in rt5682_sdw_write() local 64 regmap_write(rt5682->sdw_regmap, RT5682_SDW_CMD, 1); in rt5682_sdw_write() 65 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_H, (reg >> 8) & 0xff); in rt5682_sdw_write() 66 regmap_write(rt5682->sdw_regmap, RT5682_SDW_ADDR_L, (reg & 0xff)); in rt5682_sdw_write() [all …]
|
D | rt5682.c | 55 void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev) in rt5682_apply_patch_list() argument 59 ret = regmap_multi_reg_write(rt5682->regmap, patch_list, in rt5682_apply_patch_list() 814 void rt5682_reset(struct rt5682_priv *rt5682) in rt5682_reset() argument 816 regmap_write(rt5682->regmap, RT5682_RESET, 0); in rt5682_reset() 817 if (!rt5682->is_sdw) in rt5682_reset() 818 regmap_write(rt5682->regmap, RT5682_I2C_MODE, 1); in rt5682_reset() 882 struct rt5682_priv *rt5682 = snd_soc_component_get_drvdata(component); in rt5682_enable_push_button_irq() local 893 if (rt5682->is_sdw) in rt5682_enable_push_button_irq() 927 struct rt5682_priv *rt5682 = snd_soc_component_get_drvdata(component); in rt5682_headset_detect() local 965 rt5682->jack_type = SND_JACK_HEADSET; in rt5682_headset_detect() [all …]
|
D | rt5682.h | 1473 void rt5682_apply_patch_list(struct rt5682_priv *rt5682, struct device *dev); 1481 void rt5682_calibrate(struct rt5682_priv *rt5682); 1482 void rt5682_reset(struct rt5682_priv *rt5682); 1483 int rt5682_parse_dt(struct rt5682_priv *rt5682, struct device *dev); 1485 int rt5682_register_dai_clks(struct rt5682_priv *rt5682);
|
D | Makefile | 217 snd-soc-rt5682-objs := rt5682.o 218 snd-soc-rt5682-sdw-objs := rt5682-sdw.o 219 snd-soc-rt5682-i2c-objs := rt5682-i2c.o 573 obj-$(CONFIG_SND_SOC_RT5682) += snd-soc-rt5682.o 574 obj-$(CONFIG_SND_SOC_RT5682_I2C) += snd-soc-rt5682-i2c.o 575 obj-$(CONFIG_SND_SOC_RT5682_SDW) += snd-soc-rt5682-sdw.o
|
/Linux-v6.1/sound/soc/amd/ |
D | Makefile | 6 snd-soc-acp-rt5682-mach-objs := acp3x-rt5682-max9836.o 14 obj-$(CONFIG_SND_SOC_AMD_RV_RT5682_MACH) += snd-soc-acp-rt5682-mach.o
|
D | acp-da7219-max98357a.c | 510 SND_SOC_DAILINK_DEF(rt5682, 586 SND_SOC_DAILINK_REG(designware1, rt5682, platform), 596 SND_SOC_DAILINK_REG(designware2, rt5682, platform),
|
D | acp3x-rt5682-max9836.c | 274 SND_SOC_DAILINK_DEF(rt5682, 310 SND_SOC_DAILINK_REG(acp3x_i2s, rt5682, platform),
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | rt5682.txt | 7 - compatible : "realtek,rt5682" or "realtek,rt5682i" 61 rt5682 { 74 clock-output-names = "rt5682-dai-wclk", "rt5682-dai-bclk";
|
/Linux-v6.1/sound/soc/intel/avs/boards/ |
D | Makefile | 13 snd-soc-avs-rt5682-objs := rt5682.o 26 obj-$(CONFIG_SND_SOC_INTEL_AVS_MACH_RT5682) += snd-soc-avs-rt5682.o
|
D | Kconfig | 101 tristate "rt5682 in I2S mode"
|
/Linux-v6.1/sound/soc/mediatek/mt8192/ |
D | Makefile | 16 mt8192-mt6359-rt1015-rt5682.o
|
/Linux-v6.1/sound/soc/amd/acp/ |
D | acp-mach-common.c | 66 SND_SOC_DAILINK_DEF(rt5682, 608 links[i].codecs = rt5682; in acp_sofdsp_dai_links_create() 609 links[i].num_codecs = ARRAY_SIZE(rt5682); in acp_sofdsp_dai_links_create() 771 links[i].codecs = rt5682; in acp_legacy_dai_links_create() 772 links[i].num_codecs = ARRAY_SIZE(rt5682); in acp_legacy_dai_links_create()
|
/Linux-v6.1/arch/arm64/boot/dts/qcom/ |
D | sc7180-trogdor-pompom.dtsi | 174 model = "sc7180-rt5682-max98357a-2mic";
|
D | sc7180-trogdor.dtsi | 368 model = "sc7180-rt5682-max98357a-1mic"; 766 * is set in rt5682.c.
|
/Linux-v6.1/sound/soc/intel/boards/ |
D | Kconfig | 478 tristate "SOF with rt5682 codec in I2S Mode" 497 with rt5682 codec.
|