Searched refs:hex2num (Results 1 – 3 of 3) sorted by relevance
14 static int hex2num(char c) in hex2num() function29 a = hex2num(*hex++); in hex2byte()32 b = hex2num(*hex++); in hex2byte()52 a = hex2num(*txt++); in hwaddr_aton()55 b = hex2num(*txt++); in hwaddr_aton()79 a = hex2num(*txt++); in hwaddr_compact_aton()82 b = hex2num(*txt++); in hwaddr_compact_aton()108 a = hex2num(*pos++); in hwaddr_aton2()111 b = hex2num(*pos++); in hwaddr_aton2()437 val = hex2num(*pos); in printf_decode()
20 static int hex2num(char c) in hex2num() function35 a = hex2num(*hex++); in hex2byte()38 b = hex2num(*hex++); in hex2byte()58 a = hex2num(*txt++); in hwaddr_aton()61 b = hex2num(*txt++); in hwaddr_aton()
1015 static int32_t hex2num(char hex) { in hex2num() function1194 value |= ((hex2num(*(primary + 4 * CEi)) & 0xF) << 28); in getCEs()1195 value |= ((hex2num(*(primary + 4 * CEi + 1)) & 0xF) << 24); in getCEs()1199 value |= ((hex2num(*(primary + 4 * CEi + 2)) & 0xF) << 20); in getCEs()1200 value |= ((hex2num(*(primary + 4 * CEi + 3)) &0xF) << 16); in getCEs()1204 value |= ((hex2num(*(secondary + 2 * CEi)) & 0xF) << 12); in getCEs()1205 value |= ((hex2num(*(secondary + 2 * CEi + 1)) & 0xF) << 8); in getCEs()1209 value |= ((hex2num(*(tertiary + 2 * CEi)) & 0x3) << 4); in getCEs()1210 value |= (hex2num(*(tertiary + 2 * CEi + 1)) & 0xF); in getCEs()