Lines Matching defs:dimm

285 fbd_eeprom(int channel, int dimm, nb_dimm_t *dp)
290 t = read_spd_eeprom(channel, dimm, 0) & 0xf;
297 dp->manufacture_id = read_spd_eeprom(channel, dimm, 117) |
298 (read_spd_eeprom(channel, dimm, 118) << 8);
299 dp->manufacture_location = read_spd_eeprom(channel, dimm, 119);
301 (read_spd_eeprom(channel, dimm, 122) << 24) |
302 (read_spd_eeprom(channel, dimm, 123) << 16) |
303 (read_spd_eeprom(channel, dimm, 124) << 8) |
304 read_spd_eeprom(channel, dimm, 125);
305 t = read_spd_eeprom(channel, dimm, 121);
307 dp->manufacture_year = read_spd_eeprom(channel, dimm, 120);
311 read_spd_eeprom(channel, dimm, 128 + i);
315 read_spd_eeprom(channel, dimm, 146 + i);
320 /* read the manR of the DDR2 dimm */
322 ddr2_eeprom(int channel, int dimm, nb_dimm_t *dp)
327 slave = channel & 0x1 ? dimm + 4 : dimm;
349 (read_spd_eeprom(channel, dimm, 65) << 8);
380 nb_dimm_present(int channel, int dimm)
386 slave = channel & 0x1 ? dimm + 4 : dimm;
387 /* read the type field from the dimm and check for DDR2 type */
392 rc = MTR_PRESENT(MTR_RD(channel, dimm));
399 nb_ddr2_dimm_init(int channel, int dimm, int start_rank)
403 if (nb_dimm_present(channel, dimm) == B_FALSE)
408 ddr2_eeprom(channel, dimm, dp);
410 /* The 1st rank of the dimm takes on this value */
419 nb_fbd_dimm_init(int channel, int dimm, uint16_t mtr)
426 t = read_spd_eeprom(channel, dimm, SPD_MEM_TYPE) & 0xf;
428 /* check for the dimm type */
434 fbd_eeprom(channel, dimm, dp);
437 dp->start_rank = dimm << 1;
672 * if there is no physical dimm for this smbios
731 x8450_dimm_label(int dimm, char *label, int label_sz)
733 int channel = dimm >> 3;
735 dimm = dimm & 0x7;
736 (void) snprintf(label, label_sz, "D%d", (dimm * 4) + channel);
750 cp3250_dimm_label(int dimm, char *label, int label_sz)
752 int channel = dimm / nb_dimms_per_channel;
754 dimm = dimm % nb_dimms_per_channel;
756 dimm);
760 * Map the rank id to dimm id of a channel
761 * For the 5100 chipset, walk through the dimm list of channel the check if
762 * the given rank id is within the rank range assigned to the dimm.
763 * For other chipsets, the dimm is rank/2.
809 /* The 1st dimm of a channel starts at rank 0 */
825 * single-ranked dimm still takes on two ranks.