Home
last modified time | relevance | path

Searched refs:spd_data (Results 1 – 10 of 10) sorted by relevance

/external/u-boot/drivers/ddr/marvell/a38x/
Dmv_ddr_spd.c16 int mv_ddr_spd_supported_cls_calc(union mv_ddr_spd_data *spd_data) in mv_ddr_spd_supported_cls_calc() argument
20 start_cl = (spd_data->all_bytes[23] & 0x8) ? 23 : 7; in mv_ddr_spd_supported_cls_calc()
24 if (spd_data->all_bytes[byte] & (1 << bit)) in mv_ddr_spd_supported_cls_calc()
32 if (spd_data->all_bytes[byte] & (1 << bit)) in mv_ddr_spd_supported_cls_calc()
58 int mv_ddr_spd_timing_calc(union mv_ddr_spd_data *spd_data, unsigned int timing_data[]) in mv_ddr_spd_timing_calc() argument
63 calc_val = spd_data->byte_fields.byte_18 * MV_DDR_SPD_DATA_MTB + in mv_ddr_spd_timing_calc()
64 (signed char)spd_data->byte_fields.byte_125 * MV_DDR_SPD_DATA_FTB; in mv_ddr_spd_timing_calc()
70 calc_val = spd_data->byte_fields.byte_24 * MV_DDR_SPD_DATA_MTB + in mv_ddr_spd_timing_calc()
71 (signed char)spd_data->byte_fields.byte_123 * MV_DDR_SPD_DATA_FTB; in mv_ddr_spd_timing_calc()
77 timing_data[MV_DDR_TRFC1_MIN] = (spd_data->byte_fields.byte_30 + in mv_ddr_spd_timing_calc()
[all …]
Dmv_ddr_spd.h277 int mv_ddr_spd_timing_calc(union mv_ddr_spd_data *spd_data, unsigned int timing_data[]);
278 enum mv_ddr_dev_width mv_ddr_spd_dev_width_get(union mv_ddr_spd_data *spd_data);
279 enum mv_ddr_die_capacity mv_ddr_spd_die_capacity_get(union mv_ddr_spd_data *spd_data);
280 unsigned char mv_ddr_spd_mem_mirror_get(union mv_ddr_spd_data *spd_data);
281 unsigned char mv_ddr_spd_cs_bit_mask_get(union mv_ddr_spd_data *spd_data);
282 unsigned char mv_ddr_spd_dev_type_get(union mv_ddr_spd_data *spd_data);
283 unsigned char mv_ddr_spd_module_type_get(union mv_ddr_spd_data *spd_data);
284 int mv_ddr_spd_supported_cls_calc(union mv_ddr_spd_data *spd_data);
286 enum mv_ddr_pkg_rank mv_ddr_spd_pri_bus_width_get(union mv_ddr_spd_data *spd_data);
287 enum mv_ddr_pkg_rank mv_ddr_spd_bus_width_ext_get(union mv_ddr_spd_data *spd_data);
Dmv_ddr_topology.c57 val = mv_ddr_spd_dev_type_get(&tm->spd_data); in mv_ddr_topology_map_update()
64 if (mv_ddr_spd_timing_calc(&tm->spd_data, tm->timing_data) > 0) { in mv_ddr_topology_map_update()
70 tm->interface_params[0].bus_width = mv_ddr_spd_dev_width_get(&tm->spd_data); in mv_ddr_topology_map_update()
73 tm->interface_params[0].memory_size = mv_ddr_spd_die_capacity_get(&tm->spd_data); in mv_ddr_topology_map_update()
79 val = mv_ddr_spd_cs_bit_mask_get(&tm->spd_data); in mv_ddr_topology_map_update()
85 val = mv_ddr_spd_module_type_get(&tm->spd_data); in mv_ddr_topology_map_update()
100 val = mv_ddr_spd_mem_mirror_get(&tm->spd_data); in mv_ddr_topology_map_update()
115 mv_ddr_spd_supported_cls_calc(&tm->spd_data); in mv_ddr_topology_map_update()
147 enum mv_ddr_pri_bus_width pri_bus_width = mv_ddr_spd_pri_bus_width_get(&tm->spd_data); in mv_ddr_bus_bit_mask_get()
148 enum mv_ddr_bus_width_ext bus_width_ext = mv_ddr_spd_bus_width_ext_get(&tm->spd_data); in mv_ddr_bus_bit_mask_get()
Dddr_topology_def.h89 union mv_ddr_spd_data spd_data; member
/external/u-boot/drivers/ddr/marvell/axp/
Dddr3_spd.c189 extern u8 spd_data[SPD_SIZE];
248 memset(spd_data, 0, SPD_SIZE * sizeof(u8)); in ddr3_spd_init()
250 ret = i2c_read(dimm_addr, 0, 1, (uchar *)spd_data, SPD_SIZE); in ddr3_spd_init()
256 if (spd_data[SPD_DEV_TYPE_BYTE] != SPD_MEM_TYPE_DDR3) in ddr3_spd_init()
264 if ((spd_data[SPD_BUS_WIDTH_BYTE] & 0x18) >> 3) in ddr3_spd_init()
268 switch (spd_data[SPD_MODULE_TYPE_BYTE]) { in ddr3_spd_init()
279 info->type_info = (spd_data[SPD_MODULE_TYPE_BYTE]); in ddr3_spd_init()
287 (spd_data[SPD_ROW_NUM_BYTE] & SPD_ROW_NUM_MASK) >> in ddr3_spd_init()
294 (spd_data[SPD_COL_NUM_BYTE] & SPD_COL_NUM_MASK) >> in ddr3_spd_init()
301 (spd_data[SPD_MODULE_ORG_BYTE] & SPD_MODULE_BANK_NUM_MASK) >> in ddr3_spd_init()
[all …]
Dddr3_axp_vars.h90 u8 spd_data[SPD_SIZE] = { variable
/external/u-boot/arch/x86/cpu/broadwell/
Dsdram.c200 const void *spd_data; in dram_init() local
230 ret = mrc_locate_spd(dev, size, &spd_data); in dram_init()
233 memcpy(pei_data->spd_data[0][0], spd_data, size); in dram_init()
234 memcpy(pei_data->spd_data[1][0], spd_data, size); in dram_init()
/external/u-boot/arch/x86/cpu/ivybridge/
Dsdram.c210 ret = mrc_locate_spd(dev, sizeof(peid->spd_data[0]), &data); in copy_spd()
216 memcpy(peid->spd_data[0], data, sizeof(peid->spd_data[0])); in copy_spd()
/external/u-boot/arch/x86/include/asm/arch-ivybridge/
Dpei_data.h95 uint8_t spd_data[4][256]; member
/external/u-boot/arch/x86/include/asm/arch-broadwell/
Dpei_data.h131 uint8_t spd_data[2][2][512]; member