Lines Matching refs:GSR
67 GSR = GSR_CDONE | GSR_SDONE; in pxa2xx_ac97_read()
72 if (wait_event_timeout(gsr_wq, (GSR | gsr_bits) & GSR_SDONE, 1) <= 0 && in pxa2xx_ac97_read()
73 !((GSR | gsr_bits) & GSR_SDONE)) { in pxa2xx_ac97_read()
75 __func__, reg, GSR | gsr_bits); in pxa2xx_ac97_read()
81 GSR = GSR_CDONE | GSR_SDONE; in pxa2xx_ac97_read()
85 wait_event_timeout(gsr_wq, (GSR | gsr_bits) & GSR_SDONE, 1); in pxa2xx_ac97_read()
106 GSR = GSR_CDONE | GSR_SDONE; in pxa2xx_ac97_write()
109 if (wait_event_timeout(gsr_wq, (GSR | gsr_bits) & GSR_CDONE, 1) <= 0 && in pxa2xx_ac97_write()
110 !((GSR | gsr_bits) & GSR_CDONE)) { in pxa2xx_ac97_write()
112 __func__, reg, GSR | gsr_bits); in pxa2xx_ac97_write()
219 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--) in pxa2xx_ac97_try_warm_reset()
222 gsr = GSR | gsr_bits; in pxa2xx_ac97_try_warm_reset()
256 while (!((GSR | gsr_bits) & (GSR_PCR | GSR_SCR)) && timeout--) in pxa2xx_ac97_try_cold_reset()
259 gsr = GSR | gsr_bits; in pxa2xx_ac97_try_cold_reset()
283 status = GSR; in pxa2xx_ac97_irq()
285 GSR = status; in pxa2xx_ac97_irq()