Searched refs:dwBitMask (Results 1 – 2 of 2) sorted by relevance
60 u32 dwBitMask, u32 dwData);61 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask);
43 static u32 _rtl92e_calculate_bit_shift(u32 dwBitMask) in _rtl92e_calculate_bit_shift() argument45 if (!dwBitMask) in _rtl92e_calculate_bit_shift()47 return ffs(dwBitMask) - 1; in _rtl92e_calculate_bit_shift()66 void rtl92e_set_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask, in rtl92e_set_bb_reg() argument72 if (dwBitMask != bMaskDWord) { in rtl92e_set_bb_reg()74 BitShift = _rtl92e_calculate_bit_shift(dwBitMask); in rtl92e_set_bb_reg()75 NewValue = (OriginalValue & ~dwBitMask) | (dwData << BitShift); in rtl92e_set_bb_reg()81 u32 rtl92e_get_bb_reg(struct net_device *dev, u32 dwRegAddr, u32 dwBitMask) in rtl92e_get_bb_reg() argument86 BitShift = _rtl92e_calculate_bit_shift(dwBitMask); in rtl92e_get_bb_reg()88 return (OriginalValue & dwBitMask) >> BitShift; in rtl92e_get_bb_reg()