AC97_STATUS
if ((inb(chip->port+AC97_STATUS) & (AC97_BUSY)) == 0)
if ((inb(chip->port+AC97_STATUS) & (AC97_DATA_AVAIL)) != 0)
if ((inb(chip->port+AC97_STATUS) & (AC97_BUSY)) == 0)
while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo)
for (tmo = 5; (RD(ctx, AC97_STATUS) & STAT_CP) && tmo; tmo--)
for (tmo = 10; (RD(ctx, AC97_STATUS) & STAT_CP) && tmo; tmo--)
while (((RD(ctx, AC97_STATUS) & STAT_RD) == 0) && --i)
while ((RD(ctx, AC97_STATUS) & STAT_CP) && --tmo)