hex 156 arch/parisc/boot/compressed/misc.c const char hex[] = "0123456789abcdef"; hex 162 arch/parisc/boot/compressed/misc.c str[i--] = hex[num % base]; hex 368 arch/powerpc/include/asm/rtas.h extern void rtas_progress(char *s, unsigned short hex); hex 8 arch/powerpc/include/asm/setup.h extern void ppc_printk_progress(char *s, unsigned short hex); hex 24 arch/powerpc/include/asm/udbg.h extern void udbg_progress(char *s, unsigned short hex); hex 319 arch/powerpc/kernel/rtas-proc.c unsigned long hex; hex 329 arch/powerpc/kernel/rtas-proc.c hex = simple_strtoul(progress_led, NULL, 10); hex 331 arch/powerpc/kernel/rtas-proc.c rtas_progress ((char *)progress_led, hex); hex 196 arch/powerpc/kernel/rtas.c void rtas_progress(char *s, unsigned short hex) hex 235 arch/powerpc/kernel/rtas.c rtas_call(set_indicator, 3, 1, NULL, 6, 0, hex); hex 776 arch/powerpc/kernel/setup-common.c void ppc_printk_progress(char *s, unsigned short hex) hex 132 arch/powerpc/kernel/udbg.c void __init udbg_progress(char *s, unsigned short hex) hex 76 arch/powerpc/platforms/cell/setup.c static void cell_progress(char *s, unsigned short hex) hex 78 arch/powerpc/platforms/cell/setup.c printk("*** %04x : %s\n", hex, s ? s : ""); hex 275 arch/powerpc/platforms/maple/setup.c static void __init maple_progress(char *s, unsigned short hex) hex 277 arch/powerpc/platforms/maple/setup.c printk("*** %04x : %s\n", hex, s ? s : ""); hex 311 arch/powerpc/platforms/pasemi/setup.c static void __init pas_progress(char *s, unsigned short hex) hex 313 arch/powerpc/platforms/pasemi/setup.c printk("[%04x] : %s\n", hex, s ? s : ""); hex 288 arch/powerpc/platforms/powernv/setup.c static void pnv_progress(char *s, unsigned short hex) hex 216 arch/powerpc/platforms/ps3/setup.c static void __init ps3_progress(char *s, unsigned short hex) hex 218 arch/powerpc/platforms/ps3/setup.c printk("*** %04x : %s\n", hex, s ? s : ""); hex 469 drivers/bus/moxtet.c u8 hex[sizeof(bin) * 2 + 1]; hex 477 drivers/bus/moxtet.c bin2hex(hex, bin, n); hex 479 drivers/bus/moxtet.c hex[2*n] = '\n'; hex 481 drivers/bus/moxtet.c return simple_read_from_buffer(buf, len, ppos, hex, 2*n + 1); hex 495 drivers/bus/moxtet.c u8 hex[TURRIS_MOX_MAX_MODULES * 2 + 1]; hex 496 drivers/bus/moxtet.c u8 *p = hex; hex 508 drivers/bus/moxtet.c return simple_read_from_buffer(buf, len, ppos, hex, p - hex); hex 516 drivers/bus/moxtet.c u8 hex[sizeof(bin) * 2 + 1]; hex 524 drivers/bus/moxtet.c res = simple_write_to_buffer(hex, sizeof(hex), &dummy, buf, len); hex 528 drivers/bus/moxtet.c if (len % 2 == 1 && hex[len - 1] != '\n') hex 531 drivers/bus/moxtet.c err = hex2bin(bin, hex, moxtet->count); hex 610 drivers/isdn/capi/capiutil.c unsigned hex = 0; hex 616 drivers/isdn/capi/capiutil.c if (hex) hex 619 drivers/isdn/capi/capiutil.c hex = 0; hex 621 drivers/isdn/capi/capiutil.c if (!hex) hex 625 drivers/isdn/capi/capiutil.c hex = 1; hex 627 drivers/isdn/capi/capiutil.c if (hex) hex 285 drivers/media/usb/rainshadow-cec/rainshadow-cec.c char hex[3]; hex 290 drivers/media/usb/rainshadow-cec/rainshadow-cec.c snprintf(hex, sizeof(hex), "%02x", msg->msg[i]); hex 291 drivers/media/usb/rainshadow-cec/rainshadow-cec.c strlcat(cmd, hex, sizeof(cmd)); hex 49 drivers/mfd/janz-cmodio.c u8 hex; hex 157 drivers/mfd/janz-cmodio.c return snprintf(buf, PAGE_SIZE, "%x\n", priv->hex); hex 211 drivers/mfd/janz-cmodio.c priv->hex = ioread8(&priv->ctrl->int_enable); hex 866 drivers/net/wireless/realtek/rtw88/phy.c static u8 tbl_to_dec_pwr_by_rate(struct rtw_dev *rtwdev, u32 hex, u8 i) hex 869 drivers/net/wireless/realtek/rtw88/phy.c return bcd_to_dec_pwr_by_rate(hex, i); hex 871 drivers/net/wireless/realtek/rtw88/phy.c return (hex >> (i * 8)) & 0xFF; hex 1856 fs/nfsd/nfs4recover.c char *buf, *hex; hex 1863 fs/nfsd/nfs4recover.c hex = buf; hex 1865 fs/nfsd/nfs4recover.c sprintf(hex, "%2.2x", *src++); hex 1866 fs/nfsd/nfs4recover.c hex += 2; hex 3800 kernel/trace/trace.c enum print_line_t ret = event->funcs->hex(iter, 0, event); hex 765 kernel/trace/trace_output.c if (event->funcs->hex == NULL) hex 766 kernel/trace/trace_output.c event->funcs->hex = trace_nop_print; hex 884 kernel/trace/trace_output.c .hex = trace_fn_hex, hex 1024 kernel/trace/trace_output.c .hex = trace_ctx_hex, hex 1036 kernel/trace/trace_output.c .hex = trace_wake_hex, hex 224 lib/seq_buf.c unsigned char hex[HEX_CHARS]; hex 238 lib/seq_buf.c hex[j++] = hex_asc_hi(data[i]); hex 239 lib/seq_buf.c hex[j++] = hex_asc_lo(data[i]); hex 246 lib/seq_buf.c hex[j++] = ' '; hex 248 lib/seq_buf.c seq_buf_putmem(s, hex, j); hex 157 tools/firmware/ihex2fw.c len = hex(data + i, &crc); i += 2; hex 160 tools/firmware/ihex2fw.c len += hex(data + i, &crc); i += 2; hex 178 tools/firmware/ihex2fw.c record->addr = hex(data + i, &crc) << 8; i += 2; hex 179 tools/firmware/ihex2fw.c record->addr |= hex(data + i, &crc); i += 2; hex 180 tools/firmware/ihex2fw.c type = hex(data + i, &crc); i += 2; hex 183 tools/firmware/ihex2fw.c record->data[j] = hex(data + i, &crc); hex 186 tools/firmware/ihex2fw.c crcbyte = hex(data + i, &crc); i += 2; hex 893 tools/lib/traceevent/event-parse.c free_arg(arg->hex.field); hex 894 tools/lib/traceevent/event-parse.c free_arg(arg->hex.size); hex 2697 tools/lib/traceevent/event-parse.c if (alloc_and_process_delim(event, ",", &arg->hex.field)) hex 2700 tools/lib/traceevent/event-parse.c if (alloc_and_process_delim(event, ")", &arg->hex.size)) hex 2706 tools/lib/traceevent/event-parse.c free_arg(arg->hex.field); hex 2707 tools/lib/traceevent/event-parse.c arg->hex.field = NULL; hex 3949 tools/lib/traceevent/event-parse.c unsigned char *hex; hex 4054 tools/lib/traceevent/event-parse.c if (arg->hex.field->type == TEP_PRINT_DYNAMIC_ARRAY) { hex 4057 tools/lib/traceevent/event-parse.c data + arg->hex.field->dynarray.field->offset, hex 4058 tools/lib/traceevent/event-parse.c arg->hex.field->dynarray.field->size); hex 4059 tools/lib/traceevent/event-parse.c hex = data + (offset & 0xffff); hex 4061 tools/lib/traceevent/event-parse.c field = arg->hex.field->field.field; hex 4063 tools/lib/traceevent/event-parse.c str = arg->hex.field->field.name; hex 4067 tools/lib/traceevent/event-parse.c arg->hex.field->field.field = field; hex 4069 tools/lib/traceevent/event-parse.c hex = data + field->offset; hex 4071 tools/lib/traceevent/event-parse.c len = eval_num_arg(data, size, event, arg->hex.size); hex 4075 tools/lib/traceevent/event-parse.c trace_seq_printf(s, "%02x", hex[i]); hex 5966 tools/lib/traceevent/event-parse.c print_args(args->hex.field); hex 5968 tools/lib/traceevent/event-parse.c print_args(args->hex.size); hex 5973 tools/lib/traceevent/event-parse.c print_args(args->hex.field); hex 5975 tools/lib/traceevent/event-parse.c print_args(args->hex.size); hex 265 tools/lib/traceevent/event-parse.h struct tep_print_arg_hex hex; hex 1711 tools/lib/traceevent/parse-filter.c char hex[64]; hex 1746 tools/lib/traceevent/parse-filter.c snprintf(hex, 64, "0x%llx", addr); hex 1747 tools/lib/traceevent/parse-filter.c val = hex; hex 71 tools/perf/tests/code-reading.c **buf = (hex(c1) << 4) | hex(c2); hex 1406 tools/perf/util/data-convert-bt.c static struct bt_ctf_field_type *create_int_type(int size, bool sign, bool hex) hex 1418 tools/perf/util/data-convert-bt.c if (hex && hex 1429 tools/perf/util/data-convert-bt.c size, sign ? "un" : "", hex ? "hex" : ""); hex 1447 tools/perf/util/data-convert-bt.c #define CREATE_INT_TYPE(type, size, sign, hex) \ hex 1449 tools/perf/util/data-convert-bt.c (type) = create_int_type(size, sign, hex); \ hex 226 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->hex.field); hex 227 tools/perf/util/scripting-engines/trace-event-perl.c define_event_symbols(event, ev_name, args->hex.size); hex 305 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->hex.field); hex 306 tools/perf/util/scripting-engines/trace-event-python.c define_event_symbols(event, ev_name, args->hex.size);