Searched refs:tlv (Results 1 – 1 of 1) sorted by relevance
/u-boot/cmd/ |
A D | tlv_eeprom.c | 73 return((tlv->type != 0x00) && (tlv->type != 0xFF)); in is_valid_tlv() 296 switch (tlv->type) { in decode_tlv() 309 memcpy(value, tlv->value, tlv->length); in decode_tlv() 310 value[tlv->length] = 0; in decode_tlv() 314 tlv->value[0], tlv->value[1], tlv->value[2], in decode_tlv() 315 tlv->value[3], tlv->value[4], tlv->value[5]); in decode_tlv() 318 sprintf(value, "%u", tlv->value[0]); in decode_tlv() 321 sprintf(value, "%u", (tlv->value[0] << 8) | tlv->value[1]); in decode_tlv() 332 tlv->value[0], tlv->value[1], in decode_tlv() 333 tlv->value[2], tlv->value[3]); in decode_tlv() [all …]
|
Completed in 4 milliseconds