Lines Matching refs:write_max
70 unsigned write_max; member
318 if (count > at24->write_max) in at24_eeprom_write()
319 count = at24->write_max; in at24_eeprom_write()
592 unsigned write_max = chip.page_size; in at24_probe() local
599 if (write_max > io_limit) in at24_probe()
600 write_max = io_limit; in at24_probe()
601 if (use_smbus && write_max > I2C_SMBUS_BLOCK_MAX) in at24_probe()
602 write_max = I2C_SMBUS_BLOCK_MAX; in at24_probe()
603 at24->write_max = write_max; in at24_probe()
607 write_max + 2, GFP_KERNEL); in at24_probe()
638 writable ? "writable" : "read-only", at24->write_max); in at24_probe()