Lines Matching defs:sectors
55 nr-sectors = <integer> (required)
58 the number of sectors in the EEPROM component.
66 NOTE: The product nr-sectors * sector-size does not need to map the
80 When erasing sectors, the number of clock ticks after the sector
124 | -o '/eeprom@0xfff00000/nr-sectors 8' \
194 uint8_t *sectors;
221 /* figure out the sectors in the eeprom */
222 if (eeprom->sectors == NULL) {
223 eeprom->nr_sectors = device_find_integer_property(me, "nr-sectors");
225 eeprom->sectors = zalloc(eeprom->nr_sectors);
228 memset(eeprom->sectors, 0, eeprom->nr_sectors);
388 eeprom->sectors[sector] = 1;
406 if (eeprom->sectors[sector]) {
407 eeprom->sectors[sector] = 0;
479 else if (!eeprom->sectors[address / eeprom->sizeof_sector]) {
492 if (!eeprom->sectors[address / eeprom->sizeof_sector]) {