Lines Matching refs:bitshift
43 u32 returnvalue, originalvalue, bitshift; in rtl92ee_phy_query_bb_reg() local
48 bitshift = calculate_bit_shift(bitmask); in rtl92ee_phy_query_bb_reg()
49 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92ee_phy_query_bb_reg()
62 u32 originalvalue, bitshift; in rtl92ee_phy_set_bb_reg() local
70 bitshift = calculate_bit_shift(bitmask); in rtl92ee_phy_set_bb_reg()
71 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92ee_phy_set_bb_reg()
85 u32 original_value, readback_value, bitshift; in rtl92ee_phy_query_rf_reg() local
94 bitshift = calculate_bit_shift(bitmask); in rtl92ee_phy_query_rf_reg()
95 readback_value = (original_value & bitmask) >> bitshift; in rtl92ee_phy_query_rf_reg()
111 u32 original_value, bitshift; in rtl92ee_phy_set_rf_reg() local
121 bitshift = calculate_bit_shift(bitmask); in rtl92ee_phy_set_rf_reg()
122 data = (original_value & (~bitmask)) | (data << bitshift); in rtl92ee_phy_set_rf_reg()