Lines Matching refs:bitshift
20 u32 returnvalue = 0, originalvalue, bitshift; in rtl92s_phy_query_bb_reg() local
26 bitshift = calculate_bit_shift(bitmask); in rtl92s_phy_query_bb_reg()
27 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92s_phy_query_bb_reg()
40 u32 originalvalue, bitshift; in rtl92s_phy_set_bb_reg() local
48 bitshift = calculate_bit_shift(bitmask); in rtl92s_phy_set_bb_reg()
49 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92s_phy_set_bb_reg()
146 u32 original_value, readback_value, bitshift; in rtl92s_phy_query_rf_reg() local
156 bitshift = calculate_bit_shift(bitmask); in rtl92s_phy_query_rf_reg()
157 readback_value = (original_value & bitmask) >> bitshift; in rtl92s_phy_query_rf_reg()
173 u32 original_value, bitshift; in rtl92s_phy_set_rf_reg() local
187 bitshift = calculate_bit_shift(bitmask); in rtl92s_phy_set_rf_reg()
188 data = ((original_value & (~bitmask)) | (data << bitshift)); in rtl92s_phy_set_rf_reg()