Lines Matching refs:byte_len
92 if (unlikely(offset >= at25->chip.byte_len)) in at25_ee_read()
94 if ((offset + count) > at25->chip.byte_len) in at25_ee_read()
95 count = at25->chip.byte_len - offset; in at25_ee_read()
207 if (unlikely(off >= at25->chip.byte_len)) in at25_ee_write()
209 if ((off + count) > at25->chip.byte_len) in at25_ee_write()
210 count = at25->chip.byte_len - off; in at25_ee_write()
335 chip->byte_len = val; in at25_fw_to_chip()
401 chip->byte_len = BIT(id[7] - 0x21 + 4) * 1024; in at25_fram_to_chip()
402 if (chip->byte_len > 64 * 1024) in at25_fram_to_chip()
499 at25->nvmem_config.size = at25->chip.byte_len; in at25_probe()
506 (at25->chip.byte_len < 1024) ? in at25_probe()
507 at25->chip.byte_len : (at25->chip.byte_len / 1024), in at25_probe()
508 (at25->chip.byte_len < 1024) ? "Byte" : "KByte", in at25_probe()