Searched refs:nib (Results 1 – 2 of 2) sorted by relevance
50 gx_tohex(int nib) in gx_tohex() argument52 if (nib < 10) in gx_tohex()53 return '0' + nib; in gx_tohex()55 return 'a' + nib - 10; in gx_tohex()62 int nib; in gx_convert_int_to_ascii() local66 nib = ((ch & 0xf0) >> 4) & 0x0f; in gx_convert_int_to_ascii()67 *to++ = gx_tohex(nib); in gx_convert_int_to_ascii()68 nib = ch & 0x0f; in gx_convert_int_to_ascii()69 *to++ = gx_tohex(nib); in gx_convert_int_to_ascii()
375 int nib; in prepare_stop_reply() local379 nib = ((sig & 0xf0) >> 4); in prepare_stop_reply()380 *buf++ = gx_tohex(nib); in prepare_stop_reply()381 nib = sig & 0x0f; in prepare_stop_reply()382 *buf++ = gx_tohex(nib); in prepare_stop_reply()
Completed in 4 milliseconds