Lines Matching refs:waitdelay

59 	int waitdelay;  member
117 static int wait_for_bb(struct i2c *i2c_base, int waitdelay) argument
131 udelay(waitdelay);
147 static u16 wait_for_event(struct i2c *i2c_base, int waitdelay) argument
153 udelay(waitdelay);
200 int *waitdelay) argument
251 *waitdelay = (10000000 / speed) * 2; /* wait for 20 clkperiods */
308 int *waitdelay) argument
331 if (0 != __omap24_i2c_setspeed(i2c_base, speed, waitdelay)) {
352 if (wait_for_bb(i2c_base, *waitdelay))
364 static int __omap24_i2c_probe(struct i2c *i2c_base, int waitdelay, uchar chip) argument
373 if (wait_for_bb(i2c_base, waitdelay))
382 status = wait_for_event(i2c_base, waitdelay);
401 udelay(waitdelay);/* Required by AM335X in SPL */
427 static int __omap24_i2c_read(struct i2c *i2c_base, int waitdelay, uchar chip, argument
474 if (wait_for_bb(i2c_base, waitdelay))
495 status = wait_for_event(i2c_base, waitdelay);
535 status = wait_for_event(i2c_base, waitdelay);
568 static int __omap24_i2c_write(struct i2c *i2c_base, int waitdelay, uchar chip, argument
620 if (wait_for_bb(i2c_base, waitdelay))
633 status = wait_for_event(i2c_base, waitdelay);
660 status = wait_for_event(i2c_base, waitdelay);
682 status = wait_for_event(i2c_base, waitdelay);
735 return __omap24_i2c_read(i2c_base, adap->waitdelay, chip, addr,
745 return __omap24_i2c_write(i2c_base, adap->waitdelay, chip, addr,
754 ret = __omap24_i2c_setspeed(i2c_base, speed, &adap->waitdelay);
769 return __omap24_i2c_init(i2c_base, speed, slaveadd, &adap->waitdelay);
776 return __omap24_i2c_probe(i2c_base, adap->waitdelay, chip);
850 ret = __omap24_i2c_read(priv->regs, priv->waitdelay,
854 ret = __omap24_i2c_write(priv->regs, priv->waitdelay,
873 return __omap24_i2c_setspeed(priv->regs, speed, &priv->waitdelay);
881 return __omap24_i2c_probe(priv->regs, priv->waitdelay, chip_addr);
888 __omap24_i2c_init(priv->regs, priv->speed, 0, &priv->waitdelay);