Lines Matching refs:GSR
64 GSR = GSR_CDONE | GSR_SDONE; in pxa2xx_ac97_read()
69 if (wait_event_timeout(gsr_wq, (GSR | gsr_bits) & GSR_SDONE, 1) <= 0 && in pxa2xx_ac97_read()
70 !((GSR | gsr_bits) & GSR_SDONE)) { in pxa2xx_ac97_read()
72 __func__, reg, GSR | gsr_bits); in pxa2xx_ac97_read()
78 GSR = GSR_CDONE | GSR_SDONE; in pxa2xx_ac97_read()
82 wait_event_timeout(gsr_wq, (GSR | gsr_bits) & GSR_SDONE, 1); in pxa2xx_ac97_read()
103 GSR = GSR_CDONE | GSR_SDONE; in pxa2xx_ac97_write()
106 if (wait_event_timeout(gsr_wq, (GSR | gsr_bits) & GSR_CDONE, 1) <= 0 && in pxa2xx_ac97_write()
107 !((GSR | gsr_bits) & GSR_CDONE)) { in pxa2xx_ac97_write()
109 __func__, reg, GSR | gsr_bits); in pxa2xx_ac97_write()
216 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--) in pxa2xx_ac97_try_warm_reset()
219 gsr = GSR | gsr_bits; in pxa2xx_ac97_try_warm_reset()
253 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--) in pxa2xx_ac97_try_cold_reset()
256 gsr = GSR | gsr_bits; in pxa2xx_ac97_try_cold_reset()
280 status = GSR; in pxa2xx_ac97_irq()
282 GSR = status; in pxa2xx_ac97_irq()