Home
last modified time | relevance | path

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

/linux/sound/soc/sunxi/
A Dsun4i-codec.c1700 struct sun4i_codec *scodec; in sun4i_codec_probe() local
1706 scodec = devm_kzalloc(&pdev->dev, sizeof(*scodec), GFP_KERNEL); in sun4i_codec_probe()
1707 if (!scodec) in sun4i_codec_probe()
1710 scodec->dev = &pdev->dev; in sun4i_codec_probe()
1724 if (IS_ERR(scodec->regmap)) { in sun4i_codec_probe()
1731 if (IS_ERR(scodec->clk_apb)) { in sun4i_codec_probe()
1745 if (IS_ERR(scodec->rst)) { in sun4i_codec_probe()
1762 scodec->regmap, in sun4i_codec_probe()
1778 if (scodec->rst) { in sun4i_codec_probe()
1836 if (scodec->rst) in sun4i_codec_probe()
[all …]
A Dsun8i-codec.c183 ret = regcache_sync(scodec->regmap); in sun8i_codec_runtime_resume()
423 if (!scodec->sysclk_refcnt) in sun8i_codec_startup()
583 scodec->sysclk_refcnt++; in sun8i_codec_hw_params()
584 scodec->sysclk_rate = sysclk_rate; in sun8i_codec_hw_params()
604 scodec->sysclk_refcnt--; in sun8i_codec_hw_free()
1239 struct sun8i_codec *scodec; in sun8i_codec_probe() local
1243 scodec = devm_kzalloc(&pdev->dev, sizeof(*scodec), GFP_KERNEL); in sun8i_codec_probe()
1244 if (!scodec) in sun8i_codec_probe()
1248 if (IS_ERR(scodec->clk_module)) { in sun8i_codec_probe()
1261 if (IS_ERR(scodec->regmap)) { in sun8i_codec_probe()
[all …]
/linux/sound/pci/hda/
A Dpatch_cs8409.c178 struct hda_codec *codec = scodec->codec; in cs8409_i2c_set_page()
180 if (scodec->paged && (scodec->last_page != (i2c_reg >> 8))) { in cs8409_i2c_set_page()
184 scodec->last_page = i2c_reg >> 8; in cs8409_i2c_set_page()
199 struct hda_codec *codec = scodec->codec; in cs8409_i2c_read()
204 if (scodec->suspended) in cs8409_i2c_read()
211 if (cs8409_i2c_set_page(scodec, addr)) in cs8409_i2c_read()
242 struct hda_codec *codec = scodec->codec; in cs8409_i2c_bulk_read()
247 if (scodec->suspended) in cs8409_i2c_bulk_read()
291 if (scodec->suspended) in cs8409_i2c_write()
299 if (cs8409_i2c_set_page(scodec, addr)) in cs8409_i2c_write()
[all …]

Completed in 16 milliseconds