Home
last modified time | relevance | path

Searched refs:scodec (Results 1 – 5 of 5) sorted by relevance

/linux/sound/soc/sunxi/
H A Dsun8i-codec.c248 struct sun8i_codec *scodec = dev_get_drvdata(dev); in sun8i_codec_runtime_resume() local
251 ret = clk_prepare_enable(scodec->clk_bus); in sun8i_codec_runtime_resume()
257 regcache_cache_only(scodec->regmap, false); in sun8i_codec_runtime_resume()
259 ret = regcache_sync(scodec->regmap); in sun8i_codec_runtime_resume()
270 struct sun8i_codec *scodec = dev_get_drvdata(dev); in sun8i_codec_runtime_suspend() local
272 regcache_cache_only(scodec->regmap, true); in sun8i_codec_runtime_suspend()
273 regcache_mark_dirty(scodec->regmap); in sun8i_codec_runtime_suspend()
275 clk_disable_unprepare(scodec->clk_bus); in sun8i_codec_runtime_suspend()
315 static int sun8i_codec_update_sample_rate(struct sun8i_codec *scodec) in sun8i_codec_update_sample_rate() argument
321 struct sun8i_codec_aif *aif = &scodec in sun8i_codec_update_sample_rate()
344 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_set_fmt() local
457 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_set_tdm_slot() local
494 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_startup() local
573 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_hw_params() local
674 struct sun8i_codec *scodec = snd_soc_dai_get_drvdata(dai); sun8i_codec_hw_free() local
816 struct sun8i_codec *scodec = snd_soc_component_get_drvdata(component); sun8i_codec_aif_event() local
1291 struct sun8i_codec *scodec = snd_soc_component_get_drvdata(component); sun8i_codec_component_probe() local
1332 sun8i_codec_set_hmic_bias(struct sun8i_codec * scodec,bool enable) sun8i_codec_set_hmic_bias() argument
1350 struct sun8i_codec *scodec = container_of(work, struct sun8i_codec, sun8i_codec_jack_work() local
1433 struct sun8i_codec *scodec = dev_id; sun8i_codec_jack_irq() local
1502 struct sun8i_codec *scodec = snd_soc_component_get_drvdata(component); sun8i_codec_enable_jack_detect() local
1546 struct sun8i_codec *scodec = snd_soc_component_get_drvdata(component); sun8i_codec_disable_jack_detect() local
1607 struct sun8i_codec *scodec; sun8i_codec_probe() local
[all...]
/linux/sound/hda/codecs/side-codecs/
H A DMakefile4 snd-hda-cirrus-scodec-y := cirrus_scodec.o
5 snd-hda-cirrus-scodec-test-y := cirrus_scodec_test.o
6 snd-hda-scodec-cs35l41-y := cs35l41_hda.o cs35l41_hda_property.o
7 snd-hda-scodec-cs35l41-i2c-y := cs35l41_hda_i2c.o
8 snd-hda-scodec-cs35l41-spi-y := cs35l41_hda_spi.o
9 snd-hda-scodec-cs35l56-y := cs35l56_hda.o
10 snd-hda-scodec-cs35l56-i2c-y := cs35l56_hda_i2c.o
11 snd-hda-scodec-cs35l56-spi-y := cs35l56_hda_spi.o
12 snd-hda-scodec-component-y := hda_component.o
13 snd-hda-scodec-tas2781-y := tas2781_hda.o
[all …]
/linux/sound/hda/codecs/cirrus/
H A Dcs8409.c180 static int cs8409_i2c_set_page(struct sub_codec *scodec, unsigned int i2c_reg) in cs8409_i2c_set_page() argument
182 struct hda_codec *codec = scodec->codec; in cs8409_i2c_set_page()
184 if (scodec->paged && (scodec->last_page != (i2c_reg >> 8))) { in cs8409_i2c_set_page()
188 scodec->last_page = i2c_reg >> 8; in cs8409_i2c_set_page()
201 static int cs8409_i2c_read(struct sub_codec *scodec, unsigned int addr) in cs8409_i2c_read() argument
203 struct hda_codec *codec = scodec->codec; in cs8409_i2c_read()
208 if (scodec->suspended) in cs8409_i2c_read()
213 cs8409_set_i2c_dev_addr(codec, scodec->addr); in cs8409_i2c_read()
215 if (cs8409_i2c_set_page(scodec, addr)) in cs8409_i2c_read()
229 codec_err(codec, "%s() Failed 0x%02x : 0x%04x\n", __func__, scodec->addr, addr); in cs8409_i2c_read()
[all …]
/linux/arch/arm64/boot/dts/apple/
H A Dt8112-pmgr.dtsi954 label = "scodec";
H A Dt600x-pmgr.dtsi316 label = DIE_LABEL(scodec);