Searched refs:write_max (Results 1 – 2 of 2) sorted by relevance
69 unsigned int write_max; member337 if (count > at24->write_max) in at24_adjust_write_count()338 count = at24->write_max; in at24_adjust_write_count()688 at24->write_max = min_t(unsigned int, in at24_probe()690 if (!i2c_fn_i2c && at24->write_max > I2C_SMBUS_BLOCK_MAX) in at24_probe()691 at24->write_max = I2C_SMBUS_BLOCK_MAX; in at24_probe()742 writable ? "writable" : "read-only", at24->write_max); in at24_probe()
1240 static NVM_DEV_ATTR_20_RO(write_max);