Searched refs:write_max (Results 1 – 2 of 2) sorted by relevance
82 unsigned int write_max; member341 if (count > at24->write_max) in at24_adjust_write_count()342 count = at24->write_max; in at24_adjust_write_count()671 at24->write_max = min_t(unsigned int, in at24_probe()673 if (!i2c_fn_i2c && at24->write_max > I2C_SMBUS_BLOCK_MAX) in at24_probe()674 at24->write_max = I2C_SMBUS_BLOCK_MAX; in at24_probe()721 writable ? "writable" : "read-only", at24->write_max); in at24_probe()
1185 static NVM_DEV_ATTR_20_RO(write_max);