Lines Matching defs:count
75 unsigned int offset, size_t count)
79 if (count > I2C_SMBUS_BLOCK_MAX)
80 count = I2C_SMBUS_BLOCK_MAX;
82 if (unlikely(offset + count > EE1004_PAGE_SIZE))
83 count = EE1004_PAGE_SIZE - offset;
86 count, buf);
87 dev_dbg(&client->dev, "read %zu@%d --> %d\n", count, offset, status);
94 char *buf, loff_t off, size_t count)
98 size_t requested = count;
101 if (unlikely(!count))
102 return count;
115 while (count) {
143 status = ee1004_eeprom_read(client, buf, off, count);
150 count -= status;