Lines Matching refs:AT24_FLAG_ADDR16
29 #define AT24_FLAG_ADDR16 BIT(7) macro
193 AT24_CHIP_DATA(at24_data_24c32, 32768 / 8, AT24_FLAG_ADDR16);
195 AT24_FLAG_ADDR16 | AT24_FLAG_SERIAL | AT24_FLAG_READONLY);
196 AT24_CHIP_DATA(at24_data_24c64, 65536 / 8, AT24_FLAG_ADDR16);
198 AT24_FLAG_ADDR16 | AT24_FLAG_SERIAL | AT24_FLAG_READONLY);
199 AT24_CHIP_DATA(at24_data_24c128, 131072 / 8, AT24_FLAG_ADDR16);
200 AT24_CHIP_DATA(at24_data_24c256, 262144 / 8, AT24_FLAG_ADDR16);
201 AT24_CHIP_DATA(at24_data_24c512, 524288 / 8, AT24_FLAG_ADDR16);
202 AT24_CHIP_DATA(at24_data_24c1024, 1048576 / 8, AT24_FLAG_ADDR16);
203 AT24_CHIP_DATA_BS(at24_data_24c1025, 1048576 / 8, AT24_FLAG_ADDR16, 2);
204 AT24_CHIP_DATA(at24_data_24c2048, 2097152 / 8, AT24_FLAG_ADDR16);
289 if (at24->flags & AT24_FLAG_ADDR16) { in at24_translate_offset()
317 bits = (at24->flags & AT24_FLAG_ADDR16) ? 16 : 8; in at24_adjust_read_count()
566 } else if (flags & AT24_FLAG_SERIAL && flags & AT24_FLAG_ADDR16) { in at24_get_offset_adj()
627 if (flags & AT24_FLAG_ADDR16) in at24_probe()
630 flags &= ~AT24_FLAG_ADDR16; in at24_probe()
633 flags |= AT24_FLAG_ADDR16; in at24_probe()
662 (flags & AT24_FLAG_ADDR16) ? 65536 : 256); in at24_probe()
672 regmap_config.reg_bits = (flags & AT24_FLAG_ADDR16) ? 16 : 8; in at24_probe()