Lines Matching refs:hex
31 * g return the value of the CPU registers hex data or ENN
34 * mAA..AA,LLLL Read LLLL bytes at address AA..AA hex data or ENN
57 * <checksum> :: < two hex digits computed as modulo 256 sum of <packetinfo>>
180 static int hex(unsigned char ch);
188 * Convert ch from a hex digit to an int
190 static int hex(unsigned char ch)
287 xmitcsum = hex(ch) << 4;
292 xmitcsum |= hex(ch);
384 * While we find nice hex chars, build an int.
395 hexValue = hex(**ptr);
788 * Convert the memory pointed to by mem into hex, placing result in buf.
848 * convert the hex array pointed to by buf into binary to be placed in mem
863 ch.b[0] = hex(*buf++) << 4;
864 ch.b[0] |= hex(*buf++);
872 ch.b[0] = hex(*buf++) << 4;
873 ch.b[0] |= hex(*buf++);
874 ch.b[1] = hex(*buf++) << 4;
875 ch.b[1] |= hex(*buf++);
883 ch.b[0] = hex(*buf++) << 4;
884 ch.b[0] |= hex(*buf++);
885 ch.b[1] = hex(*buf++) << 4;
886 ch.b[1] |= hex(*buf++);
887 ch.b[2] = hex(*buf++) << 4;
888 ch.b[2] |= hex(*buf++);
889 ch.b[3] = hex(*buf++) << 4;
890 ch.b[3] |= hex(*buf++);
898 ch.b[0] = hex(*buf++) << 4;
899 ch.b[0] |= hex(*buf++);
900 ch.b[1] = hex(*buf++) << 4;
901 ch.b[1] |= hex(*buf++);
909 ch.b[0] = hex(*buf++) << 4;
910 ch.b[0] |= hex(*buf++);