Home
last modified time | relevance | path

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

/Linux-v6.1/sound/arm/
Dpxa2xx-ac97-lib.c30 static volatile long gsr_bits; variable
69 gsr_bits = 0; in pxa2xx_ac97_read()
73 if (wait_event_timeout(gsr_wq, (readl(ac97_reg_base + GSR) | gsr_bits) & GSR_SDONE, 1) <= 0 && in pxa2xx_ac97_read()
74 !((readl(ac97_reg_base + GSR) | gsr_bits) & GSR_SDONE)) { in pxa2xx_ac97_read()
76 __func__, reg, readl(ac97_reg_base + GSR) | gsr_bits); in pxa2xx_ac97_read()
83 gsr_bits = 0; in pxa2xx_ac97_read()
86 wait_event_timeout(gsr_wq, (readl(ac97_reg_base + GSR) | gsr_bits) & GSR_SDONE, 1); in pxa2xx_ac97_read()
110 gsr_bits = 0; in pxa2xx_ac97_write()
112 if (wait_event_timeout(gsr_wq, (readl(ac97_reg_base + GSR) | gsr_bits) & GSR_CDONE, 1) <= 0 && in pxa2xx_ac97_write()
113 !((readl(ac97_reg_base + GSR) | gsr_bits) & GSR_CDONE)) { in pxa2xx_ac97_write()
[all …]