Home
last modified time | relevance | path

Searched refs:tohex (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/tools/gdb/
H A Dremote.c357 tohex (int nib) in tohex() function
561 *p++ = tohex ((myaddr[i] >> 4) & 0xf);
562 *p++ = tohex (myaddr[i] & 0xf);
658 *p++ = tohex ((csum >> 4) & 0xf);
659 *p++ = tohex (csum & 0xf);
/openbmc/qemu/gdbstub/
H A Dinternals.h95 static inline int tohex(int v) in tohex() function
H A Dgdbstub.c85 g_string_append_c(buf, tohex(c >> 4)); in gdb_memtohex()
86 g_string_append_c(buf, tohex(c & 0xf)); in gdb_memtohex()
123 line_buffer[hex_col + 0] = tohex((value >> 4) & 0xF); in hexdump()
124 line_buffer[hex_col + 1] = tohex((value >> 0) & 0xF); in hexdump()
156 footer[1] = tohex((csum >> 4) & 0xf); in gdb_put_packet_binary()
157 footer[2] = tohex((csum) & 0xf); in gdb_put_packet_binary()
/openbmc/linux/arch/powerpc/kernel/
H A Dprom_init.c681 static char *__init tohex(unsigned int x) in tohex() function
710 add_string(&p, tohex((u32)(unsigned long) value)); in prom_setprop()
711 add_string(&p, tohex(valuelen)); in prom_setprop()
712 add_string(&p, tohex(ADDR(pname))); in prom_setprop()
713 add_string(&p, tohex(prom_strlen(pname))); in prom_setprop()
/openbmc/linux/tools/perf/scripts/python/
H A Dexported-sql-viewer.py150 def tohex(ip): function
2969 byte_str = tohex(ip).rjust(16)
3040 data.append(tohex(query.value(8)).rjust(16) + " " + query.value(9) + offstr(query.value(10)) +
3042 tohex(query.value(12)) + " " + query.value(13) + offstr(query.value(14)) +