Lines Matching +full:ac +full:- +full:link
1 // SPDX-License-Identifier: GPL-2.0-or-later
24 that the codec power-down is issued. instead, in snd_cs5535audio_stop_hardware()
26 time. excluding codec specific build_ops->suspend in snd_cs5535audio_stop_hardware()
34 - analog mixer (vref off) 0x0800 in snd_cs5535audio_stop_hardware()
35 - AC-link powerdown 0x1000 in snd_cs5535audio_stop_hardware()
36 - codec internal clock 0x2000 in snd_cs5535audio_stop_hardware()
39 /* set LNK_SHUTDOWN to shutdown AC link */ in snd_cs5535audio_stop_hardware()
47 struct cs5535audio *cs5535au = card->private_data; in snd_cs5535audio_suspend()
51 snd_ac97_suspend(cs5535au->ac97); in snd_cs5535audio_suspend()
53 struct cs5535audio_dma *dma = &cs5535au->dmas[i]; in snd_cs5535audio_suspend()
54 if (dma && dma->substream) in snd_cs5535audio_suspend()
55 dma->saved_prd = dma->ops->read_prd(cs5535au); in snd_cs5535audio_suspend()
65 struct cs5535audio *cs5535au = card->private_data; in snd_cs5535audio_resume()
70 /* set LNK_WRM_RST to reset AC link */ in snd_cs5535audio_resume()
79 } while (--timeout); in snd_cs5535audio_resume()
82 dev_err(cs5535au->card->dev, "Failure getting AC Link ready\n"); in snd_cs5535audio_resume()
86 struct cs5535audio_dma *dma = &cs5535au->dmas[i]; in snd_cs5535audio_resume()
87 if (dma && dma->substream) { in snd_cs5535audio_resume()
88 dma->substream->ops->prepare(dma->substream); in snd_cs5535audio_resume()
89 dma->ops->setup_prd(cs5535au, dma->saved_prd); in snd_cs5535audio_resume()
94 snd_ac97_resume(cs5535au->ac97); in snd_cs5535audio_resume()