if (saa7146_read(dev, MC2) & 2) break; if (time_after(jiffies, start + HZ/20)) { 
err = time_after(jiffies, start + HZ/20); if (saa7146_read(dev, MC2) & 2) break; if (err) { 
int saa7146_wait_for_debi_done(struct saa7146_dev *dev, int nobusyloop){	unsigned long start;	/* wait for registers to be programmed */	start = jiffies;	while (1) {                if (saa7146_read(dev, MC2) & 2)                        break;		if (time_after(jiffies, start + HZ/20)) {			DEB_S(("timed out while waiting for registers getting programmed\n"));			return -ETIMEDOUT;		}		if (nobusyloop)			msleep(1);	}	/* wait for transfer to complete */	start = jiffies;	while (1) {		if (!(saa7146_read(dev, PSR) & SPCI_DEBI_S))			break;		saa7146_read(dev, MC2);		if (time_after(jiffies, start + HZ/4)) {			DEB_S(("timed out while waiting for transfer completion\n"));			return -ETIMEDOUT;		}		if (nobusyloop)			msleep(1);	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/25de192660627e1e8dc8ee6a120ff8b54d108593/saa7146_core.c/clean/drivers/media/common/saa7146_core.c