Searched refs:gray_bit (Results 1 – 1 of 1) sorted by relevance
3335 u16 bin = 0, gray_bit; in gray_code_to_bin() local3339 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()3342 bin |= (gray_bit << bit_idx); in gray_code_to_bin()