Lines Matching refs:bitshift
66 u32 returnvalue, originalvalue, bitshift; in rtl92ee_phy_query_bb_reg() local
71 bitshift = _rtl92ee_phy_calculate_bit_shift(bitmask); in rtl92ee_phy_query_bb_reg()
72 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92ee_phy_query_bb_reg()
85 u32 originalvalue, bitshift; in rtl92ee_phy_set_bb_reg() local
93 bitshift = _rtl92ee_phy_calculate_bit_shift(bitmask); in rtl92ee_phy_set_bb_reg()
94 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92ee_phy_set_bb_reg()
108 u32 original_value, readback_value, bitshift; in rtl92ee_phy_query_rf_reg() local
118 bitshift = _rtl92ee_phy_calculate_bit_shift(bitmask); in rtl92ee_phy_query_rf_reg()
119 readback_value = (original_value & bitmask) >> bitshift; in rtl92ee_phy_query_rf_reg()
135 u32 original_value, bitshift; in rtl92ee_phy_set_rf_reg() local
146 bitshift = _rtl92ee_phy_calculate_bit_shift(bitmask); in rtl92ee_phy_set_rf_reg()
147 data = (original_value & (~bitmask)) | (data << bitshift); in rtl92ee_phy_set_rf_reg()