Searched refs:type_str (Results 1 – 2 of 2) sorted by relevance
106 static int type_string_get_num_values(const char *type_str) in type_string_get_num_values() argument108 return strlen(type_str); in type_string_get_num_values()118 static size_t type_string_get_space_size(const char *type_str) in type_string_get_space_size() argument122 for (size = 0; *type_str; type_str++) { in type_string_get_space_size()123 switch (*type_str) { in type_string_get_space_size()149 static void *type_string_alloc(const char *type_str, uint32_t *count) in type_string_alloc() argument154 size = type_string_get_space_size(type_str); in type_string_alloc()173 static int type_string_pack(const char *type_str, char * const values[], in type_string_pack() argument179 for (offset = 0; *type_str; type_str++, values++) { in type_string_pack()181 switch (*type_str) { in type_string_pack()[all …]
990 const char *type_str; in display_sdram_details() local1002 type_str = get_lpddr2_type(device->type); in display_sdram_details()1010 if (mfg_str && type_str) in display_sdram_details()1011 debug("%s\t\t%s\t%s\n", mfg_str, type_str, density_str); in display_sdram_details()