Home
last modified time | relevance | path

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

/sound/soc/au1x/
Dac97c.c86 unsigned int tmo, retry; in au1xac97c_ac97_read() local
94 tmo = 5; in au1xac97c_ac97_read()
95 while ((RD(ctx, AC97_STATUS) & STAT_CP) && tmo--) in au1xac97c_ac97_read()
97 if (!tmo) { in au1xac97c_ac97_read()
107 tmo = 0x10000; in au1xac97c_ac97_read()
108 while ((RD(ctx, AC97_STATUS) & STAT_CP) && tmo--) in au1xac97c_ac97_read()
112 if (!tmo) in au1xac97c_ac97_read()
117 } while (--retry && !tmo); in au1xac97c_ac97_read()
128 unsigned int tmo, retry; in au1xac97c_ac97_write() local
134 for (tmo = 5; (RD(ctx, AC97_STATUS) & STAT_CP) && tmo; tmo--) in au1xac97c_ac97_write()
[all …]
Dpsc-i2s.c149 unsigned long tmo; in au1xpsc_i2s_configure() local
155 tmo = 1000000; in au1xpsc_i2s_configure()
156 while (!(au_readl(I2S_STAT(pscdata)) & PSC_I2SSTAT_SR) && tmo) in au1xpsc_i2s_configure()
157 tmo--; in au1xpsc_i2s_configure()
159 if (!tmo) in au1xpsc_i2s_configure()
168 tmo = 1000000; in au1xpsc_i2s_configure()
169 while (!(au_readl(I2S_STAT(pscdata)) & PSC_I2SSTAT_DR) && tmo) in au1xpsc_i2s_configure()
170 tmo--; in au1xpsc_i2s_configure()
172 if (tmo) in au1xpsc_i2s_configure()
184 unsigned long tmo, stat; in au1xpsc_i2s_start() local
[all …]
Dpsc-ac97.c79 unsigned short retry, tmo; in au1xpsc_ac97_read() local
93 tmo = 20; in au1xpsc_ac97_read()
98 } while (--tmo); in au1xpsc_ac97_read()
108 tmo = 1; /* wrong register, try again */ in au1xpsc_ac97_read()
110 } while (--retry && !tmo); in au1xpsc_ac97_read()
120 unsigned int tmo, retry; in au1xpsc_ac97_write() local
133 tmo = 20; in au1xpsc_ac97_write()
138 } while (--tmo); in au1xpsc_ac97_write()
144 } while (--retry && !tmo); in au1xpsc_ac97_write()
/sound/soc/sh/
Dhac.c204 unsigned int tmo; in hac_ac97_warmrst() local
209 for (tmo = 1000; (tmo > 0) && !(HACREG(HACCR) & CR_CR); tmo--) in hac_ac97_warmrst()
212 if (!tmo) in hac_ac97_warmrst()
/sound/oss/
Dswarm_cs4297a.c1629 unsigned tmo; in drain_dac() local
1642 tmo = ((count * FRAME_TX_US) * HZ) / 1000000; in drain_dac()
1643 schedule_timeout(tmo + 1); in drain_dac()