Searched refs:tmo (Results 1 – 5 of 5) sorted by relevance
86 unsigned int tmo, retry; in au1xac97c_ac97_read() local94 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() local134 for (tmo = 5; (RD(ctx, AC97_STATUS) & STAT_CP) && tmo; tmo--) in au1xac97c_ac97_write()[all …]
149 unsigned long tmo; in au1xpsc_i2s_configure() local155 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 …]
79 unsigned short retry, tmo; in au1xpsc_ac97_read() local93 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() local133 tmo = 20; in au1xpsc_ac97_write()138 } while (--tmo); in au1xpsc_ac97_write()144 } while (--retry && !tmo); in au1xpsc_ac97_write()
204 unsigned int tmo; in hac_ac97_warmrst() local209 for (tmo = 1000; (tmo > 0) && !(HACREG(HACCR) & CR_CR); tmo--) in hac_ac97_warmrst()212 if (!tmo) in hac_ac97_warmrst()
1629 unsigned tmo; in drain_dac() local1642 tmo = ((count * FRAME_TX_US) * HZ) / 1000000; in drain_dac()1643 schedule_timeout(tmo + 1); in drain_dac()