Home
last modified time | relevance | path

Searched refs:gray_code (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Dpci.c3333 static u16 gray_code_to_bin(u16 gray_code, u32 bit_num) in gray_code_to_bin() argument
3339 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()