Lines Matching refs:GSR
64 GSR = GSR_CDONE | GSR_SDONE;
69 if (wait_event_timeout(gsr_wq, (GSR | gsr_bits) & GSR_SDONE, 1) <= 0 &&
70 !((GSR | gsr_bits) & GSR_SDONE)) {
71 printk(KERN_ERR "%s: read error (ac97_reg=%d GSR=%#lx)\n",
72 __func__, reg, GSR | gsr_bits);
78 GSR = GSR_CDONE | GSR_SDONE;
82 wait_event_timeout(gsr_wq, (GSR | gsr_bits) & GSR_SDONE, 1);
103 GSR = GSR_CDONE | GSR_SDONE;
106 if (wait_event_timeout(gsr_wq, (GSR | gsr_bits) & GSR_CDONE, 1) <= 0 &&
107 !((GSR | gsr_bits) & GSR_CDONE)) {
108 printk(KERN_ERR "%s: write error (ac97_reg=%d GSR=%#lx)\n",
109 __func__, reg, GSR | gsr_bits);
216 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--)
219 gsr = GSR | gsr_bits;
221 printk(KERN_INFO "%s: warm reset timeout (GSR=%#lx)\n",
253 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--)
256 gsr = GSR | gsr_bits;
258 printk(KERN_INFO "%s: cold reset timeout (GSR=%#lx)\n",
280 status = GSR;
282 GSR = status;