Lines Matching refs:bitshift
32 u32 returnvalue = 0, originalvalue, bitshift; in rtl92s_phy_query_bb_reg() local
38 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); in rtl92s_phy_query_bb_reg()
39 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92s_phy_query_bb_reg()
52 u32 originalvalue, bitshift; in rtl92s_phy_set_bb_reg() local
60 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); in rtl92s_phy_set_bb_reg()
61 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92s_phy_set_bb_reg()
158 u32 original_value, readback_value, bitshift; in rtl92s_phy_query_rf_reg() local
168 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); in rtl92s_phy_query_rf_reg()
169 readback_value = (original_value & bitmask) >> bitshift; in rtl92s_phy_query_rf_reg()
185 u32 original_value, bitshift; in rtl92s_phy_set_rf_reg() local
199 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); in rtl92s_phy_set_rf_reg()
200 data = ((original_value & (~bitmask)) | (data << bitshift)); in rtl92s_phy_set_rf_reg()