Searched refs:dimm_cnt (Results 1 – 3 of 3) sorted by relevance
585 __maybe_unused u32 dimm_cnt, cs_count, dimm; local895 dimm_cnt = 0;898 if (dimm_info[dimm_cnt].num_of_module_ranks == cs_count) {899 dimm_cnt++;903 if (dimm_info[dimm_cnt].sdram_capacity < 0x3) {904 reg |= ((dimm_info[dimm_cnt].sdram_capacity + 1) <<907 } else if (dimm_info[dimm_cnt].sdram_capacity > 0x3) {908 reg |= ((dimm_info[dimm_cnt].sdram_capacity & 0x3) <<911 reg |= ((dimm_info[dimm_cnt].sdram_capacity & 0x4) <<919 dimm_cnt = 0;[all …]
840 static void smbios_build_type_16_table(unsigned dimm_cnt) in smbios_build_type_16_table() argument858 t->number_of_memory_devices = cpu_to_le16(dimm_cnt); in smbios_build_type_16_table()1095 unsigned i, dimm_cnt, offset; in smbios_get_tables_ep() local1127 #define GET_DIMM_SZ ((i < dimm_cnt - 1) ? mc->smbios_memory_device_size \ in smbios_get_tables_ep()1130 dimm_cnt = QEMU_ALIGN_UP(current_machine->ram_size, in smbios_get_tables_ep()1141 offset = (dimm_cnt > (T19_BASE - T17_BASE)) ? \ in smbios_get_tables_ep()1142 dimm_cnt - (T19_BASE - T17_BASE) : 0; in smbios_get_tables_ep()1144 smbios_build_type_16_table(dimm_cnt); in smbios_get_tables_ep()1146 for (i = 0; i < dimm_cnt; i++) { in smbios_get_tables_ep()
39 uint8_t dimm_cnt; member