Home | History | Annotate | Download | only in dev

Lines Matching defs:ee_size

65 static int ee_size;     /* size of usable part. */
102 ee_size = EEPROM_SIZE;
103 eeprom_va = bus_mapin(ca->ca_bustype, ca->ca_paddr, ee_size);
108 eeprom_copy = kmem_alloc(ee_size, KM_SLEEP);
113 * Reduce ee_size and clear the last part of the
114 * soft copy. Note: ee_update obeys ee_size.
117 ee_size -= 40;
122 lim = dst + ee_size;
128 if (ee_size < EEPROM_SIZE) {
130 memset(dst, 0, (EEPROM_SIZE - ee_size));
216 * ee_size < EEPROM_SIZE
218 if (cnt > (ee_size - off))
219 cnt = (ee_size - off);