Lines Matching refs:tmo
149 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
203 tmo = 1000000; in au1xpsc_i2s_start()
204 while (!(au_readl(I2S_STAT(pscdata)) & I2SSTAT_BUSY(stype)) && tmo) in au1xpsc_i2s_start()
205 tmo--; in au1xpsc_i2s_start()
207 if (!tmo) { in au1xpsc_i2s_start()
218 unsigned long tmo, stat; in au1xpsc_i2s_stop() local
224 tmo = 1000000; in au1xpsc_i2s_stop()
225 while ((au_readl(I2S_STAT(pscdata)) & I2SSTAT_BUSY(stype)) && tmo) in au1xpsc_i2s_stop()
226 tmo--; in au1xpsc_i2s_stop()