Searched refs:READHEX (Results 1 – 1 of 1) sorted by relevance
471 #define READHEX(X) ((X)>='0' && (X)<='9' ? (X)-'0' : \ macro475 #define READHEX16(X) ((__u16)(READHEX(X)))907 addr->c[2] = READHEX(p[0]) << 4 | READHEX(p[1]); in string_to_radio_address()908 addr->c[3] = READHEX(p[2]) << 4 | READHEX(p[3]); in string_to_radio_address()909 addr->c[4] = READHEX(p[5]) << 4 | READHEX(p[6]); in string_to_radio_address()910 addr->c[5] = READHEX(p[7]) << 4 | READHEX(p[8]); in string_to_radio_address()