Searched refs:gray_bit (Results 1 – 1 of 1) sorted by relevance
3334 u16 bin = 0, gray_bit; in gray_code_to_bin() local3338 gray_bit = (gray_code >> bit_idx) & 0x1; in gray_code_to_bin()3340 gray_bit ^= (gray_code >> (bit_idx + 1)) & 0x1; in gray_code_to_bin()3341 bin |= (gray_bit << bit_idx); in gray_code_to_bin()