Home
last modified time | relevance | path

Searched refs:spins (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/net/ethernet/sfc/
Dmdio_10g.c35 int spins, int spintime) in efx_mdio_reset_mmd() argument
40 EFX_BUG_ON_PARANOID(spins * spintime >= 5000); in efx_mdio_reset_mmd()
47 spins--; in efx_mdio_reset_mmd()
49 } while (spins && (ctrl & MDIO_CTRL1_RESET)); in efx_mdio_reset_mmd()
51 return spins ? spins : -ETIMEDOUT; in efx_mdio_reset_mmd()
Dmdio_10g.h68 int spins, int spintime);
Dmcdi.c126 unsigned int rc, spins; in efx_mcdi_poll() local
138 spins = TICK_USEC; in efx_mcdi_poll()
142 if (spins != 0) { in efx_mcdi_poll()
143 --spins; in efx_mcdi_poll()
/linux-3.4.99/drivers/i2c/busses/
Di2c-nuc900.c416 int spins = 20; in nuc900_i2c_doxfer() local
457 } while ((iicstat & I2CBUSY) && --spins); in nuc900_i2c_doxfer()
460 if (!spins) { in nuc900_i2c_doxfer()
Di2c-s3c2410.c495 int spins = 20; in s3c24xx_i2c_doxfer() local
540 } while ((iicstat & S3C2410_IICSTAT_START) && --spins); in s3c24xx_i2c_doxfer()
543 if (!spins) { in s3c24xx_i2c_doxfer()