Home
last modified time | relevance | path

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

/sound/soc/au1x/
Dac97c.c87 unsigned int tmo, retry; in au1xac97c_ac97_read() local
95 tmo = 6; in au1xac97c_ac97_read()
96 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read()
98 if (!tmo) { in au1xac97c_ac97_read()
108 tmo = 0x10000; in au1xac97c_ac97_read()
109 while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo) in au1xac97c_ac97_read()
113 if (!tmo) in au1xac97c_ac97_read()
118 } while (--retry && !tmo); in au1xac97c_ac97_read()
129 unsigned int tmo, retry; in au1xac97c_ac97_write() local
135 for (tmo = 5; (RD(ctx, AC97_STATUS) & STAT_CP) && tmo; tmo--) in au1xac97c_ac97_write()
[all …]
Dpsc-i2s.c146 unsigned long tmo; in au1xpsc_i2s_configure() local
152 tmo = 1000000; in au1xpsc_i2s_configure()
153 while (!(__raw_readl(I2S_STAT(pscdata)) & PSC_I2SSTAT_SR) && tmo) in au1xpsc_i2s_configure()
154 tmo--; in au1xpsc_i2s_configure()
156 if (!tmo) in au1xpsc_i2s_configure()
165 tmo = 1000000; in au1xpsc_i2s_configure()
166 while (!(__raw_readl(I2S_STAT(pscdata)) & PSC_I2SSTAT_DR) && tmo) in au1xpsc_i2s_configure()
167 tmo--; in au1xpsc_i2s_configure()
169 if (tmo) in au1xpsc_i2s_configure()
181 unsigned long tmo, stat; in au1xpsc_i2s_start() local
[all …]
Dpsc-ac97.c75 unsigned short retry, tmo; in au1xpsc_ac97_read() local
89 tmo = 20; in au1xpsc_ac97_read()
94 } while (--tmo); in au1xpsc_ac97_read()
104 tmo = 1; /* wrong register, try again */ in au1xpsc_ac97_read()
106 } while (--retry && !tmo); in au1xpsc_ac97_read()
116 unsigned int tmo, retry; in au1xpsc_ac97_write() local
129 tmo = 20; in au1xpsc_ac97_write()
134 } while (--tmo); in au1xpsc_ac97_write()
140 } while (--retry && !tmo); in au1xpsc_ac97_write()
/sound/soc/sh/
Dhac.c202 unsigned int tmo; in hac_ac97_warmrst() local
207 for (tmo = 1000; (tmo > 0) && !(HACREG(HACCR) & CR_CR); tmo--) in hac_ac97_warmrst()
210 if (!tmo) in hac_ac97_warmrst()