/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | dram_sun4i.c | 429 static void dramc_set_autorefresh_cycle(u32 clk, u32 density) in dramc_set_autorefresh_cycle() argument 434 tRFC = (tRFC_DDR3_table[density] * clk + 999) / 1000; in dramc_set_autorefresh_cycle() 565 u32 density; in dramc_init_helper() local 598 if (para->density == 256) in dramc_init_helper() 599 density = DRAM_DCR_CHIP_DENSITY_256M; in dramc_init_helper() 600 else if (para->density == 512) in dramc_init_helper() 601 density = DRAM_DCR_CHIP_DENSITY_512M; in dramc_init_helper() 602 else if (para->density == 1024) in dramc_init_helper() 603 density = DRAM_DCR_CHIP_DENSITY_1024M; in dramc_init_helper() 604 else if (para->density == 2048) in dramc_init_helper() [all …]
|
/openbmc/qemu/hw/i2c/ |
H A D | smbus_eeprom.c | 199 uint16_t density; in spd_data_generate() local 240 density = 1ULL << (sz_log2 - 2); in spd_data_generate() 243 density = (density & 0xe0) | (density >> 8 & 0x1f); in spd_data_generate() 246 density = (density & 0xf8) | (density >> 8 & 0x07); in spd_data_generate() 250 density &= 0xff; in spd_data_generate() 286 spd[31] = density; in spd_data_generate()
|
/openbmc/u-boot/drivers/mtd/onenand/ |
H A D | onenand_spl.c | 61 unsigned int dev_id, density, size; in onenand_spl_get_geometry() local 65 density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT; in onenand_spl_get_geometry() 66 density &= ONENAND_DEVICE_DENSITY_MASK; in onenand_spl_get_geometry() 68 if (density < ONENAND_DEVICE_DENSITY_4Gb) in onenand_spl_get_geometry() 73 density_mask = 1 << (18 + density - ffs(size)); in onenand_spl_get_geometry()
|
H A D | onenand_base.c | 311 int density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT; in onenand_get_density() local 312 return (density & ONENAND_DEVICE_DENSITY_MASK); in onenand_get_density() 2143 unsigned int density, process; in onenand_check_features() local 2146 density = onenand_get_density(this->device_id); in onenand_check_features() 2150 switch (density) { in onenand_check_features() 2206 int vcc, demuxed, ddp, density, flexonenand; in onenand_print_device_info() local 2213 density = onenand_get_density(device); in onenand_print_device_info() 2219 (16 << density), vcc ? "2.65/3.3" : "1.8", device); in onenand_print_device_info() 2313 int die, i, eraseshift, density; in flexonenand_get_size() local 2317 density = onenand_get_density(this->device_id); in flexonenand_get_size() [all …]
|
/openbmc/linux/drivers/memory/ |
H A D | emif.c | 280 u32 index, type, density; in get_addressing_table() local 283 density = device_info->density; in get_addressing_table() 287 index = density - 1; in get_addressing_table() 290 switch (density) { in get_addressing_table() 293 index = density + 3; in get_addressing_table() 296 index = density - 1; in get_addressing_table() 788 static int is_dev_data_valid(u32 type, u32 density, u32 io_width, u32 phy_type, in is_dev_data_valid() argument 795 && (density >= DDR_DENSITY_64Mb in is_dev_data_valid() 796 && density <= DDR_DENSITY_8Gb) in is_dev_data_valid() 891 u32 density = 0, io_width = 0; in of_get_ddr_info() local [all …]
|
H A D | jedec_ddr.h | 199 unsigned int density : 4; member 211 int density; member
|
H A D | of_memory.c | 345 err = of_property_read_u32(np, "density", &info.density); in of_lpddr2_get_info() 349 info.density = ffs(info.density) - 7; in of_lpddr2_get_info()
|
/openbmc/u-boot/arch/x86/cpu/quark/ |
H A D | mrc.c | 108 (dram_params[0].density == 4) && in mrc_adjust_params() 120 mrc_params->row_bits[0] = 12 + dram_params[0].density + in mrc_adjust_params() 121 (dram_params[0].density < 4) && in mrc_adjust_params() 140 mrc_params->channel_size[0] = 1 << dram_params[0].density; in mrc_adjust_params()
|
H A D | dram.c | 101 mrc_params->params.density = fdtdec_get_int(blob, node, in mrc_configure_params() 116 mrc_params->params.density, mrc_params->params.cl, in mrc_configure_params()
|
/openbmc/linux/drivers/scsi/ |
H A D | sr_vendor.c | 129 int rc, density = 0; in sr_set_blocklength() local 132 density = (blocklength > 2048) ? 0x81 : 0x83; in sr_set_blocklength() 139 sr_printk(KERN_INFO, cd, "MODE SELECT 0x%x/%d\n", density, blocklength); in sr_set_blocklength() 148 modesel->density = density; in sr_set_blocklength()
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | emif-common.c | 571 s8 addressing_table_index(u8 type, u8 density, u8 width) in addressing_table_index() argument 574 if ((density > LPDDR2_DENSITY_8Gb) || (width == LPDDR2_IO_WIDTH_8)) in addressing_table_index() 584 if ((type == LPDDR2_TYPE_S2) && (density == LPDDR2_DENSITY_1Gb)) in addressing_table_index() 586 else if ((type == LPDDR2_TYPE_S2) && (density == LPDDR2_DENSITY_2Gb)) in addressing_table_index() 589 index = density; in addressing_table_index() 876 temp = dev_details.cs0_device_details->density; in get_emif_mem_size() 881 temp = dev_details.cs1_device_details->density; in get_emif_mem_size() 952 cs0_dev_details->density, in emif_calculate_regs() 1078 u32 density; in display_sdram_details() local 1090 density = lpddr2_density_2_size_in_mbytes[device->density]; in display_sdram_details() [all …]
|
/openbmc/u-boot/board/freescale/mx6memcal/ |
H A D | spl.c | 247 .density = 8, 261 .density = 2, 275 .density = 4, 289 .density = 2, 303 .density = 4, 317 .density = 4,
|
/openbmc/linux/Documentation/arch/arm/sa1100/ |
H A D | serial_uart.rst | 13 > Okay. Note that device numbers 204 and 205 are used for "low density 20 > 204 char Low-density serial ports 25 > 205 char Low-density serial ports (alternate device)
|
/openbmc/qemu/hw/mips/ |
H A D | malta.c | 219 uint16_t density = 0; in generate_eeprom_spd() local 228 density |= 1 << (sz_log2 - 2); in generate_eeprom_spd() 233 if ((nbanks == 1) && (density > 1)) { in generate_eeprom_spd() 235 density >>= 1; in generate_eeprom_spd() 238 if (density & 0xff00) { in generate_eeprom_spd() 239 density = (density & 0xe0) | ((density >> 8) & 0x1f); in generate_eeprom_spd() 241 } else if (!(density & 0x1f)) { in generate_eeprom_spd() 255 spd[31] = density; in generate_eeprom_spd()
|
/openbmc/u-boot/board/gateworks/gw_ventana/ |
H A D | gw_ventana_spl.c | 151 .density = 1, 165 .density = 2, 179 .density = 4, 193 .density = 8,
|
/openbmc/u-boot/board/synopsys/iot_devkit/ |
H A D | config.mk | 1 PLATFORM_CPPFLAGS += -mlittle-endian -mcode-density -mdiv-rem -mswap -mnorm -mmpy-option=6 -mbarrel…
|
/openbmc/u-boot/arch/arm/mach-imx/mx6/ |
H A D | opos6ul.c | 199 .density = 2, 244 mem_ddr.density = 4; in spl_dram_init()
|
/openbmc/linux/drivers/mtd/nand/onenand/ |
H A D | onenand_base.c | 368 int density = dev_id >> ONENAND_DEVICE_DENSITY_SHIFT; in onenand_get_density() local 369 return (density & ONENAND_DEVICE_DENSITY_MASK); in onenand_get_density() 3044 int density; in onenand_otp_walk() local 3049 density = onenand_get_density(this->device_id); in onenand_otp_walk() 3050 if (density < ONENAND_DEVICE_DENSITY_512Mb) in onenand_otp_walk() 3254 unsigned int density, process, numbufs; in onenand_check_features() local 3257 density = onenand_get_density(this->device_id); in onenand_check_features() 3262 switch (density) { in onenand_check_features() 3342 int vcc, demuxed, ddp, density, flexonenand; in onenand_print_device_info() local 3347 density = onenand_get_density(device); in onenand_print_device_info() [all …]
|
/openbmc/u-boot/board/sunxi/ |
H A D | dram_sun4i_auto.c | 8 .density = 0,
|
H A D | dram_sun5i_auto.c | 11 .density = 0,
|
/openbmc/u-boot/board/liebherr/mccmon6/ |
H A D | spl.c | 133 .density = 4, 147 .density = 2,
|
/openbmc/u-boot/arch/arm/mach-omap2/omap4/ |
H A D | sdram_elpida.c | 151 .density = LPDDR2_DENSITY_2Gb, 158 .density = LPDDR2_DENSITY_4Gb,
|
/openbmc/u-boot/board/compulab/cm_fx6/ |
H A D | spl.c | 111 .density = 4, 180 .density = 4,
|
/openbmc/linux/include/linux/platform_data/ |
H A D | emif_plat.h | 57 u32 density; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | adfs_fs.h | 15 __u8 density; member
|