Lines Matching refs:bitshift
44 u32 returnvalue, originalvalue, bitshift; in rtl92ee_phy_query_bb_reg() local
49 bitshift = _rtl92ee_phy_calculate_bit_shift(bitmask); in rtl92ee_phy_query_bb_reg()
50 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92ee_phy_query_bb_reg()
63 u32 originalvalue, bitshift; in rtl92ee_phy_set_bb_reg() local
71 bitshift = _rtl92ee_phy_calculate_bit_shift(bitmask); in rtl92ee_phy_set_bb_reg()
72 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92ee_phy_set_bb_reg()
86 u32 original_value, readback_value, bitshift; in rtl92ee_phy_query_rf_reg() local
95 bitshift = _rtl92ee_phy_calculate_bit_shift(bitmask); in rtl92ee_phy_query_rf_reg()
96 readback_value = (original_value & bitmask) >> bitshift; in rtl92ee_phy_query_rf_reg()
112 u32 original_value, bitshift; in rtl92ee_phy_set_rf_reg() local
122 bitshift = _rtl92ee_phy_calculate_bit_shift(bitmask); in rtl92ee_phy_set_rf_reg()
123 data = (original_value & (~bitmask)) | (data << bitshift); in rtl92ee_phy_set_rf_reg()