Lines Matching refs:bitshift
27 u32 returnvalue = 0, originalvalue, bitshift; in rtl92s_phy_query_bb_reg() local
33 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); in rtl92s_phy_query_bb_reg()
34 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92s_phy_query_bb_reg()
47 u32 originalvalue, bitshift; in rtl92s_phy_set_bb_reg() local
55 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); in rtl92s_phy_set_bb_reg()
56 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92s_phy_set_bb_reg()
150 u32 original_value, readback_value, bitshift; in rtl92s_phy_query_rf_reg() local
160 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); in rtl92s_phy_query_rf_reg()
161 readback_value = (original_value & bitmask) >> bitshift; in rtl92s_phy_query_rf_reg()
177 u32 original_value, bitshift; in rtl92s_phy_set_rf_reg() local
191 bitshift = _rtl92s_phy_calculate_bit_shift(bitmask); in rtl92s_phy_set_rf_reg()
192 data = ((original_value & (~bitmask)) | (data << bitshift)); in rtl92s_phy_set_rf_reg()