Lines Matching refs:bitshift
102 u32 returnvalue, originalvalue, bitshift; in rtl8821ae_phy_query_bb_reg() local
108 bitshift = _rtl8821ae_phy_calculate_bit_shift(bitmask); in rtl8821ae_phy_query_bb_reg()
109 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl8821ae_phy_query_bb_reg()
121 u32 originalvalue, bitshift; in rtl8821ae_phy_set_bb_reg() local
129 bitshift = _rtl8821ae_phy_calculate_bit_shift(bitmask); in rtl8821ae_phy_set_bb_reg()
131 ((data << bitshift) & bitmask)); in rtl8821ae_phy_set_bb_reg()
146 u32 original_value, readback_value, bitshift; in rtl8821ae_phy_query_rf_reg() local
155 bitshift = _rtl8821ae_phy_calculate_bit_shift(bitmask); in rtl8821ae_phy_query_rf_reg()
156 readback_value = (original_value & bitmask) >> bitshift; in rtl8821ae_phy_query_rf_reg()
172 u32 original_value, bitshift; in rtl8821ae_phy_set_rf_reg() local
183 bitshift = _rtl8821ae_phy_calculate_bit_shift(bitmask); in rtl8821ae_phy_set_rf_reg()
184 data = ((original_value & (~bitmask)) | (data << bitshift)); in rtl8821ae_phy_set_rf_reg()