Lines Matching refs:density
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
905 of_property_read_u32(np_ddr, "density", &density); in of_get_ddr_info()
909 if (density & (density - 1)) in of_get_ddr_info()
910 dev_info->density = 0; in of_get_ddr_info()
912 dev_info->density = __fls(density) - 5; in of_get_ddr_info()
960 if (!is_dev_data_valid(pd->device_info->type, pd->device_info->density, in of_get_memory_device_details()
1018 pd->device_info->density, pd->device_info->io_width, in get_device_details()