Lines Matching refs:hex
26 * g return the value of the CPU registers hex data or ENN
29 * mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
52 * <checksum> :: < two hex digits computed as modulo 256 sum of <packetinfo>>
215 static int hex(unsigned char ch);
221 * Convert ch from a hex digit to an int
223 static int hex(unsigned char ch)
315 xmitcsum = hex(ch) << 4;
320 xmitcsum |= hex(ch);
405 * While we find nice hex chars, build an int.
414 ch = hex(**ptr);
655 * Convert the memory pointed to by mem into hex, placing result in buf.
716 * convert the hex array pointed to by buf into binary to be placed in mem
729 ch.b[0] = hex(*buf++) << 4;
730 ch.b[0] |= hex(*buf++);
738 ch.b[0] = hex(*buf++) << 4;
739 ch.b[0] |= hex(*buf++);
740 ch.b[1] = hex(*buf++) << 4;
741 ch.b[1] |= hex(*buf++);
749 ch.b[0] = hex(*buf++) << 4;
750 ch.b[0] |= hex(*buf++);
751 ch.b[1] = hex(*buf++) << 4;
752 ch.b[1] |= hex(*buf++);
753 ch.b[2] = hex(*buf++) << 4;
754 ch.b[2] |= hex(*buf++);
755 ch.b[3] = hex(*buf++) << 4;
756 ch.b[3] |= hex(*buf++);
764 ch.b[0] = hex(*buf++) << 4;
765 ch.b[0] |= hex(*buf++);
766 ch.b[1] = hex(*buf++) << 4;
767 ch.b[1] |= hex(*buf++);
775 ch.b[0] = hex(*buf++) << 4;
776 ch.b[0] |= hex(*buf++);