Lines Matching refs:bitshift
204 u32 returnvalue, originalvalue, bitshift; in rtl92d_phy_query_bb_reg() local
221 bitshift = _rtl92d_phy_calculate_bit_shift(bitmask); in rtl92d_phy_query_bb_reg()
222 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl92d_phy_query_bb_reg()
235 u32 originalvalue, bitshift; in rtl92d_phy_set_bb_reg() local
253 bitshift = _rtl92d_phy_calculate_bit_shift(bitmask); in rtl92d_phy_set_bb_reg()
254 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl92d_phy_set_bb_reg()
333 u32 original_value, readback_value, bitshift; in rtl92d_phy_query_rf_reg() local
341 bitshift = _rtl92d_phy_calculate_bit_shift(bitmask); in rtl92d_phy_query_rf_reg()
342 readback_value = (original_value & bitmask) >> bitshift; in rtl92d_phy_query_rf_reg()
355 u32 original_value, bitshift; in rtl92d_phy_set_rf_reg() local
368 bitshift = _rtl92d_phy_calculate_bit_shift(bitmask); in rtl92d_phy_set_rf_reg()
370 (data << bitshift)); in rtl92d_phy_set_rf_reg()