Searched refs:hex2num (Results 1 – 2 of 2) 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()
1016 static int32_t hex2num(char hex) { in hex2num() function1195 value |= ((hex2num(*(primary + 4 * CEi)) & 0xF) << 28); in getCEs()1196 value |= ((hex2num(*(primary + 4 * CEi + 1)) & 0xF) << 24); in getCEs()1200 value |= ((hex2num(*(primary + 4 * CEi + 2)) & 0xF) << 20); in getCEs()1201 value |= ((hex2num(*(primary + 4 * CEi + 3)) &0xF) << 16); in getCEs()1205 value |= ((hex2num(*(secondary + 2 * CEi)) & 0xF) << 12); in getCEs()1206 value |= ((hex2num(*(secondary + 2 * CEi + 1)) & 0xF) << 8); in getCEs()1210 value |= ((hex2num(*(tertiary + 2 * CEi)) & 0x3) << 4); in getCEs()1211 value |= (hex2num(*(tertiary + 2 * CEi + 1)) & 0xF); in getCEs()