Lines Matching full:bitmask
19 enum radio_path rfpath, u32 regaddr, u32 bitmask) in rtl92cu_phy_query_rf_reg() argument
26 "regaddr(%#x), rfpath(%#x), bitmask(%#x)\n", in rtl92cu_phy_query_rf_reg()
27 regaddr, rfpath, bitmask); in rtl92cu_phy_query_rf_reg()
35 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92cu_phy_query_rf_reg()
36 readback_value = (original_value & bitmask) >> bitshift; in rtl92cu_phy_query_rf_reg()
38 "regaddr(%#x), rfpath(%#x), bitmask(%#x), original_value(%#x)\n", in rtl92cu_phy_query_rf_reg()
39 regaddr, rfpath, bitmask, original_value); in rtl92cu_phy_query_rf_reg()
45 u32 regaddr, u32 bitmask, u32 data) in rtl92cu_phy_set_rf_reg() argument
52 "regaddr(%#x), bitmask(%#x), data(%#x), rfpath(%#x)\n", in rtl92cu_phy_set_rf_reg()
53 regaddr, bitmask, data, rfpath); in rtl92cu_phy_set_rf_reg()
55 if (bitmask != RFREG_OFFSET_MASK) { in rtl92cu_phy_set_rf_reg()
59 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92cu_phy_set_rf_reg()
61 ((original_value & (~bitmask)) | in rtl92cu_phy_set_rf_reg()
66 if (bitmask != RFREG_OFFSET_MASK) { in rtl92cu_phy_set_rf_reg()
70 bitshift = _rtl92c_phy_calculate_bit_shift(bitmask); in rtl92cu_phy_set_rf_reg()
72 ((original_value & (~bitmask)) | in rtl92cu_phy_set_rf_reg()
78 "regaddr(%#x), bitmask(%#x), data(%#x), rfpath(%#x)\n", in rtl92cu_phy_set_rf_reg()
79 regaddr, bitmask, data, rfpath); in rtl92cu_phy_set_rf_reg()