Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_phy.h68 u32 dwBitMask, u32 dwData);
69 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask);
Dr8192E_phy.c52 static u32 _rtl92e_calculate_bit_shift(u32 dwBitMask) in _rtl92e_calculate_bit_shift() argument
54 if (!dwBitMask) in _rtl92e_calculate_bit_shift()
56 return ffs(dwBitMask) - 1; in _rtl92e_calculate_bit_shift()
75 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask, in rtl92e_set_bb_reg() argument
81 if (dwBitMask != bMaskDWord) { in rtl92e_set_bb_reg()
83 BitShift = _rtl92e_calculate_bit_shift(dwBitMask); in rtl92e_set_bb_reg()
84 NewValue = (((OriginalValue) & (~dwBitMask)) | in rtl92e_set_bb_reg()
91 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask) in rtl92e_get_bb_reg() argument
96 BitShift = _rtl92e_calculate_bit_shift(dwBitMask); in rtl92e_get_bb_reg()
98 return (OriginalValue & dwBitMask) >> BitShift; in rtl92e_get_bb_reg()