Home
last modified time | relevance | path

Searched full:bitmask (Results 1 – 25 of 2187) sorted by relevance

12345678910>>...88

/OK3568_Linux_fs/kernel/drivers/acpi/pmic/
H A Dtps68470_pmic.c21 u32 bitmask; /* bit mask for power, clock */ member
40 .bitmask = S_IO_I2C_EN,
46 .bitmask = BIT(0),
52 .bitmask = BIT(0),
58 .bitmask = BIT(0),
64 .bitmask = BIT(0),
70 .bitmask = BIT(0),
80 .bitmask = TPS68470_VSIOVAL_IOVOLT_MASK,
86 .bitmask = TPS68470_VIOVAL_IOVOLT_MASK,
92 .bitmask = TPS68470_VCMVAL_VCVOLT_MASK,
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_llh_internal.h109 /* bitmask for bitfield itr_reg_res_dsbl */
119 /* bitmask for bitfield itr_reset */
129 /* bitmask for bitfield rsc_delay */
138 /* bitmask for bitfield dca{d}_cpuid[7:0] */
152 /* bitmask for bitfield dca_en */
154 /* inverted bitmask for bitfield dca_en */
170 /* bitmask for bitfield dca_mode[3:0] */
172 /* inverted bitmask for bitfield dca_mode[3:0] */
190 /* bitmask for bitfield desc{d}_data_size[4:0] */
192 /* inverted bitmask for bitfield desc{d}_data_size[4:0] */
[all …]
/OK3568_Linux_fs/kernel/tools/power/cpupower/utils/helpers/
H A Dbitmask.h11 struct bitmask { struct
16 struct bitmask *bitmask_alloc(unsigned int n); argument
17 void bitmask_free(struct bitmask *bmp);
19 struct bitmask *bitmask_setbit(struct bitmask *bmp, unsigned int i);
20 struct bitmask *bitmask_setall(struct bitmask *bmp);
21 struct bitmask *bitmask_clearall(struct bitmask *bmp);
23 unsigned int bitmask_first(const struct bitmask *bmp);
24 unsigned int bitmask_next(const struct bitmask *bmp, unsigned int i);
25 unsigned int bitmask_last(const struct bitmask *bmp);
26 int bitmask_isallclear(const struct bitmask *bmp);
[all …]
H A Dbitmask.c6 #include <helpers/bitmask.h>
20 * Allocate and free `struct bitmask *`
23 /* Allocate a new `struct bitmask` with a size of n bits */
24 struct bitmask *bitmask_alloc(unsigned int n) in bitmask_alloc()
26 struct bitmask *bmp; in bitmask_alloc()
40 /* Free `struct bitmask` */
41 void bitmask_free(struct bitmask *bmp) in bitmask_free()
61 /* Return the value (0 or 1) of bit n in bitmask bmp */
62 static unsigned int _getbit(const struct bitmask *bmp, unsigned int n) in _getbit()
70 /* Set bit n in bitmask bmp to value v (0 or 1) */
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/brocade/bna/
H A Dbna.h114 #define is_xxx_enable(mode, bitmask, xxx) ((bitmask & xxx) && (mode & xxx)) argument
116 #define is_xxx_disable(mode, bitmask, xxx) ((bitmask & xxx) && !(mode & xxx)) argument
118 #define xxx_enable(mode, bitmask, xxx) \ argument
120 bitmask |= xxx; \
124 #define xxx_disable(mode, bitmask, xxx) \ argument
126 bitmask |= xxx; \
130 #define xxx_inactive(mode, bitmask, xxx) \ argument
132 bitmask &= ~xxx; \
136 #define is_promisc_enable(mode, bitmask) \ argument
137 is_xxx_enable(mode, bitmask, BNA_RXMODE_PROMISC)
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
H A Dhw_atl2_llh_internal.h34 /* bitmask for bitfield rpf_new_rpf_en */
36 /* inverted bitmask for bitfield rpf_new_rpf_en */
53 /* bitmask for bitfield l2_uc_req_tag0{f}[2:0] */
55 /* inverted bitmask for bitfield l2_uc_req_tag0{f}[2:0] */
71 /* bitmask for bitfield rpf_l2_bc_req_tag */
73 /* inverted bitmask for bitfield rpf_l2_bc_req_tag */
90 /* bitmask for bitfield rpf_rss_red1_data[4:0] */
107 /* bitmask for bitfield vlan_req_tag0{f}[3:0] */
109 /* inverted bitmask for bitfield vlan_req_tag0{f}[3:0] */
142 /* bitmask for bitfield tx_tc_q_rand_map_en */
[all …]
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dxt_physdev.c36 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt()
39 if ((info->bitmask & XT_PHYSDEV_OP_ISIN) && in physdev_mt()
42 if ((info->bitmask & XT_PHYSDEV_OP_ISOUT) && in physdev_mt()
45 if ((info->bitmask & XT_PHYSDEV_OP_IN) && in physdev_mt()
48 if ((info->bitmask & XT_PHYSDEV_OP_OUT) && in physdev_mt()
58 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt()
65 if ((info->bitmask & XT_PHYSDEV_OP_ISIN && in physdev_mt()
67 (info->bitmask & XT_PHYSDEV_OP_ISOUT && in physdev_mt()
71 if (!(info->bitmask & XT_PHYSDEV_OP_IN)) in physdev_mt()
83 if (!(info->bitmask & XT_PHYSDEV_OP_OUT)) in physdev_mt()
[all …]
/OK3568_Linux_fs/kernel/net/bridge/netfilter/
H A Debt_stp.c51 if ((info->bitmask & EBT_STP_FLAGS) && in ebt_filter_config()
54 if (info->bitmask & EBT_STP_ROOTPRIO) { in ebt_filter_config()
60 if (info->bitmask & EBT_STP_ROOTADDR) { in ebt_filter_config()
67 if (info->bitmask & EBT_STP_ROOTCOST) { in ebt_filter_config()
73 if (info->bitmask & EBT_STP_SENDERPRIO) { in ebt_filter_config()
79 if (info->bitmask & EBT_STP_SENDERADDR) { in ebt_filter_config()
86 if (info->bitmask & EBT_STP_PORT) { in ebt_filter_config()
92 if (info->bitmask & EBT_STP_MSGAGE) { in ebt_filter_config()
98 if (info->bitmask & EBT_STP_MAXAGE) { in ebt_filter_config()
104 if (info->bitmask & EBT_STP_HELLOTIME) { in ebt_filter_config()
[all …]
H A Debt_ip.c49 if ((info->bitmask & EBT_IP_TOS) && in ebt_ip_mt()
52 if ((info->bitmask & EBT_IP_SOURCE) && in ebt_ip_mt()
56 if ((info->bitmask & EBT_IP_DEST) && in ebt_ip_mt()
60 if (info->bitmask & EBT_IP_PROTO) { in ebt_ip_mt()
63 if (!(info->bitmask & (EBT_IP_DPORT | EBT_IP_SPORT | in ebt_ip_mt()
74 if (info->bitmask & EBT_IP_DPORT) { in ebt_ip_mt()
81 if (info->bitmask & EBT_IP_SPORT) { in ebt_ip_mt()
88 if ((info->bitmask & EBT_IP_ICMP) && in ebt_ip_mt()
95 if ((info->bitmask & EBT_IP_IGMP) && in ebt_ip_mt()
112 if (info->bitmask & ~EBT_IP_MASK || info->invflags & ~EBT_IP_MASK) in ebt_ip_mt_check()
[all …]
H A Debt_ip6.c49 if ((info->bitmask & EBT_IP6_TCLASS) && in ebt_ip6_mt()
53 if (((info->bitmask & EBT_IP6_SOURCE) && in ebt_ip6_mt()
57 ((info->bitmask & EBT_IP6_DEST) && in ebt_ip6_mt()
62 if (info->bitmask & EBT_IP6_PROTO) { in ebt_ip6_mt()
72 if (!(info->bitmask & (EBT_IP6_DPORT | in ebt_ip6_mt()
81 if (info->bitmask & EBT_IP6_DPORT) { in ebt_ip6_mt()
88 if (info->bitmask & EBT_IP6_SPORT) { in ebt_ip6_mt()
95 if ((info->bitmask & EBT_IP6_ICMP6) && in ebt_ip6_mt()
113 if (info->bitmask & ~EBT_IP6_MASK || info->invflags & ~EBT_IP6_MASK) in ebt_ip6_mt_check()
115 if (info->bitmask & (EBT_IP6_DPORT | EBT_IP6_SPORT)) { in ebt_ip6_mt_check()
[all …]
H A Debt_mark_m.c21 if (info->bitmask & EBT_MARK_OR) in ebt_mark_mt()
30 if (info->bitmask & ~EBT_MARK_MASK) in ebt_mark_mt_check()
32 if ((info->bitmask & EBT_MARK_OR) && (info->bitmask & EBT_MARK_AND)) in ebt_mark_mt_check()
34 if (!info->bitmask) in ebt_mark_mt_check()
43 uint8_t invert, bitmask; member
54 kern->bitmask = user->bitmask; in mark_mt_compat_from_user()
65 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
H A Debt_arp.c29 if ((info->bitmask & EBT_ARP_OPCODE) && in ebt_arp_mt()
32 if ((info->bitmask & EBT_ARP_HTYPE) && in ebt_arp_mt()
35 if ((info->bitmask & EBT_ARP_PTYPE) && in ebt_arp_mt()
39 if (info->bitmask & (EBT_ARP_SRC_IP | EBT_ARP_DST_IP | EBT_ARP_GRAT)) { in ebt_arp_mt()
55 if ((info->bitmask & EBT_ARP_SRC_IP) && in ebt_arp_mt()
59 if ((info->bitmask & EBT_ARP_DST_IP) && in ebt_arp_mt()
63 if ((info->bitmask & EBT_ARP_GRAT) && in ebt_arp_mt()
68 if (info->bitmask & (EBT_ARP_SRC_MAC | EBT_ARP_DST_MAC)) { in ebt_arp_mt()
74 if (info->bitmask & EBT_ARP_SRC_MAC) { in ebt_arp_mt()
85 if (info->bitmask & EBT_ARP_DST_MAC) { in ebt_arp_mt()
[all …]
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dasc7621.c836 PREAD(in0_alarm, 0, PRI_HIGH, 0x41, 0, 0x01, 0, bitmask),
837 PREAD(in1_alarm, 1, PRI_HIGH, 0x41, 0, 0x01, 1, bitmask),
838 PREAD(in2_alarm, 2, PRI_HIGH, 0x41, 0, 0x01, 2, bitmask),
839 PREAD(in3_alarm, 3, PRI_HIGH, 0x41, 0, 0x01, 3, bitmask),
840 PREAD(in4_alarm, 4, PRI_HIGH, 0x42, 0, 0x01, 0, bitmask),
852 PREAD(fan1_alarm, 0, PRI_HIGH, 0x42, 0, 0x01, 2, bitmask),
853 PREAD(fan2_alarm, 1, PRI_HIGH, 0x42, 0, 0x01, 3, bitmask),
854 PREAD(fan3_alarm, 2, PRI_HIGH, 0x42, 0, 0x01, 4, bitmask),
855 PREAD(fan4_alarm, 3, PRI_HIGH, 0x42, 0, 0x01, 5, bitmask),
876 PREAD(temp1_alarm, 0, PRI_HIGH, 0x41, 0, 0x01, 4, bitmask),
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/phydm/rtl8821c/
H A Dphydm_regconfig8821c.c138 void odm_config_bb_agc_8821c(struct dm_struct *dm, u32 addr, u32 bitmask, in odm_config_bb_agc_8821c() argument
148 bitmask, in odm_config_bb_agc_8821c()
152 odm_set_bb_reg(dm, addr, bitmask, data); in odm_config_bb_agc_8821c()
159 u32 tx_num, u32 addr, u32 bitmask, u32 data) in odm_config_bb_phy_reg_pg_8821c() argument
162 phy_store_tx_power_by_rate(dm->adapter, band, rf_path, tx_num, addr, bitmask, data); in odm_config_bb_phy_reg_pg_8821c()
164 PHY_StoreTxPowerByRate(dm->adapter, band, rf_path, tx_num, addr, bitmask, data); in odm_config_bb_phy_reg_pg_8821c()
169 addr, bitmask, data); in odm_config_bb_phy_reg_pg_8821c()
172 void odm_config_bb_phy_8821c(struct dm_struct *dm, u32 addr, u32 bitmask, in odm_config_bb_phy_8821c() argument
191 bitmask, in odm_config_bb_phy_8821c()
199 bitmask, in odm_config_bb_phy_8821c()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/phydm/rtl8821c/
H A Dphydm_regconfig8821c.c137 void odm_config_bb_agc_8821c(struct dm_struct *dm, u32 addr, u32 bitmask, in odm_config_bb_agc_8821c() argument
147 bitmask, in odm_config_bb_agc_8821c()
151 odm_set_bb_reg(dm, addr, bitmask, data); in odm_config_bb_agc_8821c()
158 u32 tx_num, u32 addr, u32 bitmask, u32 data) in odm_config_bb_phy_reg_pg_8821c() argument
161 phy_store_tx_power_by_rate(dm->adapter, band, rf_path, tx_num, addr, bitmask, data); in odm_config_bb_phy_reg_pg_8821c()
163 PHY_StoreTxPowerByRate(dm->adapter, band, rf_path, tx_num, addr, bitmask, data); in odm_config_bb_phy_reg_pg_8821c()
168 addr, bitmask, data); in odm_config_bb_phy_reg_pg_8821c()
171 void odm_config_bb_phy_8821c(struct dm_struct *dm, u32 addr, u32 bitmask, in odm_config_bb_phy_8821c() argument
190 bitmask, in odm_config_bb_phy_8821c()
198 bitmask, in odm_config_bb_phy_8821c()
[all …]
/OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/include/
H A Dhal_intf.h244 u32 (*read_bbreg)(struct adapter *padapter, u32 RegAddr, u32 BitMask);
245 void (*write_bbreg)(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data);
246 u32 (*read_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask);
247 void (*write_rfreg)(struct adapter *padapter, u8 eRFPath, u32 RegAddr, u32 BitMask, u32 Data);
367 u32 rtw_hal_read_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask);
368 void rtw_hal_write_bbreg(struct adapter *padapter, u32 RegAddr, u32 BitMask, u32 Data);
369 u32 rtw_hal_read_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask);
370 void rtw_hal_write_rfreg(struct adapter *padapter, u32 eRFPath, u32 RegAddr, u32 BitMask, u32 Data);
372 #define PHY_QueryBBReg(Adapter, RegAddr, BitMask) rtw_hal_read_bbreg((Adapter), (RegAddr), (BitMask argument
373 #define PHY_SetBBReg(Adapter, RegAddr, BitMask, Data) rtw_hal_write_bbreg((Adapter), (RegAddr), (Bi… argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/phydm/rtl8822c/
H A Dphydm_regconfig8822c.c136 void odm_config_bb_agc_8822c(struct dm_struct *dm, u32 addr, u32 bitmask, in odm_config_bb_agc_8822c() argument
144 bitmask, (enum rf_path)0, 0); in odm_config_bb_agc_8822c()
146 odm_set_bb_reg(dm, addr, bitmask, data); in odm_config_bb_agc_8822c()
153 u32 tx_num, u32 addr, u32 bitmask, u32 data) in odm_config_bb_phy_reg_pg_8822c() argument
164 addr, bitmask, data); in odm_config_bb_phy_reg_pg_8822c()
167 bitmask, data); in odm_config_bb_phy_reg_pg_8822c()
171 "===> config_bb: [PHY_REG] %08X %08X %08X\n", addr, bitmask, in odm_config_bb_phy_reg_pg_8822c()
175 void odm_config_bb_phy_8822c(struct dm_struct *dm, u32 addr, u32 bitmask, in odm_config_bb_phy_8822c() argument
192 addr, data, bitmask, in odm_config_bb_phy_8822c()
198 addr, data, bitmask, in odm_config_bb_phy_8822c()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/phydm/rtl8822b/
H A Dphydm_regconfig8822b.c158 void odm_config_bb_agc_8822b(struct dm_struct *dm, u32 addr, u32 bitmask, in odm_config_bb_agc_8822b() argument
168 bitmask, in odm_config_bb_agc_8822b()
172 odm_set_bb_reg(dm, addr, bitmask, data); in odm_config_bb_agc_8822b()
179 u32 tx_num, u32 addr, u32 bitmask, u32 data) in odm_config_bb_phy_reg_pg_8822b() argument
189 phy_store_tx_power_by_rate(dm->adapter, band, rf_path, tx_num, addr, bitmask, data); in odm_config_bb_phy_reg_pg_8822b()
191 PHY_StoreTxPowerByRate(dm->adapter, band, rf_path, tx_num, addr, bitmask, data); in odm_config_bb_phy_reg_pg_8822b()
194 "===> config_bb: [PHY_REG] %08X %08X %08X\n", addr, bitmask, in odm_config_bb_phy_reg_pg_8822b()
198 void odm_config_bb_phy_8822b(struct dm_struct *dm, u32 addr, u32 bitmask, in odm_config_bb_phy_8822b() argument
217 bitmask, in odm_config_bb_phy_8822b()
225 bitmask, in odm_config_bb_phy_8822b()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/
H A Dhal_btcoex_wifionly.c68 void halwifionly_bitmaskwrite1byte(PVOID pwifionlyContext, u32 regAddr, u8 bitMask, u8 data) in halwifionly_bitmaskwrite1byte() argument
76 if (bitMask != 0xff) { in halwifionly_bitmaskwrite1byte()
79 if ((bitMask >> i) & 0x1) in halwifionly_bitmaskwrite1byte()
83 data = ((originalValue) & (~bitMask)) | (((data << bitShift)) & bitMask); in halwifionly_bitmaskwrite1byte()
88 …ly_phy_set_rf_reg(PVOID pwifionlyContext, enum rf_path eRFPath, u32 RegAddr, u32 BitMask, u32 Data) in halwifionly_phy_set_rf_reg() argument
93 phy_set_rf_reg(Adapter, eRFPath, RegAddr, BitMask, Data); in halwifionly_phy_set_rf_reg()
96 void halwifionly_phy_set_bb_reg(PVOID pwifionlyContext, u32 RegAddr, u32 BitMask, u32 Data) in halwifionly_phy_set_bb_reg() argument
101 phy_set_bb_reg(Adapter, RegAddr, BitMask, Data); in halwifionly_phy_set_bb_reg()
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723com/
H A Dphy_common.c12 u32 regaddr, u32 bitmask) in rtl8723_phy_query_bb_reg() argument
18 "regaddr(%#x), bitmask(%#x)\n", regaddr, bitmask); in rtl8723_phy_query_bb_reg()
20 bitshift = rtl8723_phy_calculate_bit_shift(bitmask); in rtl8723_phy_query_bb_reg()
21 returnvalue = (originalvalue & bitmask) >> bitshift; in rtl8723_phy_query_bb_reg()
24 "BBR MASK=0x%x Addr[0x%x]=0x%x\n", bitmask, in rtl8723_phy_query_bb_reg()
31 u32 bitmask, u32 data) in rtl8723_phy_set_bb_reg() argument
37 "regaddr(%#x), bitmask(%#x), data(%#x)\n", regaddr, bitmask, in rtl8723_phy_set_bb_reg()
40 if (bitmask != MASKDWORD) { in rtl8723_phy_set_bb_reg()
42 bitshift = rtl8723_phy_calculate_bit_shift(bitmask); in rtl8723_phy_set_bb_reg()
43 data = ((originalvalue & (~bitmask)) | (data << bitshift)); in rtl8723_phy_set_bb_reg()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dphy.c22 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()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dphy.c19 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()
[all …]
/OK3568_Linux_fs/kernel/arch/arm/mach-omap2/
H A Dvp.h37 * @vpconfig_erroroffset_mask: ERROROFFSET bitmask in the PRM_VP*_CONFIG reg
38 * @vpconfig_errorgain_mask: ERRORGAIN bitmask in the PRM_VP*_CONFIG reg
39 * @vpconfig_initvoltage_mask: INITVOLTAGE bitmask in the PRM_VP*_CONFIG reg
40 * @vpconfig_timeouten: TIMEOUT bitmask in the PRM_VP*_CONFIG reg
41 * @vpconfig_initvdd: INITVDD bitmask in the PRM_VP*_CONFIG reg
42 * @vpconfig_forceupdate: FORCEUPDATE bitmask in the PRM_VP*_CONFIG reg
43 * @vpconfig_vpenable: VPENABLE bitmask in the PRM_VP*_CONFIG reg
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/phydm/
H A Dphydm_interface.c159 IN u4Byte BitMask, in ODM_SetMACReg() argument
164 PHY_SetBBReg(pDM_Odm->priv, RegAddr, BitMask, Data); in ODM_SetMACReg()
167 PHY_SetBBReg(Adapter, RegAddr, BitMask, Data); in ODM_SetMACReg()
176 IN u4Byte BitMask in ODM_GetMACReg() argument
180 return PHY_QueryBBReg(pDM_Odm->priv, RegAddr, BitMask); in ODM_GetMACReg()
182 return PHY_QueryMacReg(pDM_Odm->Adapter, RegAddr, BitMask); in ODM_GetMACReg()
191 IN u4Byte BitMask, in ODM_SetBBReg() argument
196 PHY_SetBBReg(pDM_Odm->priv, RegAddr, BitMask, Data); in ODM_SetBBReg()
199 PHY_SetBBReg(Adapter, RegAddr, BitMask, Data); in ODM_SetBBReg()
208 IN u4Byte BitMask in ODM_GetBBReg() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/
H A Dhal_btcoex_wifionly.c72 void halwifionly_bitmaskwrite1byte(void *pwifionlyContext, u32 regAddr, u8 bitMask, u8 data) in halwifionly_bitmaskwrite1byte() argument
80 if (bitMask != 0xff) { in halwifionly_bitmaskwrite1byte()
83 if ((bitMask >> i) & 0x1) in halwifionly_bitmaskwrite1byte()
87 data = ((originalValue) & (~bitMask)) | (((data << bitShift)) & bitMask); in halwifionly_bitmaskwrite1byte()
92 …ly_phy_set_rf_reg(void *pwifionlyContext, enum rf_path eRFPath, u32 RegAddr, u32 BitMask, u32 Data) in halwifionly_phy_set_rf_reg() argument
97 phy_set_rf_reg(Adapter, eRFPath, RegAddr, BitMask, Data); in halwifionly_phy_set_rf_reg()
100 void halwifionly_phy_set_bb_reg(void *pwifionlyContext, u32 RegAddr, u32 BitMask, u32 Data) in halwifionly_phy_set_bb_reg() argument
105 phy_set_bb_reg(Adapter, RegAddr, BitMask, Data); in halwifionly_phy_set_bb_reg()

12345678910>>...88