Lines Matching full:bitmask
22 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92c_phy_query_rf_reg() argument
29 "regaddr(%#x), rfpath(%#x), bitmask(%#x)\n", in rtl92c_phy_query_rf_reg()
30 regaddr, rfpath, bitmask); in rtl92c_phy_query_rf_reg()
42 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92c_phy_query_rf_reg()
43 readback_value = (original_value & bitmask) >> bitshift; in rtl92c_phy_query_rf_reg()
48 "regaddr(%#x), rfpath(%#x), bitmask(%#x), original_value(%#x)\n", in rtl92c_phy_query_rf_reg()
49 regaddr, rfpath, bitmask, original_value); in rtl92c_phy_query_rf_reg()
96 u32 regaddr, u32 bitmask, u32 data) in rtl92ce_phy_set_rf_reg() argument
103 "regaddr(%#x), bitmask(%#x), data(%#x), rfpath(%#x)\n", in rtl92ce_phy_set_rf_reg()
104 regaddr, bitmask, data, rfpath); in rtl92ce_phy_set_rf_reg()
109 if (bitmask != RFREG_OFFSET_MASK) { in rtl92ce_phy_set_rf_reg()
113 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92ce_phy_set_rf_reg()
115 ((original_value & (~bitmask)) | in rtl92ce_phy_set_rf_reg()
121 if (bitmask != RFREG_OFFSET_MASK) { in rtl92ce_phy_set_rf_reg()
125 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92ce_phy_set_rf_reg()
127 ((original_value & (~bitmask)) | in rtl92ce_phy_set_rf_reg()
136 "regaddr(%#x), bitmask(%#x), data(%#x), rfpath(%#x)\n", in rtl92ce_phy_set_rf_reg()
137 regaddr, bitmask, data, rfpath); in rtl92ce_phy_set_rf_reg()