Searched refs:hex_str (Results 1 – 3 of 3) sorted by relevance
104 static void hex_str(char *out, uint32_t value) in hex_str() function206 hex_str(serno, atag->u.serialnr.high); in atags_to_fdt()207 hex_str(serno+8, atag->u.serialnr.low); in atags_to_fdt()
146 hex_str = value.to_bytes(4, byteorder='little', signed=True)147 return ' '.join(f'{byte:02x}' for byte in hex_str)
1289 static const char hex_str[] = "0123456789abcdef"; in transport_set_vpd_ident() local1301 hex_str[vpd->device_identifier_type]; in transport_set_vpd_ident()1304 hex_str[(page_83[i] & 0xf0) >> 4]; in transport_set_vpd_ident()1306 hex_str[page_83[i] & 0x0f]; in transport_set_vpd_ident()