Searched defs:rev (Results 1 - 3 of 3) sorted by relevance

/system/libufdt/utils/src/
H A Ddt_table.h51 uint32_t rev; /* optional, must be zero if unused */ member in struct:dt_table_entry
H A Dmkdtimg_core.c34 char rev[OPTION_VALUE_SIZE_MAX]; member in struct:dt_options
212 entry.rev = get_fdt32_from_number_or_prop(fdt, options->rev);
267 } else if (strcmp(option, "rev") == 0) {
268 strncpy(options->rev, value, OPTION_VALUE_SIZE_MAX - 1);
/system/core/storaged/
H A Dstoraged_info.cpp61 uint16_t rev = 0; local
63 if (!ReadFileToString(emmc_sysfs + "rev", &buffer)) {
67 if (sscanf(buffer.c_str(), "0x%hx", &rev) < 1 ||
68 rev < 7 || rev > ARRAY_SIZE(emmc_ver_str)) {
73 version += emmc_ver_str[rev];
105 uint16_t rev = 0; local
113 if (!ParseUint(str, &rev) ||
114 rev < 7 || rev > ARRAY_SIZ
151 char rev[8]; local
[all...]

Completed in 82 milliseconds