Searched refs:hex_str (Results 1 – 4 of 4) 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()
4872 unsigned char hex_str[16 * 3]; in ibmvnic_print_hex_dump() local4876 hex_str, sizeof(hex_str), false); in ibmvnic_print_hex_dump()4877 netdev_dbg(dev, "%s\n", hex_str); in ibmvnic_print_hex_dump()