Searched refs:gray_code (Results 1 – 1 of 1) sorted by relevance
3333 static u16 gray_code_to_bin(u16 gray_code, u32 bit_num) in gray_code_to_bin() argument3339 gray_bit = (gray_code >> bit_idx) & 0x1; in gray_code_to_bin()3341 gray_bit ^= (gray_code >> (bit_idx + 1)) & 0x1; in gray_code_to_bin()