Lines Matching defs:count
102 unsigned int offset, size_t count)
114 if (offset + count > EE1004_PAGE_SIZE)
115 count = EE1004_PAGE_SIZE - offset;
117 if (count > I2C_SMBUS_BLOCK_MAX)
118 count = I2C_SMBUS_BLOCK_MAX;
120 return i2c_smbus_read_i2c_block_data_or_emulated(client, offset, count, buf);
125 char *buf, loff_t off, size_t count)
128 size_t requested = count;
137 while (count) {
138 ret = ee1004_eeprom_read(client, buf, off, count);
144 count -= ret;